Merge "Cache countable statistics to prevent multiple counting on import"
[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 if (typeof define === 'function' && define.amd) {
9 define(['moment'], factory); // AMD
10 } else if (typeof exports === 'object') {
11 module.exports = factory(require('../moment')); // Node
12 } else {
13 factory((typeof global !== 'undefined' ? global : this).moment); // node or other global
14 }
15 }(function (moment) {
16 return moment.defineLocale('eo', {
17 months : 'januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro'.split('_'),
18 monthsShort : 'jan_feb_mar_apr_maj_jun_jul_aŭg_sep_okt_nov_dec'.split('_'),
19 weekdays : 'Dimanĉo_Lundo_Mardo_Merkredo_Ĵaŭdo_Vendredo_Sabato'.split('_'),
20 weekdaysShort : 'Dim_Lun_Mard_Merk_Ĵaŭ_Ven_Sab'.split('_'),
21 weekdaysMin : 'Di_Lu_Ma_Me_Ĵa_Ve_Sa'.split('_'),
22 longDateFormat : {
23 LT : 'HH:mm',
24 LTS : 'LT:ss',
25 L : 'YYYY-MM-DD',
26 LL : 'D[-an de] MMMM, YYYY',
27 LLL : 'D[-an de] MMMM, YYYY LT',
28 LLLL : 'dddd, [la] D[-an de] MMMM, YYYY LT'
29 },
30 meridiem : function (hours, minutes, isLower) {
31 if (hours > 11) {
32 return isLower ? 'p.t.m.' : 'P.T.M.';
33 } else {
34 return isLower ? 'a.t.m.' : 'A.T.M.';
35 }
36 },
37 calendar : {
38 sameDay : '[Hodiaŭ je] LT',
39 nextDay : '[Morgaŭ je] LT',
40 nextWeek : 'dddd [je] LT',
41 lastDay : '[Hieraŭ je] LT',
42 lastWeek : '[pasinta] dddd [je] LT',
43 sameElse : 'L'
44 },
45 relativeTime : {
46 future : 'je %s',
47 past : 'antaŭ %s',
48 s : 'sekundoj',
49 m : 'minuto',
50 mm : '%d minutoj',
51 h : 'horo',
52 hh : '%d horoj',
53 d : 'tago',//ne 'diurno', ĉar estas uzita por proksimumo
54 dd : '%d tagoj',
55 M : 'monato',
56 MM : '%d monatoj',
57 y : 'jaro',
58 yy : '%d jaroj'
59 },
60 ordinalParse: /\d{1,2}a/,
61 ordinal : '%da',
62 week : {
63 dow : 1, // Monday is the first day of the week.
64 doy : 7 // The week that contains Jan 1st is the first week of the year.
65 }
66 });
67 }));