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
hu_HU.php
73 lines
| 1 | <?php |
| 2 | |
| 3 | // locale: hungarian (hu) |
| 4 | // author: David Joseph Guzsik https://github.com/seinopsys |
| 5 | |
| 6 | return array( |
| 7 | "months" => explode('_', 'január_február_március_április_május_június_július_augusztus_szeptember_október_november_december'), |
| 8 | |
| 9 | "monthsShort" => explode('_', 'jan_feb_márc_ápr_máj_jún_júl_aug_szept_okt_nov_dec'), |
| 10 | "weekdays" => explode('_', 'hétfő_kedd_szerda_csütörtök_péntek_szombat_vasárnap'), |
| 11 | "weekdaysShort" => explode('_', 'hét_kedd_sze_csüt_pén_szo_vas'), |
| 12 | "calendar" => array( |
| 13 | "sameDay" => '[ma] l[-kor]', |
| 14 | "nextDay" => '[holnap] l[-kor]', |
| 15 | "lastDay" => '[tegnap] l[-kor]', |
| 16 | "lastWeek" => function($n, $dir, \Moment\Moment $Moment){ |
| 17 | $weekEndings = explode('_','vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton'); |
| 18 | return '[múlt] [' . $weekEndings[$Moment->getDay()] . '] l[-kor]'; |
| 19 | }, |
| 20 | "sameElse" => 'l', |
| 21 | "withTime" => 'H:i[-kor]', |
| 22 | "default" => 'Y.m.d.', |
| 23 | ), |
| 24 | "relativeTime" => array( |
| 25 | "future" => '%s múlva', |
| 26 | "past" => '%s', |
| 27 | "s" => function($n, $dir){ |
| 28 | return ($dir === 'future') ? 'néhány másodperc' : 'néhány másodperce'; |
| 29 | }, |
| 30 | "ss" => function($n, $dir){ |
| 31 | return "$n " . ($dir === 'future' ? 'másodperc' : 'másodperce'); |
| 32 | }, |
| 33 | "m" => function($n, $dir){ |
| 34 | return 'egy ' . ($dir === 'future' ? 'perc' : 'perce'); |
| 35 | }, |
| 36 | "mm" => function($n, $dir){ |
| 37 | return "$n " . ($dir === 'future' ? 'perc' : 'perce'); |
| 38 | }, |
| 39 | "h" => function($n, $dir){ |
| 40 | return 'egy ' . ($dir === 'future' ? 'óra' : 'órája'); |
| 41 | }, |
| 42 | "hh" => function($n, $dir){ |
| 43 | return "$n " . ($dir === 'future' ? 'óra' : 'órája'); |
| 44 | }, |
| 45 | "d" => function($n, $dir){ |
| 46 | return 'egy ' . ($dir === 'future' ? 'nap' : 'napja'); |
| 47 | }, |
| 48 | "dd" => function($n, $dir){ |
| 49 | return "$n " . ($dir === 'future' ? 'nap' : 'napja'); |
| 50 | }, |
| 51 | "M" => function($n, $dir){ |
| 52 | return 'egy' . ($dir === 'future' ? 'hónap' : 'hónapja'); |
| 53 | }, |
| 54 | "MM" => function($n, $dir){ |
| 55 | return "$n " . ($dir === 'future' ? 'hónap' : 'hónapja'); |
| 56 | }, |
| 57 | "y" => function($n, $dir){ |
| 58 | return 'egy' . ($dir === 'future' ? 'év' : 'éve'); |
| 59 | }, |
| 60 | "yy" => function($n, $dir){ |
| 61 | return "$n " . ($dir === 'future' ? 'év' : 'éve'); |
| 62 | }, |
| 63 | ), |
| 64 | "ordinal" => function ($number) |
| 65 | { |
| 66 | return "$number."; |
| 67 | }, |
| 68 | "week" => array( |
| 69 | "dow" => 1, // Monday is the first day of the week. |
| 70 | "doy" => 7 // The week that contains Jan 1st is the first week of the year. |
| 71 | ), |
| 72 | ); |
| 73 |