| 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 |
// | |
|
|
|
17 |
// +----------------------------------------------------------------------+//
|
|
|
18 |
// $Id: de.php 110339 2003-01-04 11:55:29Z mj $
|
|
|
19 |
|
|
|
20 |
class I18N_Common_de
|
|
|
21 |
{
|
|
|
22 |
|
|
|
23 |
var $days = array( 'Sonntag' , 'Montag' , 'Dienstag' , 'Mittwoch' , 'Donnerstag' , 'Freitag' , 'Samstag' );
|
|
|
24 |
|
|
|
25 |
var $daysAbbreviated = array( 'So','Mo','Di','Mi','Do','Fr','Sa');
|
|
|
26 |
|
|
|
27 |
var $monthsAbbreviated = array( 'Jan' , 'Feb' , 'Mär' , 'Apr' , 'Mai' , 'Jun' ,'Jul' , 'Aug' , 'Sep' , 'Okt' , 'Nov' , 'Dez' );
|
|
|
28 |
|
|
|
29 |
var $months = array(
|
|
|
30 |
'Januar',
|
|
|
31 |
'Februar',
|
|
|
32 |
'März',
|
|
|
33 |
'April',
|
|
|
34 |
'Mai',
|
|
|
35 |
'Juni',
|
|
|
36 |
'Juli',
|
|
|
37 |
'August',
|
|
|
38 |
'September',
|
|
|
39 |
'Oktober',
|
|
|
40 |
'November',
|
|
|
41 |
'Dezember'
|
|
|
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 \U\h\r T O'
|
|
|
57 |
);
|
|
|
58 |
|
|
|
59 |
/**
|
|
|
60 |
* the NUMBER stuff
|
|
|
61 |
* @var array the same parameters as they have to be passed to the number_format-funciton
|
|
|
62 |
*/
|
|
|
63 |
var $numberFormat = array(
|
|
|
64 |
I18N_NUMBER_FLOAT => array('3',',','.'),
|
|
|
65 |
I18N_NUMBER_INTEGER => array('0',',','.'),
|
|
|
66 |
);
|
|
|
67 |
// var $numberFormat = '###.###,###'; this is the DecimalFormat-java style
|
|
|
68 |
|
|
|
69 |
/**
|
|
|
70 |
* @var array the first is the currency symbol, second is the international currency symbol
|
|
|
71 |
*/
|
|
|
72 |
var $currencyFormats = array(
|
|
|
73 |
// FIXXME how do we handle the euro sign here, unicode is different than the HTML representation!!!
|
|
|
74 |
// this is the unicode for it ...
|
|
|
75 |
// I18N_CURRENCY_LOCAL => array( "% \u20A0" , '2',',','.' ),
|
|
|
76 |
I18N_CURRENCY_LOCAL => array( '% €' , '2',',','.' ),
|
|
|
77 |
I18N_CURRENCY_INTERNATIONAL => array( '% Eur' , '2',',','.' ),
|
|
|
78 |
);
|
|
|
79 |
|
|
|
80 |
}
|
|
|
81 |
?>
|