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
it_IT.php
75 lines
| 1 | <?php |
| 2 | |
| 3 | // locale: italia italiano (it_IT) |
| 4 | // author: Marco Manfredini https://github.com/Manfre98 |
| 5 | |
| 6 | use Moment\Moment; |
| 7 | |
| 8 | return array( |
| 9 | "months" => explode('_', 'gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre'), |
| 10 | "monthsShort" => explode('_', 'gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic'), |
| 11 | "weekdays" => explode('_', 'lunedì_martedì_mercoledì_giovedì_venerdì_sabato_domenica'), |
| 12 | "weekdaysShort" => explode('_', 'lun_mar_mer_gio_ven_sab_dom'), |
| 13 | "calendar" => array( |
| 14 | "sameDay" => '[Oggi]', |
| 15 | "nextDay" => '[Domani]', |
| 16 | "lastDay" => '[Ieri]', |
| 17 | "lastWeek" => function (Moment $moment) { |
| 18 | switch ($moment->getWeekday()) { |
| 19 | case 7: |
| 20 | return 'l [scorsa]'; |
| 21 | default: |
| 22 | return 'l [scorso]'; |
| 23 | } |
| 24 | }, |
| 25 | "sameElse" => 'l', |
| 26 | "withTime" => function (Moment $moment) { |
| 27 | switch ($moment->getHour()) { |
| 28 | case 0: |
| 29 | return '[a] G:i'; |
| 30 | case 1: |
| 31 | return '[all\']G:i'; |
| 32 | default: |
| 33 | return '[alle] G:i'; |
| 34 | } |
| 35 | }, |
| 36 | "default" => 'd/m/Y', |
| 37 | ), |
| 38 | "relativeTime" => array( |
| 39 | "future" => 'tra %s', |
| 40 | "past" => '%s fa', |
| 41 | "s" => 'alcuni secondi', |
| 42 | "ss" => '%d secondi', |
| 43 | "m" => 'un minuto', |
| 44 | "mm" => '%d minuti', |
| 45 | "h" => 'un\'ora', |
| 46 | "hh" => '%d ore', |
| 47 | "d" => 'un giorno', |
| 48 | "dd" => '%d giorni', |
| 49 | "M" => 'un mese', |
| 50 | "MM" => '%d mesi', |
| 51 | "y" => 'un anno', |
| 52 | "yy" => '%d anni', |
| 53 | ), |
| 54 | "ordinal" => function ($number) |
| 55 | { |
| 56 | return $number . 'º'; |
| 57 | }, |
| 58 | "week" => array( |
| 59 | "dow" => 1, // Monday is the first day of the week. |
| 60 | "doy" => 4 // The week that contains Jan 4th is the first week of the year. |
| 61 | ), |
| 62 | "customFormats" => array( |
| 63 | "LT" => "G:i", // 22:00 |
| 64 | "LTS" => "G:i:s", // 22:00:00 |
| 65 | "L" => "d/m/Y", // 12/06/2010 |
| 66 | "l" => "j/n/Y", // 12/6/2010 |
| 67 | "LL" => "j F Y", // 12 giugno 2010 |
| 68 | "ll" => "j M Y", // 12 giu 2010 |
| 69 | "LLL" => "j F Y, G:i", // 12 giugno 2010, 22:00 |
| 70 | "lll" => "j M Y, G:i", // 12 giu 2010, 22:00 |
| 71 | "LLLL" => "l j F Y, G:i", // sabato 12 giugno 2010, 22:00 |
| 72 | "llll" => "D j M Y, G:i", // sab 12 giu 2010, 22:00 |
| 73 | ), |
| 74 | ); |
| 75 |