momentjs-rails 2.0.0.2 → 2.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/news.md +4 -0
- data/test/dummy/log/test.log +14 -0
- data/test/dummy/tmp/cache/assets/D1C/680/sprockets%2F16ed4d5afdb2919596e6f8790e2116c2 +0 -0
- data/test/dummy/tmp/cache/assets/D35/CA0/sprockets%2F493e64bce2d302801dc01cf7cd096a58 +0 -0
- data/test/dummy/tmp/cache/assets/D3F/5F0/sprockets%2F4a6c53eae7c6e41a69a191578bbb6417 +0 -0
- data/test/dummy/tmp/cache/assets/D58/BD0/sprockets%2F4de9ddc9b725c715a54c98697b2528fe +0 -0
- data/test/dummy/tmp/cache/assets/D75/510/sprockets%2Fe690787ac522f47a6be024bfcc1767ee +0 -0
- data/test/dummy/tmp/cache/assets/E10/250/sprockets%2Fe4badb9ddfda484eb9671bf88567be61 +0 -0
- data/test/integration/navigation_test.rb +1 -1
- data/vendor/assets/javascripts/moment.js +380 -118
- data/vendor/assets/javascripts/moment/ar-ma.js +1 -42
- data/vendor/assets/javascripts/moment/ar.js +2 -42
- data/vendor/assets/javascripts/moment/bg.js +1 -73
- data/vendor/assets/javascripts/moment/br.js +4 -0
- data/vendor/assets/javascripts/moment/ca.js +1 -53
- data/vendor/assets/javascripts/moment/cs.js +1 -142
- data/vendor/assets/javascripts/moment/cv.js +1 -47
- data/vendor/assets/javascripts/moment/da.js +1 -43
- data/vendor/assets/javascripts/moment/de.js +2 -43
- data/vendor/assets/javascripts/moment/el.js +4 -0
- data/vendor/assets/javascripts/moment/en-ca.js +1 -46
- data/vendor/assets/javascripts/moment/en-gb.js +1 -50
- data/vendor/assets/javascripts/moment/eo.js +1 -50
- data/vendor/assets/javascripts/moment/es.js +1 -53
- data/vendor/assets/javascripts/moment/et.js +1 -47
- data/vendor/assets/javascripts/moment/eu.js +1 -47
- data/vendor/assets/javascripts/moment/fa.js +4 -0
- data/vendor/assets/javascripts/moment/fi.js +1 -90
- data/vendor/assets/javascripts/moment/fr-ca.js +1 -41
- data/vendor/assets/javascripts/moment/fr.js +1 -45
- data/vendor/assets/javascripts/moment/gl.js +1 -53
- data/vendor/assets/javascripts/moment/he.js +1 -42
- data/vendor/assets/javascripts/moment/hi.js +4 -0
- data/vendor/assets/javascripts/moment/hu.js +1 -84
- data/vendor/assets/javascripts/moment/id.js +1 -53
- data/vendor/assets/javascripts/moment/is.js +1 -111
- data/vendor/assets/javascripts/moment/it.js +2 -43
- data/vendor/assets/javascripts/moment/ja.js +1 -45
- data/vendor/assets/javascripts/moment/ka.js +4 -0
- data/vendor/assets/javascripts/moment/ko.js +1 -43
- data/vendor/assets/javascripts/moment/lv.js +1 -64
- data/vendor/assets/javascripts/moment/ms-my.js +4 -0
- data/vendor/assets/javascripts/moment/nb.js +1 -43
- data/vendor/assets/javascripts/moment/ne.js +1 -92
- data/vendor/assets/javascripts/moment/nl.js +1 -54
- data/vendor/assets/javascripts/moment/nn.js +4 -0
- data/vendor/assets/javascripts/moment/pl.js +1 -76
- data/vendor/assets/javascripts/moment/pt-br.js +1 -43
- data/vendor/assets/javascripts/moment/pt.js +1 -47
- data/vendor/assets/javascripts/moment/ro.js +1 -42
- data/vendor/assets/javascripts/moment/ru.js +2 -121
- data/vendor/assets/javascripts/moment/sk.js +5 -0
- data/vendor/assets/javascripts/moment/sl.js +1 -131
- data/vendor/assets/javascripts/moment/sq.js +5 -0
- data/vendor/assets/javascripts/moment/sv.js +1 -50
- data/vendor/assets/javascripts/moment/th.js +1 -45
- data/vendor/assets/javascripts/moment/tr.js +1 -78
- data/vendor/assets/javascripts/moment/tzm-la.js +1 -42
- data/vendor/assets/javascripts/moment/tzm.js +1 -42
- data/vendor/assets/javascripts/moment/uk.js +2 -119
- data/vendor/assets/javascripts/moment/zh-cn.js +1 -55
- data/vendor/assets/javascripts/moment/zh-tw.js +1 -55
- metadata +21 -24
@@ -1,46 +1,5 @@
|
|
1
1
|
// moment.js language configuration
|
2
2
|
// language : german (de)
|
3
3
|
// author : lluchs : https://github.com/lluchs
|
4
|
-
|
5
|
-
|
6
|
-
months : "Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),
|
7
|
-
monthsShort : "Jan._Febr._Mrz._Apr._Mai_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),
|
8
|
-
weekdays : "Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),
|
9
|
-
weekdaysShort : "So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),
|
10
|
-
weekdaysMin : "So_Mo_Di_Mi_Do_Fr_Sa".split("_"),
|
11
|
-
longDateFormat : {
|
12
|
-
LT: "H:mm U\\hr",
|
13
|
-
L : "DD.MM.YYYY",
|
14
|
-
LL : "D. MMMM YYYY",
|
15
|
-
LLL : "D. MMMM YYYY LT",
|
16
|
-
LLLL : "dddd, D. MMMM YYYY LT"
|
17
|
-
},
|
18
|
-
calendar : {
|
19
|
-
sameDay: "[Heute um] LT",
|
20
|
-
sameElse: "L",
|
21
|
-
nextDay: '[Morgen um] LT',
|
22
|
-
nextWeek: 'dddd [um] LT',
|
23
|
-
lastDay: '[Gestern um] LT',
|
24
|
-
lastWeek: '[letzten] dddd [um] LT'
|
25
|
-
},
|
26
|
-
relativeTime : {
|
27
|
-
future : "in %s",
|
28
|
-
past : "vor %s",
|
29
|
-
s : "ein paar Sekunden",
|
30
|
-
m : "einer Minute",
|
31
|
-
mm : "%d Minuten",
|
32
|
-
h : "einer Stunde",
|
33
|
-
hh : "%d Stunden",
|
34
|
-
d : "einem Tag",
|
35
|
-
dd : "%d Tagen",
|
36
|
-
M : "einem Monat",
|
37
|
-
MM : "%d Monaten",
|
38
|
-
y : "einem Jahr",
|
39
|
-
yy : "%d Jahren"
|
40
|
-
},
|
41
|
-
ordinal : '%d.',
|
42
|
-
week : {
|
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
|
-
});
|
4
|
+
// author: Menelion Elensúle: https://github.com/Oire
|
5
|
+
!function(){function e(e){function t(e,t,a){var n={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?n[a][0]:n[a][1]}e.lang("de",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Apr._Mai_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),longDateFormat:{LT:"H:mm [Uhr]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY LT",LLLL:"dddd, D. MMMM YYYY LT"},calendar:{sameDay:"[Heute um] LT",sameElse:"L",nextDay:"[Morgen um] LT",nextWeek:"dddd [um] LT",lastDay:"[Gestern um] LT",lastWeek:"[letzten] dddd [um] LT"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,M:t,MM:t,y:t,yy:t},ordinal:"%d.",week:{dow:1,doy:4}})}"function"==typeof define&&define.amd&&define(["moment"],e),"undefined"!=typeof window&&window.moment&&e(window.moment)}();
|
@@ -0,0 +1,4 @@
|
|
1
|
+
// moment.js language configuration
|
2
|
+
// language : modern greek (el)
|
3
|
+
// author : Aggelos Karalias : https://github.com/mehiel
|
4
|
+
!function(){function e(e){e.lang("el",{monthsNominativeEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u039c\u03ac\u03c1\u03c4\u03b9\u03bf\u03c2_\u0391\u03c0\u03c1\u03af\u03bb\u03b9\u03bf\u03c2_\u039c\u03ac\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bd\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bb\u03b9\u03bf\u03c2_\u0391\u03cd\u03b3\u03bf\u03c5\u03c3\u03c4\u03bf\u03c2_\u03a3\u03b5\u03c0\u03c4\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u039f\u03ba\u03c4\u03ce\u03b2\u03c1\u03b9\u03bf\u03c2_\u039d\u03bf\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u0394\u03b5\u03ba\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2".split("_"),monthsGenitiveEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u039c\u03b1\u03c1\u03c4\u03af\u03bf\u03c5_\u0391\u03c0\u03c1\u03b9\u03bb\u03af\u03bf\u03c5_\u039c\u03b1\u0390\u03bf\u03c5_\u0399\u03bf\u03c5\u03bd\u03af\u03bf\u03c5_\u0399\u03bf\u03c5\u03bb\u03af\u03bf\u03c5_\u0391\u03c5\u03b3\u03bf\u03cd\u03c3\u03c4\u03bf\u03c5_\u03a3\u03b5\u03c0\u03c4\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u039f\u03ba\u03c4\u03c9\u03b2\u03c1\u03af\u03bf\u03c5_\u039d\u03bf\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u0394\u03b5\u03ba\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5".split("_"),months:function(e,t){return/D/.test(t.substring(0,t.indexOf("MMMM")))?this._monthsGenitiveEl[e.month()]:this._monthsNominativeEl[e.month()]},monthsShort:"\u0399\u03b1\u03bd_\u03a6\u03b5\u03b2_\u039c\u03b1\u03c1_\u0391\u03c0\u03c1_\u039c\u03b1\u03ca_\u0399\u03bf\u03c5\u03bd_\u0399\u03bf\u03c5\u03bb_\u0391\u03c5\u03b3_\u03a3\u03b5\u03c0_\u039f\u03ba\u03c4_\u039d\u03bf\u03b5_\u0394\u03b5\u03ba".split("_"),weekdays:"\u039a\u03c5\u03c1\u03b9\u03b1\u03ba\u03ae_\u0394\u03b5\u03c5\u03c4\u03ad\u03c1\u03b1_\u03a4\u03c1\u03af\u03c4\u03b7_\u03a4\u03b5\u03c4\u03ac\u03c1\u03c4\u03b7_\u03a0\u03ad\u03bc\u03c0\u03c4\u03b7_\u03a0\u03b1\u03c1\u03b1\u03c3\u03ba\u03b5\u03c5\u03ae_\u03a3\u03ac\u03b2\u03b2\u03b1\u03c4\u03bf".split("_"),weekdaysShort:"\u039a\u03c5\u03c1_\u0394\u03b5\u03c5_\u03a4\u03c1\u03b9_\u03a4\u03b5\u03c4_\u03a0\u03b5\u03bc_\u03a0\u03b1\u03c1_\u03a3\u03b1\u03b2".split("_"),weekdaysMin:"\u039a\u03c5_\u0394\u03b5_\u03a4\u03c1_\u03a4\u03b5_\u03a0\u03b5_\u03a0\u03b1_\u03a3\u03b1".split("_"),meridiem:function(e,t,a){return e>11?a?"\u03bc\u03bc":"\u039c\u039c":a?"\u03c0\u03bc":"\u03a0\u039c"},longDateFormat:{LT:"h:mm A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd, D MMMM YYYY LT"},calendarEl:{sameDay:"[\u03a3\u03ae\u03bc\u03b5\u03c1\u03b1 {}] LT",nextDay:"[\u0391\u03cd\u03c1\u03b9\u03bf {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[\u03a7\u03b8\u03b5\u03c2 {}] LT",lastWeek:"[\u03c4\u03b7\u03bd \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03b7] dddd [{}] LT",sameElse:"L"},calendar:function(e,t){var a=this._calendarEl[e],n=t&&t.hours();return a.replace("{}",1===n%12?"\u03c3\u03c4\u03b7":"\u03c3\u03c4\u03b9\u03c2")},relativeTime:{future:"\u03c3\u03b5 %s",past:"%s \u03c0\u03c1\u03b9\u03bd",s:"\u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",m:"\u03ad\u03bd\u03b1 \u03bb\u03b5\u03c0\u03c4\u03cc",mm:"%d \u03bb\u03b5\u03c0\u03c4\u03ac",h:"\u03bc\u03af\u03b1 \u03ce\u03c1\u03b1",hh:"%d \u03ce\u03c1\u03b5\u03c2",d:"\u03bc\u03af\u03b1 \u03bc\u03ad\u03c1\u03b1",dd:"%d \u03bc\u03ad\u03c1\u03b5\u03c2",M:"\u03ad\u03bd\u03b1\u03c2 \u03bc\u03ae\u03bd\u03b1\u03c2",MM:"%d \u03bc\u03ae\u03bd\u03b5\u03c2",y:"\u03ad\u03bd\u03b1\u03c2 \u03c7\u03c1\u03cc\u03bd\u03bf\u03c2",yy:"%d \u03c7\u03c1\u03cc\u03bd\u03b9\u03b1"},ordinal:function(e){return e+"\u03b7"},week:{dow:1,doy:4}})}"function"==typeof define&&define.amd&&define(["moment"],e),"undefined"!=typeof window&&window.moment&&e(window.moment)}();
|
@@ -1,49 +1,4 @@
|
|
1
1
|
// moment.js language configuration
|
2
2
|
// language : canadian english (en-ca)
|
3
3
|
// author : Jonathan Abourbih : https://github.com/jonbca
|
4
|
-
|
5
|
-
moment.lang('en-ca', {
|
6
|
-
months : "January_February_March_April_May_June_July_August_September_October_November_December".split("_"),
|
7
|
-
monthsShort : "Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),
|
8
|
-
weekdays : "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),
|
9
|
-
weekdaysShort : "Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),
|
10
|
-
weekdaysMin : "Su_Mo_Tu_We_Th_Fr_Sa".split("_"),
|
11
|
-
longDateFormat : {
|
12
|
-
LT : "h:mm A",
|
13
|
-
L : "YYYY-MM-DD",
|
14
|
-
LL : "D MMMM, YYYY",
|
15
|
-
LLL : "D MMMM, YYYY LT",
|
16
|
-
LLLL : "dddd, D MMMM, YYYY LT"
|
17
|
-
},
|
18
|
-
calendar : {
|
19
|
-
sameDay : '[Today at] LT',
|
20
|
-
nextDay : '[Tomorrow at] LT',
|
21
|
-
nextWeek : 'dddd [at] LT',
|
22
|
-
lastDay : '[Yesterday at] LT',
|
23
|
-
lastWeek : '[last] dddd [at] LT',
|
24
|
-
sameElse : 'L'
|
25
|
-
},
|
26
|
-
relativeTime : {
|
27
|
-
future : "in %s",
|
28
|
-
past : "%s ago",
|
29
|
-
s : "a few seconds",
|
30
|
-
m : "a minute",
|
31
|
-
mm : "%d minutes",
|
32
|
-
h : "an hour",
|
33
|
-
hh : "%d hours",
|
34
|
-
d : "a day",
|
35
|
-
dd : "%d days",
|
36
|
-
M : "a month",
|
37
|
-
MM : "%d months",
|
38
|
-
y : "a year",
|
39
|
-
yy : "%d years"
|
40
|
-
},
|
41
|
-
ordinal : function (number) {
|
42
|
-
var b = number % 10,
|
43
|
-
output = (~~ (number % 100 / 10) === 1) ? 'th' :
|
44
|
-
(b === 1) ? 'st' :
|
45
|
-
(b === 2) ? 'nd' :
|
46
|
-
(b === 3) ? 'rd' : 'th';
|
47
|
-
return number + output;
|
48
|
-
}
|
49
|
-
});
|
4
|
+
!function(){function e(e){e.lang("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",L:"YYYY-MM-DD",LL:"D MMMM, YYYY",LLL:"D MMMM, YYYY LT",LLLL:"dddd, D MMMM, YYYY LT"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},ordinal:function(e){var t=e%10,a=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+a}})}"function"==typeof define&&define.amd&&define(["moment"],e),"undefined"!=typeof window&&window.moment&&e(window.moment)}();
|
@@ -1,53 +1,4 @@
|
|
1
1
|
// moment.js language configuration
|
2
2
|
// language : great britain english (en-gb)
|
3
3
|
// author : Chris Gedrim : https://github.com/chrisgedrim
|
4
|
-
|
5
|
-
moment.lang('en-gb', {
|
6
|
-
months : "January_February_March_April_May_June_July_August_September_October_November_December".split("_"),
|
7
|
-
monthsShort : "Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),
|
8
|
-
weekdays : "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),
|
9
|
-
weekdaysShort : "Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),
|
10
|
-
weekdaysMin : "Su_Mo_Tu_We_Th_Fr_Sa".split("_"),
|
11
|
-
longDateFormat : {
|
12
|
-
LT : "h:mm A",
|
13
|
-
L : "DD/MM/YYYY",
|
14
|
-
LL : "D MMMM YYYY",
|
15
|
-
LLL : "D MMMM YYYY LT",
|
16
|
-
LLLL : "dddd, D MMMM YYYY LT"
|
17
|
-
},
|
18
|
-
calendar : {
|
19
|
-
sameDay : '[Today at] LT',
|
20
|
-
nextDay : '[Tomorrow at] LT',
|
21
|
-
nextWeek : 'dddd [at] LT',
|
22
|
-
lastDay : '[Yesterday at] LT',
|
23
|
-
lastWeek : '[last] dddd [at] LT',
|
24
|
-
sameElse : 'L'
|
25
|
-
},
|
26
|
-
relativeTime : {
|
27
|
-
future : "in %s",
|
28
|
-
past : "%s ago",
|
29
|
-
s : "a few seconds",
|
30
|
-
m : "a minute",
|
31
|
-
mm : "%d minutes",
|
32
|
-
h : "an hour",
|
33
|
-
hh : "%d hours",
|
34
|
-
d : "a day",
|
35
|
-
dd : "%d days",
|
36
|
-
M : "a month",
|
37
|
-
MM : "%d months",
|
38
|
-
y : "a year",
|
39
|
-
yy : "%d years"
|
40
|
-
},
|
41
|
-
ordinal : function (number) {
|
42
|
-
var b = number % 10,
|
43
|
-
output = (~~ (number % 100 / 10) === 1) ? 'th' :
|
44
|
-
(b === 1) ? 'st' :
|
45
|
-
(b === 2) ? 'nd' :
|
46
|
-
(b === 3) ? 'rd' : 'th';
|
47
|
-
return number + output;
|
48
|
-
},
|
49
|
-
week : {
|
50
|
-
dow : 1, // Monday is the first day of the week.
|
51
|
-
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
52
|
-
}
|
53
|
-
});
|
4
|
+
!function(){function e(e){e.lang("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd, D MMMM YYYY LT"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},ordinal:function(e){var t=e%10,a=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+a},week:{dow:1,doy:4}})}"function"==typeof define&&define.amd&&define(["moment"],e),"undefined"!=typeof window&&window.moment&&e(window.moment)}();
|
@@ -3,53 +3,4 @@
|
|
3
3
|
// author : Colin Dean : https://github.com/colindean
|
4
4
|
// komento: Mi estas malcerta se mi korekte traktis akuzativojn en tiu traduko.
|
5
5
|
// Se ne, bonvolu korekti kaj avizi min por ke mi povas lerni!
|
6
|
-
|
7
|
-
moment.lang('eo', {
|
8
|
-
months : "januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro".split("_"),
|
9
|
-
monthsShort : "jan_feb_mar_apr_maj_jun_jul_aŭg_sep_okt_nov_dec".split("_"),
|
10
|
-
weekdays : "Dimanĉo_Lundo_Mardo_Merkredo_Ĵaŭdo_Vendredo_Sabato".split("_"),
|
11
|
-
weekdaysShort : "Dim_Lun_Mard_Merk_Ĵaŭ_Ven_Sab".split("_"),
|
12
|
-
weekdaysMin : "Di_Lu_Ma_Me_Ĵa_Ve_Sa".split("_"),
|
13
|
-
longDateFormat : {
|
14
|
-
LT : "HH:mm",
|
15
|
-
L : "YYYY-MM-DD",
|
16
|
-
LL : "D-\\an \\de MMMM, YYYY",
|
17
|
-
LLL : "D-\\an \\de MMMM, YYYY LT",
|
18
|
-
LLLL : "dddd, \\l\\a D-\\an \\d\\e MMMM, YYYY LT"
|
19
|
-
},
|
20
|
-
meridiem : function (hours, minutes, isLower) {
|
21
|
-
if (hours > 11) {
|
22
|
-
return isLower ? 'p.t.m.' : 'P.T.M.';
|
23
|
-
} else {
|
24
|
-
return isLower ? 'a.t.m.' : 'A.T.M.';
|
25
|
-
}
|
26
|
-
},
|
27
|
-
calendar : {
|
28
|
-
sameDay : '[Hodiaŭ je] LT',
|
29
|
-
nextDay : '[Morgaŭ je] LT',
|
30
|
-
nextWeek : 'dddd [je] LT',
|
31
|
-
lastDay : '[Hieraŭ je] LT',
|
32
|
-
lastWeek : '[pasinta] dddd [je] LT',
|
33
|
-
sameElse : 'L'
|
34
|
-
},
|
35
|
-
relativeTime : {
|
36
|
-
future : "je %s",
|
37
|
-
past : "antaŭ %s",
|
38
|
-
s : "sekundoj",
|
39
|
-
m : "minuto",
|
40
|
-
mm : "%d minutoj",
|
41
|
-
h : "horo",
|
42
|
-
hh : "%d horoj",
|
43
|
-
d : "tago",//ne 'diurno', ĉar estas uzita por proksimumo
|
44
|
-
dd : "%d tagoj",
|
45
|
-
M : "monato",
|
46
|
-
MM : "%d monatoj",
|
47
|
-
y : "jaro",
|
48
|
-
yy : "%d jaroj"
|
49
|
-
},
|
50
|
-
ordinal : "%da",
|
51
|
-
week : {
|
52
|
-
dow : 1, // Monday is the first day of the week.
|
53
|
-
doy : 7 // The week that contains Jan 1st is the first week of the year.
|
54
|
-
}
|
55
|
-
});
|
6
|
+
!function(){function e(e){e.lang("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_a\u016dgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_a\u016dg_sep_okt_nov_dec".split("_"),weekdays:"Diman\u0109o_Lundo_Mardo_Merkredo_\u0134a\u016ddo_Vendredo_Sabato".split("_"),weekdaysShort:"Dim_Lun_Mard_Merk_\u0134a\u016d_Ven_Sab".split("_"),weekdaysMin:"Di_Lu_Ma_Me_\u0134a_Ve_Sa".split("_"),longDateFormat:{LT:"HH:mm",L:"YYYY-MM-DD",LL:"D[-an de] MMMM, YYYY",LLL:"D[-an de] MMMM, YYYY LT",LLLL:"dddd, [la] D[-an de] MMMM, YYYY LT"},meridiem:function(e,t,a){return e>11?a?"p.t.m.":"P.T.M.":a?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodia\u016d je] LT",nextDay:"[Morga\u016d je] LT",nextWeek:"dddd [je] LT",lastDay:"[Hiera\u016d je] LT",lastWeek:"[pasinta] dddd [je] LT",sameElse:"L"},relativeTime:{future:"je %s",past:"anta\u016d %s",s:"sekundoj",m:"minuto",mm:"%d minutoj",h:"horo",hh:"%d horoj",d:"tago",dd:"%d tagoj",M:"monato",MM:"%d monatoj",y:"jaro",yy:"%d jaroj"},ordinal:"%da",week:{dow:1,doy:7}})}"function"==typeof define&&define.amd&&define(["moment"],e),"undefined"!=typeof window&&window.moment&&e(window.moment)}();
|
@@ -1,56 +1,4 @@
|
|
1
1
|
// moment.js language configuration
|
2
2
|
// language : spanish (es)
|
3
3
|
// author : Julio Napurí : https://github.com/julionc
|
4
|
-
|
5
|
-
moment.lang('es', {
|
6
|
-
months : "enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),
|
7
|
-
monthsShort : "ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),
|
8
|
-
weekdays : "domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),
|
9
|
-
weekdaysShort : "dom._lun._mar._mié._jue._vie._sáb.".split("_"),
|
10
|
-
weekdaysMin : "Do_Lu_Ma_Mi_Ju_Vi_Sá".split("_"),
|
11
|
-
longDateFormat : {
|
12
|
-
LT : "H:mm",
|
13
|
-
L : "DD/MM/YYYY",
|
14
|
-
LL : "D \\de MMMM \\de YYYY",
|
15
|
-
LLL : "D \\de MMMM \\de YYYY LT",
|
16
|
-
LLLL : "dddd, D \\de MMMM \\de YYYY LT"
|
17
|
-
},
|
18
|
-
calendar : {
|
19
|
-
sameDay : function () {
|
20
|
-
return '[hoy a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
|
21
|
-
},
|
22
|
-
nextDay : function () {
|
23
|
-
return '[mañana a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
|
24
|
-
},
|
25
|
-
nextWeek : function () {
|
26
|
-
return 'dddd [a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
|
27
|
-
},
|
28
|
-
lastDay : function () {
|
29
|
-
return '[ayer a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
|
30
|
-
},
|
31
|
-
lastWeek : function () {
|
32
|
-
return '[el] dddd [pasado a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
|
33
|
-
},
|
34
|
-
sameElse : 'L'
|
35
|
-
},
|
36
|
-
relativeTime : {
|
37
|
-
future : "en %s",
|
38
|
-
past : "hace %s",
|
39
|
-
s : "unos segundos",
|
40
|
-
m : "un minuto",
|
41
|
-
mm : "%d minutos",
|
42
|
-
h : "una hora",
|
43
|
-
hh : "%d horas",
|
44
|
-
d : "un día",
|
45
|
-
dd : "%d días",
|
46
|
-
M : "un mes",
|
47
|
-
MM : "%d meses",
|
48
|
-
y : "un año",
|
49
|
-
yy : "%d años"
|
50
|
-
},
|
51
|
-
ordinal : '%dº',
|
52
|
-
week : {
|
53
|
-
dow : 1, // Monday is the first day of the week.
|
54
|
-
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
55
|
-
}
|
56
|
-
});
|
4
|
+
!function(){function e(e){e.lang("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:"ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"Do_Lu_Ma_Mi_Ju_Vi_S\xe1".split("_"),longDateFormat:{LT:"H:mm",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY LT",LLLL:"dddd, D [de] MMMM [de] YYYY LT"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},ordinal:"%d\xba",week:{dow:1,doy:4}})}"function"==typeof define&&define.amd&&define(["moment"],e),"undefined"!=typeof window&&window.moment&&e(window.moment)}();
|
@@ -1,50 +1,4 @@
|
|
1
1
|
// moment.js language configuration
|
2
2
|
// language : estonian (et)
|
3
3
|
// author : Henry Kehlmann : https://github.com/madhenry
|
4
|
-
|
5
|
-
function translateSeconds(number, withoutSuffix, key, isFuture) {
|
6
|
-
return (isFuture || withoutSuffix) ? 'paari sekundi' : 'paar sekundit';
|
7
|
-
}
|
8
|
-
|
9
|
-
moment.lang('et', {
|
10
|
-
months : "jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),
|
11
|
-
monthsShort : "jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),
|
12
|
-
weekdays : "pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev".split("_"),
|
13
|
-
weekdaysShort : "P_E_T_K_N_R_L".split("_"),
|
14
|
-
weekdaysMin : "P_E_T_K_N_R_L".split("_"),
|
15
|
-
longDateFormat : {
|
16
|
-
LT : "H:mm",
|
17
|
-
L : "DD.MM.YYYY",
|
18
|
-
LL : "D. MMMM YYYY",
|
19
|
-
LLL : "D. MMMM YYYY LT",
|
20
|
-
LLLL : "dddd, D. MMMM YYYY LT"
|
21
|
-
},
|
22
|
-
calendar : {
|
23
|
-
sameDay : '[Täna,] LT',
|
24
|
-
nextDay : '[Homme,] LT',
|
25
|
-
nextWeek : '[Järgmine] dddd LT',
|
26
|
-
lastDay : '[Eile,] LT',
|
27
|
-
lastWeek : '[Eelmine] dddd LT',
|
28
|
-
sameElse : 'L'
|
29
|
-
},
|
30
|
-
relativeTime : {
|
31
|
-
future : "%s pärast",
|
32
|
-
past : "%s tagasi",
|
33
|
-
s : translateSeconds,
|
34
|
-
m : "minut",
|
35
|
-
mm : "%d minutit",
|
36
|
-
h : "tund",
|
37
|
-
hh : "%d tundi",
|
38
|
-
d : "päev",
|
39
|
-
dd : "%d päeva",
|
40
|
-
M : "kuu",
|
41
|
-
MM : "%d kuud",
|
42
|
-
y : "aasta",
|
43
|
-
yy : "%d aastat"
|
44
|
-
},
|
45
|
-
ordinal : '%d.',
|
46
|
-
week : {
|
47
|
-
dow : 1, // Monday is the first day of the week.
|
48
|
-
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
49
|
-
}
|
50
|
-
});
|
4
|
+
!function(){function e(e){function t(e,t,a,n){return n||t?"paari sekundi":"paar sekundit"}e.lang("et",{months:"jaanuar_veebruar_m\xe4rts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_m\xe4rts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"p\xfchap\xe4ev_esmasp\xe4ev_teisip\xe4ev_kolmap\xe4ev_neljap\xe4ev_reede_laup\xe4ev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY LT",LLLL:"dddd, D. MMMM YYYY LT"},calendar:{sameDay:"[T\xe4na,] LT",nextDay:"[Homme,] LT",nextWeek:"[J\xe4rgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s p\xe4rast",past:"%s tagasi",s:t,m:"minut",mm:"%d minutit",h:"tund",hh:"%d tundi",d:"p\xe4ev",dd:"%d p\xe4eva",M:"kuu",MM:"%d kuud",y:"aasta",yy:"%d aastat"},ordinal:"%d.",week:{dow:1,doy:4}})}"function"==typeof define&&define.amd&&define(["moment"],e),"undefined"!=typeof window&&window.moment&&e(window.moment)}();
|
@@ -1,50 +1,4 @@
|
|
1
1
|
// moment.js language configuration
|
2
2
|
// language : euskara (eu)
|
3
3
|
// author : Eneko Illarramendi : https://github.com/eillarra
|
4
|
-
|
5
|
-
moment.lang('eu', {
|
6
|
-
months : "urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),
|
7
|
-
monthsShort : "urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),
|
8
|
-
weekdays : "igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),
|
9
|
-
weekdaysShort : "ig._al._ar._az._og._ol._lr.".split("_"),
|
10
|
-
weekdaysMin : "ig_al_ar_az_og_ol_lr".split("_"),
|
11
|
-
longDateFormat : {
|
12
|
-
LT : "HH:mm",
|
13
|
-
L : "YYYY-MM-DD",
|
14
|
-
LL : "YYYYko MMMMren D[a]",
|
15
|
-
LLL : "YYYYko MMMMren D[a] LT",
|
16
|
-
LLLL : "dddd, YYYYko MMMMren D[a] LT",
|
17
|
-
l : "YYYY-M-D",
|
18
|
-
ll : "YYYYko MMM D[a]",
|
19
|
-
lll : "YYYYko MMM D[a] LT",
|
20
|
-
llll : "ddd, YYYYko MMM D[a] LT"
|
21
|
-
},
|
22
|
-
calendar : {
|
23
|
-
sameDay : '[gaur] LT[etan]',
|
24
|
-
nextDay : '[bihar] LT[etan]',
|
25
|
-
nextWeek : 'dddd LT[etan]',
|
26
|
-
lastDay : '[atzo] LT[etan]',
|
27
|
-
lastWeek : '[aurreko] dddd LT[etan]',
|
28
|
-
sameElse : 'L'
|
29
|
-
},
|
30
|
-
relativeTime : {
|
31
|
-
future : "%s barru",
|
32
|
-
past : "duela %s",
|
33
|
-
s : "segundo batzuk",
|
34
|
-
m : "minutu bat",
|
35
|
-
mm : "%d minutu",
|
36
|
-
h : "ordu bat",
|
37
|
-
hh : "%d ordu",
|
38
|
-
d : "egun bat",
|
39
|
-
dd : "%d egun",
|
40
|
-
M : "hilabete bat",
|
41
|
-
MM : "%d hilabete",
|
42
|
-
y : "urte bat",
|
43
|
-
yy : "%d urte"
|
44
|
-
},
|
45
|
-
ordinal : '%d.',
|
46
|
-
week : {
|
47
|
-
dow : 1, // Monday is the first day of the week.
|
48
|
-
doy : 7 // The week that contains Jan 1st is the first week of the year.
|
49
|
-
}
|
50
|
-
});
|
4
|
+
!function(){function e(e){e.lang("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),longDateFormat:{LT:"HH:mm",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] LT",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] LT",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] LT",llll:"ddd, YYYY[ko] MMM D[a] LT"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},ordinal:"%d.",week:{dow:1,doy:7}})}"function"==typeof define&&define.amd&&define(["moment"],e),"undefined"!=typeof window&&window.moment&&e(window.moment)}();
|
@@ -0,0 +1,4 @@
|
|
1
|
+
// moment.js language configuration
|
2
|
+
// language : Persian Language
|
3
|
+
// author : Ebrahim Byagowi : https://github.com/ebraminio
|
4
|
+
!function(){function e(e){var t={1:"\u06f1",2:"\u06f2",3:"\u06f3",4:"\u06f4",5:"\u06f5",6:"\u06f6",7:"\u06f7",8:"\u06f8",9:"\u06f9",0:"\u06f0"},a={"\u06f1":"1","\u06f2":"2","\u06f3":"3","\u06f4":"4","\u06f5":"5","\u06f6":"6","\u06f7":"7","\u06f8":"8","\u06f9":"9","\u06f0":"0"};e.lang("fa",{months:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),monthsShort:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),weekdays:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysShort:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysMin:"\u06cc_\u062f_\u0633_\u0686_\u067e_\u062c_\u0634".split("_"),longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd, D MMMM YYYY LT"},meridiem:function(e){return 12>e?"\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631":"\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631"},calendar:{sameDay:"[\u0627\u0645\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",nextDay:"[\u0641\u0631\u062f\u0627 \u0633\u0627\u0639\u062a] LT",nextWeek:"dddd [\u0633\u0627\u0639\u062a] LT",lastDay:"[\u062f\u06cc\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",lastWeek:"dddd [\u067e\u06cc\u0634] [\u0633\u0627\u0639\u062a] LT",sameElse:"L"},relativeTime:{future:"\u062f\u0631 %s",past:"%s \u067e\u06cc\u0634",s:"\u0686\u0646\u062f\u06cc\u0646 \u062b\u0627\u0646\u06cc\u0647",m:"\u06cc\u06a9 \u062f\u0642\u06cc\u0642\u0647",mm:"%d \u062f\u0642\u06cc\u0642\u0647",h:"\u06cc\u06a9 \u0633\u0627\u0639\u062a",hh:"%d \u0633\u0627\u0639\u062a",d:"\u06cc\u06a9 \u0631\u0648\u0632",dd:"%d \u0631\u0648\u0632",M:"\u06cc\u06a9 \u0645\u0627\u0647",MM:"%d \u0645\u0627\u0647",y:"\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(e){return e.replace(/[\u06f0-\u06f9]/g,function(e){return a[e]}).replace(/\u060c/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"\u060c")},ordinal:"%d\u0645",week:{dow:6,doy:12}})}"function"==typeof define&&define.amd&&define(["moment"],e),"undefined"!=typeof window&&window.moment&&e(window.moment)}();
|
@@ -1,93 +1,4 @@
|
|
1
1
|
// moment.js language configuration
|
2
2
|
// language : finnish (fi)
|
3
3
|
// author : Tarmo Aidantausta : https://github.com/bleadof
|
4
|
-
|
5
|
-
var numbers_past = 'nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän'.split(' '),
|
6
|
-
numbers_future = ['nolla', 'yhden', 'kahden', 'kolmen', 'neljän', 'viiden', 'kuuden',
|
7
|
-
numbers_past[7], numbers_past[8], numbers_past[9]];
|
8
|
-
|
9
|
-
function translate(number, withoutSuffix, key, isFuture) {
|
10
|
-
var result = "";
|
11
|
-
switch (key) {
|
12
|
-
case 's':
|
13
|
-
return isFuture ? 'muutaman sekunnin' : 'muutama sekunti';
|
14
|
-
case 'm':
|
15
|
-
return isFuture ? 'minuutin' : 'minuutti';
|
16
|
-
case 'mm':
|
17
|
-
result = isFuture ? 'minuutin' : 'minuuttia';
|
18
|
-
break;
|
19
|
-
case 'h':
|
20
|
-
return isFuture ? 'tunnin' : 'tunti';
|
21
|
-
case 'hh':
|
22
|
-
result = isFuture ? 'tunnin' : 'tuntia';
|
23
|
-
break;
|
24
|
-
case 'd':
|
25
|
-
return isFuture ? 'päivän' : 'päivä';
|
26
|
-
case 'dd':
|
27
|
-
result = isFuture ? 'päivän' : 'päivää';
|
28
|
-
break;
|
29
|
-
case 'M':
|
30
|
-
return isFuture ? 'kuukauden' : 'kuukausi';
|
31
|
-
case 'MM':
|
32
|
-
result = isFuture ? 'kuukauden' : 'kuukautta';
|
33
|
-
break;
|
34
|
-
case 'y':
|
35
|
-
return isFuture ? 'vuoden' : 'vuosi';
|
36
|
-
case 'yy':
|
37
|
-
result = isFuture ? 'vuoden' : 'vuotta';
|
38
|
-
break;
|
39
|
-
}
|
40
|
-
result = verbal_number(number, isFuture) + " " + result;
|
41
|
-
return result;
|
42
|
-
}
|
43
|
-
|
44
|
-
function verbal_number(number, isFuture) {
|
45
|
-
return number < 10 ? (isFuture ? numbers_future[number] : numbers_past[number]) : number;
|
46
|
-
}
|
47
|
-
|
48
|
-
moment.lang('fi', {
|
49
|
-
months : "tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),
|
50
|
-
monthsShort : "tam_hel_maa_huh_tou_kes_hei_elo_syy_lok_mar_jou".split("_"),
|
51
|
-
weekdays : "sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),
|
52
|
-
weekdaysShort : "su_ma_ti_ke_to_pe_la".split("_"),
|
53
|
-
weekdaysMin : "su_ma_ti_ke_to_pe_la".split("_"),
|
54
|
-
longDateFormat : {
|
55
|
-
LT : "HH.mm",
|
56
|
-
L : "DD.MM.YYYY",
|
57
|
-
LL : "Do MMMM[ta] YYYY",
|
58
|
-
LLL : "Do MMMM[ta] YYYY, [klo] LT",
|
59
|
-
LLLL : "dddd, Do MMMM[ta] YYYY, [klo] LT",
|
60
|
-
l : "D.M.YYYY",
|
61
|
-
ll : "Do MMM YYYY",
|
62
|
-
lll : "Do MMM YYYY, [klo] LT",
|
63
|
-
llll : "ddd, Do MMM YYYY, [klo] LT"
|
64
|
-
},
|
65
|
-
calendar : {
|
66
|
-
sameDay : '[tänään] [klo] LT',
|
67
|
-
nextDay : '[huomenna] [klo] LT',
|
68
|
-
nextWeek : 'dddd [klo] LT',
|
69
|
-
lastDay : '[eilen] [klo] LT',
|
70
|
-
lastWeek : '[viime] dddd[na] [klo] LT',
|
71
|
-
sameElse : 'L'
|
72
|
-
},
|
73
|
-
relativeTime : {
|
74
|
-
future : "%s päästä",
|
75
|
-
past : "%s sitten",
|
76
|
-
s : translate,
|
77
|
-
m : translate,
|
78
|
-
mm : translate,
|
79
|
-
h : translate,
|
80
|
-
hh : translate,
|
81
|
-
d : translate,
|
82
|
-
dd : translate,
|
83
|
-
M : translate,
|
84
|
-
MM : translate,
|
85
|
-
y : translate,
|
86
|
-
yy : translate
|
87
|
-
},
|
88
|
-
ordinal : "%d.",
|
89
|
-
week : {
|
90
|
-
dow : 1, // Monday is the first day of the week.
|
91
|
-
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
92
|
-
}
|
93
|
-
});
|
4
|
+
!function(){function e(e){function t(e,t,n,_){var s="";switch(n){case"s":return _?"muutaman sekunnin":"muutama sekunti";case"m":return _?"minuutin":"minuutti";case"mm":s=_?"minuutin":"minuuttia";break;case"h":return _?"tunnin":"tunti";case"hh":s=_?"tunnin":"tuntia";break;case"d":return _?"p\xe4iv\xe4n":"p\xe4iv\xe4";case"dd":s=_?"p\xe4iv\xe4n":"p\xe4iv\xe4\xe4";break;case"M":return _?"kuukauden":"kuukausi";case"MM":s=_?"kuukauden":"kuukautta";break;case"y":return _?"vuoden":"vuosi";case"yy":s=_?"vuoden":"vuotta"}return s=a(e,_)+" "+s}function a(e,t){return 10>e?t?_[e]:n[e]:e}var n="nolla yksi kaksi kolme nelj\xe4 viisi kuusi seitsem\xe4n kahdeksan yhdeks\xe4n".split(" "),_=["nolla","yhden","kahden","kolmen","nelj\xe4n","viiden","kuuden",n[7],n[8],n[9]];e.lang("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kes\xe4kuu_hein\xe4kuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kes\xe4_hein\xe4_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] LT",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] LT",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] LT",llll:"ddd, Do MMM YYYY, [klo] LT"},calendar:{sameDay:"[t\xe4n\xe4\xe4n] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s p\xe4\xe4st\xe4",past:"%s sitten",s:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},ordinal:"%d.",week:{dow:1,doy:4}})}"function"==typeof define&&define.amd&&define(["moment"],e),"undefined"!=typeof window&&window.moment&&e(window.moment)}();
|