| 1 |
lars |
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 |
// | Lorenzo Alberton <l.alberton@quipo.it> |
|
|
|
17 |
// +----------------------------------------------------------------------+//
|
|
|
18 |
// $Id: it.php 110934 2003-01-07 17:36:27Z cain $
|
|
|
19 |
|
|
|
20 |
class I18N_Common_it
|
|
|
21 |
{
|
|
|
22 |
|
|
|
23 |
var $days = array('Domenica', 'Lunedì', 'Martedì', 'Mercoledì', 'Giovedì', 'Venerdì', 'Sabato');
|
|
|
24 |
|
|
|
25 |
var $daysAbbreviated = array('Dom', 'Lun', 'Mar', 'Mer', 'Gio', 'Ven', 'Sab');
|
|
|
26 |
|
|
|
27 |
var $monthsAbbreviated = array('Gen', 'Feb', 'Mar', 'Apr', 'Mag', 'Giu' ,'Lug', 'Ago', 'Set', 'Ott', 'Nov', 'Dic');
|
|
|
28 |
|
|
|
29 |
var $months = array(
|
|
|
30 |
'Gennaio',
|
|
|
31 |
'Febbraio',
|
|
|
32 |
'Marzo',
|
|
|
33 |
'Aprile',
|
|
|
34 |
'Maggio',
|
|
|
35 |
'Giugno',
|
|
|
36 |
'Luglio',
|
|
|
37 |
'Agosto',
|
|
|
38 |
'Settembre',
|
|
|
39 |
'Ottobre',
|
|
|
40 |
'Novembre',
|
|
|
41 |
'Dicembre'
|
|
|
42 |
);
|
|
|
43 |
|
|
|
44 |
var $dateFormats = array(
|
|
|
45 |
I18N_DATETIME_SHORT => 'd/m/y',
|
|
|
46 |
I18N_DATETIME_DEFAULT => 'd M Y',
|
|
|
47 |
I18N_DATETIME_MEDIUM => 'd M Y',// ???? what shall medium look like????
|
|
|
48 |
I18N_DATETIME_LONG => 'd F Y',
|
|
|
49 |
I18N_DATETIME_FULL => 'l d F Y'
|
|
|
50 |
);
|
|
|
51 |
var $timeFormats = array(
|
|
|
52 |
I18N_DATETIME_SHORT => 'H:i',
|
|
|
53 |
I18N_DATETIME_DEFAULT => 'H:i:s',
|
|
|
54 |
I18N_DATETIME_MEDIUM => 'H:i:s', // ???? what shall medium look like????
|
|
|
55 |
I18N_DATETIME_LONG => 'H:i:s T O',
|
|
|
56 |
I18N_DATETIME_FULL => 'H:i'
|
|
|
57 |
);
|
|
|
58 |
|
|
|
59 |
/**
|
|
|
60 |
* the NUMBER stuff
|
|
|
61 |
* @var array the same parameters as they have to be passed to the number_format-function
|
|
|
62 |
*/
|
|
|
63 |
var $numberFormat = array(
|
|
|
64 |
I18N_NUMBER_FLOAT => array('3',',','.'),
|
|
|
65 |
I18N_NUMBER_INTEGER => array('0',',','.'),
|
|
|
66 |
);
|
|
|
67 |
|
|
|
68 |
}
|
|
|
69 |
?>
|