I18N
[ class tree: I18N ] [ index: I18N ] [ all elements ]

Source for file pt.php

Documentation is available at pt.php

  1. <?php
  2. // +----------------------------------------------------------------------+
  3. // | PHP version 4.0                                                      |
  4. // +----------------------------------------------------------------------+
  5. // | Copyright (c) 1997, 1998, 1999, 2000, 2001, 2002, 2003 The PHP Group |
  6. // +----------------------------------------------------------------------+
  7. // | This source file is subject to version 2.0 of the PHP license,       |
  8. // | that is bundled with this package in the file LICENSE, and is        |
  9. // | available at through the world-wide-web at                           |
  10. // | http://www.php.net/license/2_02.txt.                                 |
  11. // | If you did not receive a copy of the PHP license and are unable to   |
  12. // | obtain it through the world-wide-web, please send a note to          |
  13. // | license@php.net so we can mail you a copy immediately.               |
  14. // +----------------------------------------------------------------------+
  15. // | Authors: Wolfram Kriesing <wk@visionp.de>                            |
  16. // |          Bruno Pedro <bpedro@co.sapo.pt>                             |
  17. // +----------------------------------------------------------------------+
  18. // $Id: pt.php 128185 2003-05-21 10:35:10Z cain $
  19.  
  20. class I18N_Common_pt
  21. {
  22.     var $days = array('Domingo''Segunda-feira''Quarta-feira''Quinta-feira''Sexta-feira');
  23.  
  24.     var $daysAbbreviated = array('Dom''Seg''Ter''Qua''Qui''Sex');
  25.  
  26.     var $monthsAbbreviated = array('Jan''Fev''Mar''Abr''Mai''Jun''Jul''Ago''Set''Out''Nov''Dez');
  27.  
  28.     var $months = array(
  29.                             'Janeiro',
  30.                             'Fevereiro',
  31.                             ,
  32.                             'Abril',
  33.                             'Maio',
  34.                             'Junho',
  35.                             'Julho',
  36.                             'Agosto',
  37.                             'Setembro',
  38.                             'Outubro',
  39.                             'Novembro',
  40.                             'Dezembro'
  41.                          );
  42.  
  43.     var $dateFormats = array(
  44.                             I18N_DATETIME_SHORT     =>  'd/m/y',
  45.                             I18N_DATETIME_DEFAULT   =>  'd-M-Y',
  46.                             I18N_DATETIME_MEDIUM    =>  'd-M-Y',
  47.                             I18N_DATETIME_LONG      =>  'd \d\e F \d\e Y',
  48.                             I18N_DATETIME_FULL      =>  'l, d \d\e F \d\e Y'
  49.                         );
  50.     var $timeFormats = array(
  51.                             I18N_DATETIME_SHORT     =>  'H:i',
  52.                             I18N_DATETIME_DEFAULT   =>  'H:i:s',
  53.                             I18N_DATETIME_MEDIUM    =>  'H:i:s',
  54.                             I18N_DATETIME_LONG      =>  'H:i:s T O',
  55.                             I18N_DATETIME_FULL      =>  'H:i T O'
  56.                         );
  57.  
  58.     /**
  59.      * the NUMBER stuff
  60.      * @var array the same parameters as they have to be passed to the number_format-function
  61.      */
  62.     var $numberFormat = array(
  63.                               I18N_NUMBER_FLOAT   =>  array('2',',','.'),
  64.                               I18N_NUMBER_INTEGER =>  array('0',',','.')
  65.                              );
  66. }
  67. ?>

Documentation generated on Mon, 11 Mar 2019 15:36:12 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.