cvs: pear /I18N/Common fr.php fr_FR.php
| From: | Wolfram Kriesing | Date: | Fri, 22 Nov 2002 13:56:07 +0000 |
| Subject: | cvs: pear /I18N/Common fr.php fr_FR.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-7526@lists.php.net to get a copy of this message | ||
cain Fri Nov 22 08:56:07 2002 EDT
Added files:
/pear/I18N/Common fr.php fr_FR.php
Log:
- initial commit
Index: pear/I18N/Common/fr.php
+++ pear/I18N/Common/fr.php
<?php
// +----------------------------------------------------------------------+
// | PHP version 4.0 |
// +----------------------------------------------------------------------+
// | Copyright (c) 1997, 1998, 1999, 2000, 2001, 2002 The PHP Group |
// +----------------------------------------------------------------------+
// | This source file is subject to version 2.0 of the PHP license, |
// | that is bundled with this package in the file LICENSE, and is |
// | available at through the world-wide-web at |
// | http://www.php.net/license/2_02.txt.
|
// | If you did not receive a copy of the PHP license and are unable to |
// | obtain it through the world-wide-web, please send a note to |
// | license@php.net so we can mail you a copy immediately. |
// +----------------------------------------------------------------------+
// | Authors: Wolfram Kriesing <wk@visionp.de> |
// | |
// +----------------------------------------------------------------------+//
// $Id: fr.php,v 1.1 2002/11/22 13:56:06 cain Exp $
class I18N_Common_fr
{
/* to be done!!!!
var $days = array( 'domingo' , 'lunes' , 'martes' ,
'miércoles' , 'jueves' , 'viernes' , 'sábado' );
var $daysAbbreviated = array( 'do'
,'lu','ma','mi','ju','vi','sa');
var $monthsAbbreviated = array( 'ene' , 'feb' , 'mar' ,
'abr' , 'may' , 'jun' ,'jul' , 'ago' ,
'sep' , 'oct' , 'nov' , 'dic' );
var $months = array(
'enero',
'febrero',
'marzo',
'abril',
'mayo',
'junio',
'julio',
'agosto',
'septiembre',
'octubre',
'noviembre',
'diciembre'
);
var $dateFormats = array(
I18N_DATETIME_SHORT => 'd/m/y',
I18N_DATETIME_DEFAULT => 'd-M-Y',
I18N_DATETIME_MEDIUM => 'd-M-Y',// ???? what shall
medium look like????
I18N_DATETIME_LONG => 'd F Y',
I18N_DATETIME_FULL => 'l, d \d\e F \d\e Y'
);
var $timeFormats = array(
I18N_DATETIME_SHORT => 'H:i',
I18N_DATETIME_DEFAULT => 'H:i:s',
I18N_DATETIME_MEDIUM => 'H:i:s', // ???? what shall
medium look like????
I18N_DATETIME_LONG => 'H:i:s T O',
I18N_DATETIME_FULL => 'H:i T O'
);
*/
/**
* the NUMBER stuff
* @var array the same parameters as they have to be passed to the number_format-funciton
*/
var $numberFormat = array(
I18N_NUMBER_FLOAT => array('3',',','
'),
I18N_NUMBER_INTEGER => array('0',',','
'),
);
}
?>
Index: pear/I18N/Common/fr_FR.php
+++ pear/I18N/Common/fr_FR.php
<?php
// +----------------------------------------------------------------------+
// | PHP version 4.0 |
// +----------------------------------------------------------------------+
// | Copyright (c) 1997, 1998, 1999, 2000, 2001, 2002 The PHP Group |
// +----------------------------------------------------------------------+
// | This source file is subject to version 2.0 of the PHP license, |
// | that is bundled with this package in the file LICENSE, and is |
// | available at through the world-wide-web at |
// | http://www.php.net/license/2_02.txt.
|
// | If you did not receive a copy of the PHP license and are unable to |
// | obtain it through the world-wide-web, please send a note to |
// | license@php.net so we can mail you a copy immediately. |
// +----------------------------------------------------------------------+
// | Authors: Wolfram Kriesing <wk@visionp.de> |
// | |
// +----------------------------------------------------------------------+//
// $Id: fr_FR.php,v 1.1 2002/11/22 13:56:07 cain Exp $
require_once 'I18N/Common/fr.php';
class I18N_Common_fr_FR extends I18N_Common_fr
{
/**
* the NUMBER stuff
* @var array the same parameters as they have to be passed to the number_format-funciton
*/
var $numberFormat = array(
I18N_NUMBER_FLOAT => array('3',',','
'),
I18N_NUMBER_INTEGER => array('0',',','
'),
);
/**
* @var array the first is the currency symbol, second is the international currency
symbol
*/
var $currencyFormats = array(
// FIXXME how do we handle the euro sign here, unicode is different than the HTML representation!!!
// this is the unicode for it ...
// I18N_CURRENCY_LOCAL => array( "% \u020A"
, '2',',','.' ),
I18N_CURRENCY_LOCAL => array( "%
€" , '2',',','.' ),
I18N_CURRENCY_INTERNATIONAL => array( '% Eur' ,
'2',',','.' ),
);
}
?>