Merge "Don't fallback from uk to ru"
[lhc/web/wiklou.git] / resources / lib / moment / locale / eo.js
1 // moment.js locale configuration
2 // locale : esperanto (eo)
3 // author : Colin Dean : https://github.com/colindean
4 // komento: Mi estas malcerta se mi korekte traktis akuzativojn en tiu traduko.
5 // Se ne, bonvolu korekti kaj avizi min por ke mi povas lerni!
6
7 (function (factory) {
8 // Comment out broken wrapper, see T145382
9 /*if (typeof define === 'function' && define.amd) {
10 define(['moment'], factory); // AMD
11 } else if (typeof exports === 'object') {
12 module.exports = factory(require('../moment')); // Node
13 } else {
14 factory((typeof global !== 'undefined' ? global : this).moment); // node or other global
15 }*/
16 factory(this.moment);
17 }(function (moment) {
18 return moment.defineLocale('eo', {
19 months : 'januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro'.split('_'),
20 monthsShort : 'jan_feb_mar_apr_maj_jun_jul_aŭg_sep_okt_nov_dec'.split('_'),
21 weekdays : 'Dimanĉo_Lundo_Mardo_Merkredo_Ĵaŭdo_Vendredo_Sabato'.split('_'),
22 weekdaysShort : 'Dim_Lun_Mard_Merk_Ĵaŭ_Ven_Sab'.split('_'),
23 weekdaysMin : 'Di_Lu_Ma_Me_Ĵa_Ve_Sa'.split('_'),
24 longDateFormat : {
25 LT : 'HH:mm',
26 LTS : 'LT:ss',
27 L : 'YYYY-MM-DD',
28 LL : 'D[-an de] MMMM, YYYY',
29 LLL : 'D[-an de] MMMM, YYYY LT',
30 LLLL : 'dddd, [la] D[-an de] MMMM, YYYY LT'
31 },
32 meridiem : function (hours, minutes, isLower) {
33 if (hours > 11) {
34 return isLower ? 'p.t.m.' : 'P.T.M.';
35 } else {
36 return isLower ? 'a.t.m.' : 'A.T.M.';
37 }
38 },
39 calendar : {
40 sameDay : '[Hodiaŭ je] LT',
41 nextDay : '[Morgaŭ je] LT',
42 nextWeek : 'dddd [je] LT',
43 lastDay : '[Hieraŭ je] LT',
44 lastWeek : '[pasinta] dddd [je] LT',
45 sameElse : 'L'
46 },
47 relativeTime : {
48 future : 'je %s',
49 past : 'antaŭ %s',
50 s : 'sekundoj',
51 m : 'minuto',
52 mm : '%d minutoj',
53 h : 'horo',
54 hh : '%d horoj',
55 d : 'tago',//ne 'diurno', ĉar estas uzita por proksimumo
56 dd : '%d tagoj',
57 M : 'monato',
58 MM : '%d monatoj',
59 y : 'jaro',
60 yy : '%d jaroj'
61 },
62 ordinalParse: /\d{1,2}a/,
63 ordinal : '%da',
64 week : {
65 dow : 1, // Monday is the first day of the week.
66 doy : 7 // The week that contains Jan 1st is the first week of the year.
67 }
68 });
69 }));