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.
Files changed (64) hide show
  1. checksums.yaml +7 -0
  2. data/news.md +4 -0
  3. data/test/dummy/log/test.log +14 -0
  4. data/test/dummy/tmp/cache/assets/D1C/680/sprockets%2F16ed4d5afdb2919596e6f8790e2116c2 +0 -0
  5. data/test/dummy/tmp/cache/assets/D35/CA0/sprockets%2F493e64bce2d302801dc01cf7cd096a58 +0 -0
  6. data/test/dummy/tmp/cache/assets/D3F/5F0/sprockets%2F4a6c53eae7c6e41a69a191578bbb6417 +0 -0
  7. data/test/dummy/tmp/cache/assets/D58/BD0/sprockets%2F4de9ddc9b725c715a54c98697b2528fe +0 -0
  8. data/test/dummy/tmp/cache/assets/D75/510/sprockets%2Fe690787ac522f47a6be024bfcc1767ee +0 -0
  9. data/test/dummy/tmp/cache/assets/E10/250/sprockets%2Fe4badb9ddfda484eb9671bf88567be61 +0 -0
  10. data/test/integration/navigation_test.rb +1 -1
  11. data/vendor/assets/javascripts/moment.js +380 -118
  12. data/vendor/assets/javascripts/moment/ar-ma.js +1 -42
  13. data/vendor/assets/javascripts/moment/ar.js +2 -42
  14. data/vendor/assets/javascripts/moment/bg.js +1 -73
  15. data/vendor/assets/javascripts/moment/br.js +4 -0
  16. data/vendor/assets/javascripts/moment/ca.js +1 -53
  17. data/vendor/assets/javascripts/moment/cs.js +1 -142
  18. data/vendor/assets/javascripts/moment/cv.js +1 -47
  19. data/vendor/assets/javascripts/moment/da.js +1 -43
  20. data/vendor/assets/javascripts/moment/de.js +2 -43
  21. data/vendor/assets/javascripts/moment/el.js +4 -0
  22. data/vendor/assets/javascripts/moment/en-ca.js +1 -46
  23. data/vendor/assets/javascripts/moment/en-gb.js +1 -50
  24. data/vendor/assets/javascripts/moment/eo.js +1 -50
  25. data/vendor/assets/javascripts/moment/es.js +1 -53
  26. data/vendor/assets/javascripts/moment/et.js +1 -47
  27. data/vendor/assets/javascripts/moment/eu.js +1 -47
  28. data/vendor/assets/javascripts/moment/fa.js +4 -0
  29. data/vendor/assets/javascripts/moment/fi.js +1 -90
  30. data/vendor/assets/javascripts/moment/fr-ca.js +1 -41
  31. data/vendor/assets/javascripts/moment/fr.js +1 -45
  32. data/vendor/assets/javascripts/moment/gl.js +1 -53
  33. data/vendor/assets/javascripts/moment/he.js +1 -42
  34. data/vendor/assets/javascripts/moment/hi.js +4 -0
  35. data/vendor/assets/javascripts/moment/hu.js +1 -84
  36. data/vendor/assets/javascripts/moment/id.js +1 -53
  37. data/vendor/assets/javascripts/moment/is.js +1 -111
  38. data/vendor/assets/javascripts/moment/it.js +2 -43
  39. data/vendor/assets/javascripts/moment/ja.js +1 -45
  40. data/vendor/assets/javascripts/moment/ka.js +4 -0
  41. data/vendor/assets/javascripts/moment/ko.js +1 -43
  42. data/vendor/assets/javascripts/moment/lv.js +1 -64
  43. data/vendor/assets/javascripts/moment/ms-my.js +4 -0
  44. data/vendor/assets/javascripts/moment/nb.js +1 -43
  45. data/vendor/assets/javascripts/moment/ne.js +1 -92
  46. data/vendor/assets/javascripts/moment/nl.js +1 -54
  47. data/vendor/assets/javascripts/moment/nn.js +4 -0
  48. data/vendor/assets/javascripts/moment/pl.js +1 -76
  49. data/vendor/assets/javascripts/moment/pt-br.js +1 -43
  50. data/vendor/assets/javascripts/moment/pt.js +1 -47
  51. data/vendor/assets/javascripts/moment/ro.js +1 -42
  52. data/vendor/assets/javascripts/moment/ru.js +2 -121
  53. data/vendor/assets/javascripts/moment/sk.js +5 -0
  54. data/vendor/assets/javascripts/moment/sl.js +1 -131
  55. data/vendor/assets/javascripts/moment/sq.js +5 -0
  56. data/vendor/assets/javascripts/moment/sv.js +1 -50
  57. data/vendor/assets/javascripts/moment/th.js +1 -45
  58. data/vendor/assets/javascripts/moment/tr.js +1 -78
  59. data/vendor/assets/javascripts/moment/tzm-la.js +1 -42
  60. data/vendor/assets/javascripts/moment/tzm.js +1 -42
  61. data/vendor/assets/javascripts/moment/uk.js +2 -119
  62. data/vendor/assets/javascripts/moment/zh-cn.js +1 -55
  63. data/vendor/assets/javascripts/moment/zh-tw.js +1 -55
  64. metadata +21 -24
@@ -1,46 +1,4 @@
1
1
  // moment.js language configuration
2
2
  // language : brazilian portuguese (pt-br)
3
3
  // author : Caio Ribeiro Pereira : https://github.com/caio-ribeiro-pereira
4
-
5
- moment.lang('pt-br', {
6
- months : "Janeiro_Fevereiro_Março_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro".split("_"),
7
- monthsShort : "Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),
8
- weekdays : "Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado".split("_"),
9
- weekdaysShort : "Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),
10
- weekdaysMin : "Dom_2ª_3ª_4ª_5ª_6ª_Sáb".split("_"),
11
- longDateFormat : {
12
- LT : "HH: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: '[Hoje às] LT',
20
- nextDay: '[Amanhã às] LT',
21
- nextWeek: 'dddd [às] LT',
22
- lastDay: '[Ontem às] LT',
23
- lastWeek: function () {
24
- return (this.day() === 0 || this.day() === 6) ?
25
- '[Último] dddd [às] LT' : // Saturday + Sunday
26
- '[Última] dddd [às] LT'; // Monday - Friday
27
- },
28
- sameElse: 'L'
29
- },
30
- relativeTime : {
31
- future : "em %s",
32
- past : "%s atrás",
33
- s : "segundos",
34
- m : "um minuto",
35
- mm : "%d minutos",
36
- h : "uma hora",
37
- hh : "%d horas",
38
- d : "um dia",
39
- dd : "%d dias",
40
- M : "um mês",
41
- MM : "%d meses",
42
- y : "um ano",
43
- yy : "%d anos"
44
- },
45
- ordinal : '%dº'
46
- });
4
+ !function(){function e(e){e.lang("pt-br",{months:"Janeiro_Fevereiro_Mar\xe7o_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingo_Segunda-feira_Ter\xe7a-feira_Quarta-feira_Quinta-feira_Sexta-feira_S\xe1bado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_S\xe1b".split("_"),weekdaysMin:"Dom_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_S\xe1b".split("_"),longDateFormat:{LT:"HH: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:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"%s atr\xe1s",s:"segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},ordinal:"%d\xba"})}"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 : portuguese (pt)
3
3
  // author : Jefferson : https://github.com/jalex79
4
-
5
- moment.lang('pt', {
6
- months : "Janeiro_Fevereiro_Março_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro".split("_"),
7
- monthsShort : "Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),
8
- weekdays : "Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado".split("_"),
9
- weekdaysShort : "Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),
10
- weekdaysMin : "Dom_2ª_3ª_4ª_5ª_6ª_Sáb".split("_"),
11
- longDateFormat : {
12
- LT : "HH: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: '[Hoje às] LT',
20
- nextDay: '[Amanhã às] LT',
21
- nextWeek: 'dddd [às] LT',
22
- lastDay: '[Ontem às] LT',
23
- lastWeek: function () {
24
- return (this.day() === 0 || this.day() === 6) ?
25
- '[Último] dddd [às] LT' : // Saturday + Sunday
26
- '[Última] dddd [às] LT'; // Monday - Friday
27
- },
28
- sameElse: 'L'
29
- },
30
- relativeTime : {
31
- future : "em %s",
32
- past : "%s atrás",
33
- s : "segundos",
34
- m : "um minuto",
35
- mm : "%d minutos",
36
- h : "uma hora",
37
- hh : "%d horas",
38
- d : "um dia",
39
- dd : "%d dias",
40
- M : "um mês",
41
- MM : "%d meses",
42
- y : "um ano",
43
- yy : "%d anos"
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){e.lang("pt",{months:"Janeiro_Fevereiro_Mar\xe7o_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingo_Segunda-feira_Ter\xe7a-feira_Quarta-feira_Quinta-feira_Sexta-feira_S\xe1bado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_S\xe1b".split("_"),weekdaysMin:"Dom_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_S\xe1b".split("_"),longDateFormat:{LT:"HH: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:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"%s atr\xe1s",s:"segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},ordinal:"%d\xba",week:{dow:1,doy:4}})}"function"==typeof define&&define.amd&&define(["moment"],e),"undefined"!=typeof window&&window.moment&&e(window.moment)}();
@@ -2,45 +2,4 @@
2
2
  // language : romanian (ro)
3
3
  // author : Vlad Gurdiga : https://github.com/gurdiga
4
4
  // author : Valentin Agachi : https://github.com/avaly
5
-
6
- moment.lang('ro', {
7
- months : "Ianuarie_Februarie_Martie_Aprilie_Mai_Iunie_Iulie_August_Septembrie_Octombrie_Noiembrie_Decembrie".split("_"),
8
- monthsShort : "Ian_Feb_Mar_Apr_Mai_Iun_Iul_Aug_Sep_Oct_Noi_Dec".split("_"),
9
- weekdays : "Duminică_Luni_Marţi_Miercuri_Joi_Vineri_Sâmbătă".split("_"),
10
- weekdaysShort : "Dum_Lun_Mar_Mie_Joi_Vin_Sâm".split("_"),
11
- weekdaysMin : "Du_Lu_Ma_Mi_Jo_Vi_Sâ".split("_"),
12
- longDateFormat : {
13
- LT : "H:mm",
14
- L : "DD/MM/YYYY",
15
- LL : "D MMMM YYYY",
16
- LLL : "D MMMM YYYY H:mm",
17
- LLLL : "dddd, D MMMM YYYY H:mm"
18
- },
19
- calendar : {
20
- sameDay: "[azi la] LT",
21
- nextDay: '[mâine la] LT',
22
- nextWeek: 'dddd [la] LT',
23
- lastDay: '[ieri la] LT',
24
- lastWeek: '[fosta] dddd [la] LT',
25
- sameElse: 'L'
26
- },
27
- relativeTime : {
28
- future : "peste %s",
29
- past : "%s în urmă",
30
- s : "câteva secunde",
31
- m : "un minut",
32
- mm : "%d minute",
33
- h : "o oră",
34
- hh : "%d ore",
35
- d : "o zi",
36
- dd : "%d zile",
37
- M : "o lună",
38
- MM : "%d luni",
39
- y : "un an",
40
- yy : "%d ani"
41
- },
42
- week : {
43
- dow : 1, // Monday is the first day of the week.
44
- doy : 7 // The week that contains Jan 1st is the first week of the year.
45
- }
46
- });
5
+ !function(){function e(e){e.lang("ro",{months:"Ianuarie_Februarie_Martie_Aprilie_Mai_Iunie_Iulie_August_Septembrie_Octombrie_Noiembrie_Decembrie".split("_"),monthsShort:"Ian_Feb_Mar_Apr_Mai_Iun_Iul_Aug_Sep_Oct_Noi_Dec".split("_"),weekdays:"Duminic\u0103_Luni_Mar\u0163i_Miercuri_Joi_Vineri_S\xe2mb\u0103t\u0103".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_S\xe2m".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_S\xe2".split("_"),longDateFormat:{LT:"H:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[m\xe2ine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s \xeen urm\u0103",s:"c\xe2teva secunde",m:"un minut",mm:"%d minute",h:"o or\u0103",hh:"%d ore",d:"o zi",dd:"%d zile",M:"o lun\u0103",MM:"%d luni",y:"un an",yy:"%d ani"},week:{dow:1,doy:7}})}"function"==typeof define&&define.amd&&define(["moment"],e),"undefined"!=typeof window&&window.moment&&e(window.moment)}();
@@ -1,124 +1,5 @@
1
1
  // moment.js language configuration
2
2
  // language : russian (ru)
3
3
  // author : Viktorminator : https://github.com/Viktorminator
4
-
5
- var pluralRules = [
6
- function (n) { return ((n % 10 === 1) && (n % 100 !== 11)); },
7
- function (n) { return ((n % 10) >= 2 && (n % 10) <= 4 && ((n % 10) % 1) === 0) && ((n % 100) < 12 || (n % 100) > 14); },
8
- function (n) { return ((n % 10) === 0 || ((n % 10) >= 5 && (n % 10) <= 9 && ((n % 10) % 1) === 0) || ((n % 100) >= 11 && (n % 100) <= 14 && ((n % 100) % 1) === 0)); },
9
- function (n) { return true; }
10
- ];
11
-
12
- function plural(word, num) {
13
- var forms = word.split('_'),
14
- minCount = Math.min(pluralRules.length, forms.length),
15
- i = -1;
16
-
17
- while (++i < minCount) {
18
- if (pluralRules[i](num)) {
19
- return forms[i];
20
- }
21
- }
22
- return forms[minCount - 1];
23
- }
24
-
25
- function relativeTimeWithPlural(number, withoutSuffix, key) {
26
- var format = {
27
- 'mm': 'минута_минуты_минут_минуты',
28
- 'hh': 'час_часа_часов_часа',
29
- 'dd': 'день_дня_дней_дня',
30
- 'MM': 'месяц_месяца_месяцев_месяца',
31
- 'yy': 'год_года_лет_года'
32
- };
33
- if (key === 'm') {
34
- return withoutSuffix ? 'минута' : 'минуту';
35
- }
36
- else {
37
- return number + ' ' + plural(format[key], +number);
38
- }
39
- }
40
-
41
- function monthsCaseReplace(m, format) {
42
- var months = {
43
- 'nominative': 'январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь'.split('_'),
44
- 'accusative': 'января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря'.split('_')
45
- },
46
-
47
- nounCase = (/D[oD]? *MMMM?/).test(format) ?
48
- 'accusative' :
49
- 'nominative';
50
-
51
- return months[nounCase][m.month()];
52
- }
53
-
54
- function weekdaysCaseReplace(m, format) {
55
- var weekdays = {
56
- 'nominative': 'воскресенье_понедельник_вторник_среда_четверг_пятница_суббота'.split('_'),
57
- 'accusative': 'воскресенье_понедельник_вторник_среду_четверг_пятницу_субботу'.split('_')
58
- },
59
-
60
- nounCase = (/\[ ?[Вв] ?(?:прошлую|следующую)? ?\] ?dddd/).test(format) ?
61
- 'accusative' :
62
- 'nominative';
63
-
64
- return weekdays[nounCase][m.day()];
65
- }
66
-
67
- moment.lang('ru', {
68
- months : monthsCaseReplace,
69
- monthsShort : "янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),
70
- weekdays : weekdaysCaseReplace,
71
- weekdaysShort : "вск_пнд_втр_срд_чтв_птн_сбт".split("_"),
72
- weekdaysMin : "вс_пн_вт_ср_чт_пт_сб".split("_"),
73
- longDateFormat : {
74
- LT : "HH:mm",
75
- L : "DD.MM.YYYY",
76
- LL : "D MMMM YYYY г.",
77
- LLL : "D MMMM YYYY г., LT",
78
- LLLL : "dddd, D MMMM YYYY г., LT"
79
- },
80
- calendar : {
81
- sameDay: '[Сегодня в] LT',
82
- nextDay: '[Завтра в] LT',
83
- lastDay: '[Вчера в] LT',
84
- nextWeek: function () {
85
- return this.day() === 2 ? '[Во] dddd [в] LT' : '[В] dddd [в] LT';
86
- },
87
- lastWeek: function () {
88
- switch (this.day()) {
89
- case 0:
90
- return '[В прошлое] dddd [в] LT';
91
- case 1:
92
- case 2:
93
- case 4:
94
- return '[В прошлый] dddd [в] LT';
95
- case 3:
96
- case 5:
97
- case 6:
98
- return '[В прошлую] dddd [в] LT';
99
- }
100
- },
101
- sameElse: 'L'
102
- },
103
- // It needs checking (adding) russian plurals and cases.
104
- relativeTime : {
105
- future : "через %s",
106
- past : "%s назад",
107
- s : "несколько секунд",
108
- m : relativeTimeWithPlural,
109
- mm : relativeTimeWithPlural,
110
- h : "час",
111
- hh : relativeTimeWithPlural,
112
- d : "день",
113
- dd : relativeTimeWithPlural,
114
- M : "месяц",
115
- MM : relativeTimeWithPlural,
116
- y : "год",
117
- yy : relativeTimeWithPlural
118
- },
119
- ordinal : '%d.',
120
- week : {
121
- dow : 1, // Monday is the first day of the week.
122
- doy : 7 // The week that contains Jan 1st is the first week of the year.
123
- }
124
- });
4
+ // Author : Menelion Elensúle : https://github.com/Oire
5
+ !function(){function e(e){function t(e,t){var n=e.split("_");return 1===t%10&&11!==t%100?n[0]:t%10>=2&&4>=t%10&&(10>t%100||t%100>=20)?n[1]:n[2]}function n(e,n,a){var _={mm:"\u043c\u0438\u043d\u0443\u0442\u0430_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442",hh:"\u0447\u0430\u0441_\u0447\u0430\u0441\u0430_\u0447\u0430\u0441\u043e\u0432",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u044f_\u0434\u043d\u0435\u0439",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u0430_\u043c\u0435\u0441\u044f\u0446\u0435\u0432",yy:"\u0433\u043e\u0434_\u0433\u043e\u0434\u0430_\u043b\u0435\u0442"};return"m"===a?n?"\u043c\u0438\u043d\u0443\u0442\u0430":"\u043c\u0438\u043d\u0443\u0442\u0443":e+" "+t(_[a],+e)}function a(e,t){var n={nominative:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_"),accusative:"\u044f\u043d\u0432\u0430\u0440\u044f_\u0444\u0435\u0432\u0440\u0430\u043b\u044f_\u043c\u0430\u0440\u0442\u0430_\u0430\u043f\u0440\u0435\u043b\u044f_\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433\u0443\u0441\u0442\u0430_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044f_\u043e\u043a\u0442\u044f\u0431\u0440\u044f_\u043d\u043e\u044f\u0431\u0440\u044f_\u0434\u0435\u043a\u0430\u0431\u0440\u044f".split("_")},a=/D[oD]? *MMMM?/.test(t)?"accusative":"nominative";return n[a][e.month()]}function _(e,t){var n={nominative:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0430_\u0441\u0443\u0431\u0431\u043e\u0442\u0430".split("_"),accusative:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0443_\u0441\u0443\u0431\u0431\u043e\u0442\u0443".split("_")},a=/\[ ?[\u0412\u0432] ?(?:\u043f\u0440\u043e\u0448\u043b\u0443\u044e|\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e)? ?\] ?dddd/.test(t)?"accusative":"nominative";return n[a][e.day()]}e.lang("ru",{months:a,monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:_,weekdaysShort:"\u0432\u0441\u043a_\u043f\u043d\u0434_\u0432\u0442\u0440_\u0441\u0440\u0434_\u0447\u0442\u0432_\u043f\u0442\u043d_\u0441\u0431\u0442".split("_"),weekdaysMin:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., LT",LLLL:"dddd, D MMMM YYYY \u0433., LT"},calendar:{sameDay:"[\u0421\u0435\u0433\u043e\u0434\u043d\u044f \u0432] LT",nextDay:"[\u0417\u0430\u0432\u0442\u0440\u0430 \u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432] LT",nextWeek:function(){return 2===this.day()?"[\u0412\u043e] dddd [\u0432] LT":"[\u0412] dddd [\u0432] LT"},lastWeek:function(){switch(this.day()){case 0:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u043e\u0435] dddd [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u044b\u0439] dddd [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u0443\u044e] dddd [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0447\u0435\u0440\u0435\u0437 %s",past:"%s \u043d\u0430\u0437\u0430\u0434",s:"\u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434",m:n,mm:n,h:"\u0447\u0430\u0441",hh:n,d:"\u0434\u0435\u043d\u044c",dd:n,M:"\u043c\u0435\u0441\u044f\u0446",MM:n,y:"\u0433\u043e\u0434",yy:n},ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":return e+"-\u0439";case"D":return e+"-\u0433\u043e";case"w":case"W":return e+"-\u044f";default:return e}},week:{dow:1,doy:7}})}"function"==typeof define&&define.amd&&define(["moment"],e),"undefined"!=typeof window&&window.moment&&e(window.moment)}();
@@ -0,0 +1,5 @@
1
+ // moment.js language configuration
2
+ // language : slovak (sk)
3
+ // author : Martin Minka : https://github.com/k2s
4
+ // based on work of petrbela : https://github.com/petrbela
5
+ !function(){function e(e){function t(e){return e>1&&5>e}function n(e,n,a,_){var d=e+" ";switch(a){case"s":return n||_?"p\xe1r sek\xfand":"p\xe1r sekundami";case"m":return n?"min\xfata":_?"min\xfatu":"min\xfatou";case"mm":return n||_?d+(t(e)?"min\xfaty":"min\xfat"):d+"min\xfatami";break;case"h":return n?"hodina":_?"hodinu":"hodinou";case"hh":return n||_?d+(t(e)?"hodiny":"hod\xedn"):d+"hodinami";break;case"d":return n||_?"de\u0148":"d\u0148om";case"dd":return n||_?d+(t(e)?"dni":"dn\xed"):d+"d\u0148ami";break;case"M":return n||_?"mesiac":"mesiacom";case"MM":return n||_?d+(t(e)?"mesiace":"mesiacov"):d+"mesiacmi";break;case"y":return n||_?"rok":"rokom";case"yy":return n||_?d+(t(e)?"roky":"rokov"):d+"rokmi"}}var a="janu\xe1r_febru\xe1r_marec_apr\xedl_m\xe1j_j\xfan_j\xfal_august_september_okt\xf3ber_november_december".split("_"),_="jan_feb_mar_apr_m\xe1j_j\xfan_j\xfal_aug_sep_okt_nov_dec".split("_");e.lang("sk",{months:a,monthsShort:_,monthsParse:function(e,t){var n,a=[];for(n=0;12>n;n++)a[n]=new RegExp("^"+e[n]+"$|^"+t[n]+"$","i");return a}(a,_),weekdays:"nede\u013ea_pondelok_utorok_streda_\u0161tvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_\u0161t_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_\u0161t_pi_so".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:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nede\u013eu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo \u0161tvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[v\u010dera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minul\xfa nede\u013eu o] LT";case 1:case 2:return"[minul\xfd] dddd [o] LT";case 3:return"[minul\xfa stredu o] LT";case 4:case 5:return"[minul\xfd] dddd [o] LT";case 6:return"[minul\xfa sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},ordinal:"%d.",week:{dow:1,doy:4}})}"function"==typeof define&&define.amd&&define(["moment"],e),"undefined"!=typeof window&&window.moment&&e(window.moment)}();
@@ -1,134 +1,4 @@
1
1
  // moment.js language configuration
2
2
  // language : slovenian (sl)
3
3
  // author : Robert Sedovšek : https://github.com/sedovsek
4
-
5
- function translate(number, withoutSuffix, key) {
6
- var result = number + " ";
7
- switch (key) {
8
- case 'm':
9
- return withoutSuffix ? 'ena minuta' : 'eno minuto';
10
- case 'mm':
11
- if (number === 1) {
12
- result += 'minuta';
13
- } else if (number === 2) {
14
- result += 'minuti';
15
- } else if (number === 3 || number === 4) {
16
- result += 'minute';
17
- } else {
18
- result += 'minut';
19
- }
20
- return result;
21
- case 'h':
22
- return withoutSuffix ? 'ena ura' : 'eno uro';
23
- case 'hh':
24
- if (number === 1) {
25
- result += 'ura';
26
- } else if (number === 2) {
27
- result += 'uri';
28
- } else if (number === 3 || number === 4) {
29
- result += 'ure';
30
- } else {
31
- result += 'ur';
32
- }
33
- return result;
34
- case 'dd':
35
- if (number === 1) {
36
- result += 'dan';
37
- } else {
38
- result += 'dni';
39
- }
40
- return result;
41
- case 'MM':
42
- if (number === 1) {
43
- result += 'mesec';
44
- } else if (number === 2) {
45
- result += 'meseca';
46
- } else if (number === 3 || number === 4) {
47
- result += 'mesece';
48
- } else {
49
- result += 'mesecev';
50
- }
51
- return result;
52
- case 'yy':
53
- if (number === 1) {
54
- result += 'leto';
55
- } else if (number === 2) {
56
- result += 'leti';
57
- } else if (number === 3 || number === 4) {
58
- result += 'leta';
59
- } else {
60
- result += 'let';
61
- }
62
- return result;
63
- }
64
- }
65
-
66
- moment.lang('sl', {
67
- months : "januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),
68
- monthsShort : "jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),
69
- weekdays : "nedelja_ponedeljek_torek_sreda_četrtek_petek_sobota".split("_"),
70
- weekdaysShort : "ned._pon._tor._sre._čet._pet._sob.".split("_"),
71
- weekdaysMin : "ne_po_to_sr_če_pe_so".split("_"),
72
- longDateFormat : {
73
- LT : "H:mm",
74
- L : "DD. MM. YYYY",
75
- LL : "D. MMMM YYYY",
76
- LLL : "D. MMMM YYYY LT",
77
- LLLL : "dddd, D. MMMM YYYY LT"
78
- },
79
- calendar : {
80
- sameDay : '[danes ob] LT',
81
- nextDay : '[jutri ob] LT',
82
-
83
- nextWeek : function () {
84
- switch (this.day()) {
85
- case 0:
86
- return '[v] [nedeljo] [ob] LT';
87
- case 3:
88
- return '[v] [sredo] [ob] LT';
89
- case 6:
90
- return '[v] [soboto] [ob] LT';
91
- case 1:
92
- case 2:
93
- case 4:
94
- case 5:
95
- return '[v] dddd [ob] LT';
96
- }
97
- },
98
- lastDay : '[včeraj ob] LT',
99
- lastWeek : function () {
100
- switch (this.day()) {
101
- case 0:
102
- case 3:
103
- case 6:
104
- return '[prejšnja] dddd [ob] LT';
105
- case 1:
106
- case 2:
107
- case 4:
108
- case 5:
109
- return '[prejšnji] dddd [ob] LT';
110
- }
111
- },
112
- sameElse : 'L'
113
- },
114
- relativeTime : {
115
- future : "čez %s",
116
- past : "%s nazaj",
117
- s : "nekaj sekund",
118
- m : translate,
119
- mm : translate,
120
- h : translate,
121
- hh : translate,
122
- d : "en dan",
123
- dd : translate,
124
- M : "en mesec",
125
- MM : translate,
126
- y : "eno leto",
127
- yy : translate
128
- },
129
- ordinal : '%d.',
130
- week : {
131
- dow : 1, // Monday is the first day of the week.
132
- doy : 7 // The week that contains Jan 1st is the first week of the year.
133
- }
134
- });
4
+ !function(){function e(e){function n(e,n,t){var a=e+" ";switch(t){case"m":return n?"ena minuta":"eno minuto";case"mm":return a+=1===e?"minuta":2===e?"minuti":3===e||4===e?"minute":"minut";case"h":return n?"ena ura":"eno uro";case"hh":return a+=1===e?"ura":2===e?"uri":3===e||4===e?"ure":"ur";case"dd":return a+=1===e?"dan":"dni";case"MM":return a+=1===e?"mesec":2===e?"meseca":3===e||4===e?"mesece":"mesecev";case"yy":return a+=1===e?"leto":2===e?"leti":3===e||4===e?"leta":"let"}}e.lang("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),weekdays:"nedelja_ponedeljek_torek_sreda_\u010detrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._\u010det._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_\u010de_pe_so".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:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[v\u010deraj ob] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[prej\u0161nja] dddd [ob] LT";case 1:case 2:case 4:case 5:return"[prej\u0161nji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"\u010dez %s",past:"%s nazaj",s:"nekaj sekund",m:n,mm:n,h:n,hh:n,d:"en dan",dd:n,M:"en mesec",MM:n,y:"eno leto",yy:n},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,5 @@
1
+ // moment.js language configuration
2
+ // language : Albanian (sq)
3
+ // author : Flakërim Ismani : https://github.com/flakerimi
4
+ // author: Menelion Elensúle: https://github.com/Oire (tests)
5
+ !function(){function e(e){e.lang("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_N\xebntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_N\xebn_Dhj".split("_"),weekdays:"E Diel_E H\xebn\xeb_E Marte_E M\xebrkure_E Enjte_E Premte_E Shtun\xeb".split("_"),weekdaysShort:"Die_H\xebn_Mar_M\xebr_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_M\xeb_E_P_Sh".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:"[Sot n\xeb] LT",nextDay:"[Neser n\xeb] LT",nextWeek:"dddd [n\xeb] LT",lastDay:"[Dje n\xeb] LT",lastWeek:"dddd [e kaluar n\xeb] LT",sameElse:"L"},relativeTime:{future:"n\xeb %s",past:"%s me par\xeb",s:"disa seconda",m:"nj\xeb minut",mm:"%d minutea",h:"nj\xeb or\xeb",hh:"%d or\xeb",d:"nj\xeb dit\xeb",dd:"%d dit\xeb",M:"nj\xeb muaj",MM:"%d muaj",y:"nj\xeb vit",yy:"%d vite"},ordinal:"%d.",week:{dow:1,doy:4}})}"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 : swedish (sv)
3
3
  // author : Jens Alm : https://github.com/ulmus
4
-
5
- moment.lang('sv', {
6
- months : "januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),
7
- monthsShort : "jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),
8
- weekdays : "söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag".split("_"),
9
- weekdaysShort : "sön_mån_tis_ons_tor_fre_lör".split("_"),
10
- weekdaysMin : "sö_må_ti_on_to_fr_lö".split("_"),
11
- longDateFormat : {
12
- LT : "HH:mm",
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: '[Idag klockan] LT',
20
- nextDay: '[Imorgon klockan] LT',
21
- lastDay: '[Igår klockan] LT',
22
- nextWeek: 'dddd [klockan] LT',
23
- lastWeek: '[Förra] dddd[en klockan] LT',
24
- sameElse: 'L'
25
- },
26
- relativeTime : {
27
- future : "om %s",
28
- past : "för %s sedan",
29
- s : "några sekunder",
30
- m : "en minut",
31
- mm : "%d minuter",
32
- h : "en timme",
33
- hh : "%d timmar",
34
- d : "en dag",
35
- dd : "%d dagar",
36
- M : "en månad",
37
- MM : "%d månader",
38
- y : "ett år",
39
- yy : "%d år"
40
- },
41
- ordinal : function (number) {
42
- var b = number % 10,
43
- output = (~~ (number % 100 / 10) === 1) ? 'e' :
44
- (b === 1) ? 'a' :
45
- (b === 2) ? 'a' :
46
- (b === 3) ? 'e' : 'e';
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("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf6ndag_m\xe5ndag_tisdag_onsdag_torsdag_fredag_l\xf6rdag".split("_"),weekdaysShort:"s\xf6n_m\xe5n_tis_ons_tor_fre_l\xf6r".split("_"),weekdaysMin:"s\xf6_m\xe5_ti_on_to_fr_l\xf6".split("_"),longDateFormat:{LT:"HH:mm",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd D MMMM YYYY LT"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Ig\xe5r] LT",nextWeek:"dddd LT",lastWeek:"[F\xf6rra] dddd[en] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"f\xf6r %s sedan",s:"n\xe5gra sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en m\xe5nad",MM:"%d m\xe5nader",y:"ett \xe5r",yy:"%d \xe5r"},ordinal:function(e){var n=e%10,t=1===~~(e%100/10)?"e":1===n?"a":2===n?"a":3===n?"e":"e";return e+t},week:{dow:1,doy:4}})}"function"==typeof define&&define.amd&&define(["moment"],e),"undefined"!=typeof window&&window.moment&&e(window.moment)}();