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
ca_ES.php
66 lines
| 1 | <?php |
| 2 | |
| 3 | // locale: Catalan (ca_ES) |
| 4 | // author: CROWD Studio https://github.com/crowd-studio |
| 5 | |
| 6 | use Moment\Moment; |
| 7 | |
| 8 | return array( |
| 9 | "months" => explode('_', 'gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre'), |
| 10 | "monthsShort" => explode('_', 'gen._febr._mar._abr._mai._jun._jul._ag._set._oct._nov._des.'), |
| 11 | "weekdays" => explode('_', 'dilluns_dimarts_dimecres_dijous_divendres_dissabte_diumenge'), |
| 12 | "weekdaysShort" => explode('_', 'dl._dt._dc._dj._dv._ds._dg.'), |
| 13 | "calendar" => array( |
| 14 | "sameDay" => '[avui]', |
| 15 | "nextDay" => '[demà]', |
| 16 | "lastDay" => '[ahir]', |
| 17 | "lastWeek" => '[el] l', |
| 18 | "sameElse" => 'l', |
| 19 | "withTime" => function (Moment $moment) { return '[a' . ($moment->getHour() != 1 ? ' les ' : ' l\'') . ']G.i [h]'; }, |
| 20 | "default" => 'd/m/Y', |
| 21 | ), |
| 22 | "relativeTime" => array( |
| 23 | "future" => 'en %s', |
| 24 | "past" => 'fa %s', |
| 25 | "s" => 'uns segons', |
| 26 | "ss" => '%d segons', |
| 27 | "m" => 'un minut', |
| 28 | "mm" => '%d minuts', |
| 29 | "h" => 'una hora', |
| 30 | "hh" => '%d hores', |
| 31 | "d" => 'un dia', |
| 32 | "dd" => '%d dies', |
| 33 | "M" => 'un mes', |
| 34 | "MM" => '%d mesos', |
| 35 | "y" => 'un any', |
| 36 | "yy" => '%d anys', |
| 37 | ), |
| 38 | "ordinal" => function ($number) |
| 39 | { |
| 40 | |
| 41 | switch ($number) { |
| 42 | case 1: |
| 43 | $output = 'r'; |
| 44 | break; |
| 45 | case 2: |
| 46 | $output = 'n'; |
| 47 | break; |
| 48 | case 3: |
| 49 | $output = 'r'; |
| 50 | break; |
| 51 | case 4: |
| 52 | $output = 't'; |
| 53 | break; |
| 54 | default: |
| 55 | $output = 'è'; |
| 56 | break; |
| 57 | } |
| 58 | |
| 59 | return $number . '[' . $output . ']'; |
| 60 | }, |
| 61 | "week" => array( |
| 62 | "dow" => 1, // Monday is the first day of the week. |
| 63 | "doy" => 4 // The week that contains Jan 4th is the first week of the year. |
| 64 | ), |
| 65 | ); |
| 66 |