ar_TN.php
6 years ago
ca_ES.php
6 years ago
cs_CZ.php
6 years ago
da_DK.php
6 years ago
de_DE.php
6 years ago
en_GB.php
6 years ago
en_US.php
6 years ago
es_ES.php
6 years ago
fr_FR.php
6 years ago
hu_HU.php
6 years ago
id_ID.php
6 years ago
it_IT.php
6 years ago
ja_JP.php
6 years ago
ko_KR.php
6 years ago
lv_LV.php
6 years ago
nl_NL.php
6 years ago
no_NO.php
6 years ago
oc_LNC.php
6 years ago
pl_PL.php
6 years ago
pt_BR.php
6 years ago
pt_PT.php
6 years ago
ro_RO.php
6 years ago
ru_RU.php
6 years ago
se_SV.php
6 years ago
th_TH.php
6 years ago
tr_TR.php
6 years ago
uk_UA.php
6 years ago
vi_VN.php
6 years ago
zh_CN.php
6 years ago
zh_TW.php
6 years ago
zh_CN.php
77 lines
| 1 | <?php |
| 2 | |
| 3 | // locale: chinese (zh-cn) |
| 4 | // author: suupic https://github.com/suupic |
| 5 | // author: Zeno Zeng https://github.com/zenozeng |
| 6 | // author: Senorsen https://github.com/Senorsen |
| 7 | // author: Tino Ehrich https://github.com/fightbulc |
| 8 | |
| 9 | return array( |
| 10 | "months" => explode('_', '一月_二月_三月_四月_五月_� |
| 11 | �月_七月_� |
| 12 | �月_九月_十月_十一月_十二月'), |
| 13 | "monthsShort" => explode('_', '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'), |
| 14 | "weekdays" => explode('_', '星期一_星期二_星期三_星期四_星期五_星期� |
| 15 | �_星期日'), |
| 16 | "weekdaysShort" => explode('_', '周一_周二_周三_周四_周五_周� |
| 17 | �_周日'), |
| 18 | "weekdaysMin" => explode('_', '一_二_三_四_五_� |
| 19 | �_日'), |
| 20 | "calendar" => array( |
| 21 | "sameDay" => '[今天]', |
| 22 | "nextDay" => '[明天]', |
| 23 | "lastDay" => '[昨天]', |
| 24 | "lastWeek" => '[上]D', |
| 25 | "sameElse" => '[本]D', |
| 26 | "withTime" => 'H:i', |
| 27 | "default" => 'Y-m-d', |
| 28 | ), |
| 29 | "relativeTime" => array( |
| 30 | "future" => '%s� |
| 31 | ', |
| 32 | "past" => '%s前', |
| 33 | "s" => '几秒', |
| 34 | "ss" => '%d秒', |
| 35 | "m" => '1分钟', |
| 36 | "mm" => '%d分钟', |
| 37 | "h" => '1小时', |
| 38 | "hh" => '%d小时', |
| 39 | "d" => '1天', |
| 40 | "dd" => '%d天', |
| 41 | "M" => '1个月', |
| 42 | "MM" => '%d个月', |
| 43 | "y" => '1年', |
| 44 | "yy" => '%d年', |
| 45 | ), |
| 46 | "ordinal" => function ($number, $token) |
| 47 | { |
| 48 | $symbol = null; |
| 49 | |
| 50 | switch ($token) |
| 51 | { |
| 52 | case 'd': |
| 53 | case 'w': |
| 54 | $symbol = '[日]'; |
| 55 | break; |
| 56 | |
| 57 | case 'n': |
| 58 | $symbol = '[月]'; |
| 59 | break; |
| 60 | |
| 61 | case 'W': |
| 62 | $symbol = '[周]'; |
| 63 | break; |
| 64 | |
| 65 | default: |
| 66 | } |
| 67 | |
| 68 | return $number . $symbol; |
| 69 | }, |
| 70 | "week" => array( |
| 71 | // GB/T 7408-1994《数据� |
| 72 | �和交换格式·信息交换·日期和时间表示法》与ISO 8601:1988等效 |
| 73 | "dow" => 1, // Monday is the first day of the week. |
| 74 | "doy" => 4 // The week that contains Jan 4th is the first week of the year. |
| 75 | ), |
| 76 | ); |
| 77 |