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
es_ES.php
47 lines
| 1 | <?php |
| 2 | |
| 3 | // locale: spanish (es) |
| 4 | // author: Julio Napurí https://github.com/julionc |
| 5 | |
| 6 | use Moment\Moment; |
| 7 | |
| 8 | return array( |
| 9 | "months" => explode('_', 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'), |
| 10 | "monthsShort" => explode('_', 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'), |
| 11 | "weekdays" => explode('_', 'lunes_martes_miércoles_jueves_viernes_sábado_domingo'), |
| 12 | "weekdaysShort" => explode('_', 'lun._mar._mié._jue._vie._sáb._dom.'), |
| 13 | "calendar" => array( |
| 14 | "sameDay" => '[hoy]', |
| 15 | "nextDay" => '[mañana]', |
| 16 | "lastDay" => '[ayer]', |
| 17 | "lastWeek" => '[el] l', |
| 18 | "sameElse" => 'l', |
| 19 | "withTime" => function (Moment $moment) { return '[a la' . ($moment->getHour() != 1 ? 's' : null) . '] G:i [h]'; }, |
| 20 | "default" => 'd/m/Y', |
| 21 | ), |
| 22 | "relativeTime" => array( |
| 23 | "future" => 'en %s', |
| 24 | "past" => 'hace %s', |
| 25 | "s" => 'unos segundos', |
| 26 | "ss" => '%d segundos', |
| 27 | "m" => 'un minuto', |
| 28 | "mm" => '%d minutos', |
| 29 | "h" => 'una hora', |
| 30 | "hh" => '%d horas', |
| 31 | "d" => 'un día', |
| 32 | "dd" => '%d días', |
| 33 | "M" => 'un mes', |
| 34 | "MM" => '%d meses', |
| 35 | "y" => 'un año', |
| 36 | "yy" => '%d años', |
| 37 | ), |
| 38 | "ordinal" => function ($number) |
| 39 | { |
| 40 | return $number . 'º'; |
| 41 | }, |
| 42 | "week" => array( |
| 43 | "dow" => 1, // Monday is the first day of the week. |
| 44 | "doy" => 4 // The week that contains Jan 4th is the first week of the year. |
| 45 | ), |
| 46 | ); |
| 47 |