parent
60da282ddb
commit
12cd5ac6f1
File diff suppressed because one or more lines are too long
@ -0,0 +1,59 @@ |
||||
//! moment.js locale configuration
|
||||
//! locale : Arabic (Kuwait) [ar-kw]
|
||||
//! author : Nusret Parlak: https://github.com/nusretparlak
|
||||
|
||||
;(function (global, factory) { |
||||
typeof exports === 'object' && typeof module !== 'undefined' |
||||
&& typeof require === 'function' ? factory(require('../moment')) : |
||||
typeof define === 'function' && define.amd ? define(['../moment'], factory) : |
||||
factory(global.moment) |
||||
}(this, (function (moment) { 'use strict'; |
||||
|
||||
|
||||
var arKw = moment.defineLocale('ar-kw', { |
||||
months : 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split('_'), |
||||
monthsShort : 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split('_'), |
||||
weekdays : 'الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'), |
||||
weekdaysShort : 'احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت'.split('_'), |
||||
weekdaysMin : 'ح_ن_ث_ر_خ_ج_س'.split('_'), |
||||
weekdaysParseExact : true, |
||||
longDateFormat : { |
||||
LT : 'HH:mm', |
||||
LTS : 'HH:mm:ss', |
||||
L : 'DD/MM/YYYY', |
||||
LL : 'D MMMM YYYY', |
||||
LLL : 'D MMMM YYYY HH:mm', |
||||
LLLL : 'dddd D MMMM YYYY HH:mm' |
||||
}, |
||||
calendar : { |
||||
sameDay: '[اليوم على الساعة] LT', |
||||
nextDay: '[غدا على الساعة] LT', |
||||
nextWeek: 'dddd [على الساعة] LT', |
||||
lastDay: '[أمس على الساعة] LT', |
||||
lastWeek: 'dddd [على الساعة] LT', |
||||
sameElse: 'L' |
||||
}, |
||||
relativeTime : { |
||||
future : 'في %s', |
||||
past : 'منذ %s', |
||||
s : 'ثوان', |
||||
m : 'دقيقة', |
||||
mm : '%d دقائق', |
||||
h : 'ساعة', |
||||
hh : '%d ساعات', |
||||
d : 'يوم', |
||||
dd : '%d أيام', |
||||
M : 'شهر', |
||||
MM : '%d أشهر', |
||||
y : 'سنة', |
||||
yy : '%d سنوات' |
||||
}, |
||||
week : { |
||||
dow : 0, // Sunday is the first day of the week.
|
||||
doy : 12 // The week that contains Jan 1st is the first week of the year.
|
||||
} |
||||
}); |
||||
|
||||
return arKw; |
||||
|
||||
}))); |
@ -0,0 +1,78 @@ |
||||
//! moment.js locale configuration
|
||||
//! locale : German (Switzerland) [de-ch]
|
||||
//! author : sschueller : https://github.com/sschueller
|
||||
|
||||
;(function (global, factory) { |
||||
typeof exports === 'object' && typeof module !== 'undefined' |
||||
&& typeof require === 'function' ? factory(require('../moment')) : |
||||
typeof define === 'function' && define.amd ? define(['../moment'], factory) : |
||||
factory(global.moment) |
||||
}(this, (function (moment) { 'use strict'; |
||||
|
||||
|
||||
// based on: https://www.bk.admin.ch/dokumentation/sprachen/04915/05016/index.html?lang=de#
|
||||
|
||||
function processRelativeTime(number, withoutSuffix, key, isFuture) { |
||||
var format = { |
||||
'm': ['eine Minute', 'einer Minute'], |
||||
'h': ['eine Stunde', 'einer Stunde'], |
||||
'd': ['ein Tag', 'einem Tag'], |
||||
'dd': [number + ' Tage', number + ' Tagen'], |
||||
'M': ['ein Monat', 'einem Monat'], |
||||
'MM': [number + ' Monate', number + ' Monaten'], |
||||
'y': ['ein Jahr', 'einem Jahr'], |
||||
'yy': [number + ' Jahre', number + ' Jahren'] |
||||
}; |
||||
return withoutSuffix ? format[key][0] : format[key][1]; |
||||
} |
||||
|
||||
var deCh = moment.defineLocale('de-ch', { |
||||
months : 'Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split('_'), |
||||
monthsShort : 'Jan._Febr._März_April_Mai_Juni_Juli_Aug._Sept._Okt._Nov._Dez.'.split('_'), |
||||
monthsParseExact : true, |
||||
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('_'), |
||||
weekdaysParseExact : true, |
||||
longDateFormat : { |
||||
LT: 'HH.mm', |
||||
LTS: 'HH.mm.ss', |
||||
L : 'DD.MM.YYYY', |
||||
LL : 'D. MMMM YYYY', |
||||
LLL : 'D. MMMM YYYY HH.mm', |
||||
LLLL : 'dddd, D. MMMM YYYY HH.mm' |
||||
}, |
||||
calendar : { |
||||
sameDay: '[heute um] LT [Uhr]', |
||||
sameElse: 'L', |
||||
nextDay: '[morgen um] LT [Uhr]', |
||||
nextWeek: 'dddd [um] LT [Uhr]', |
||||
lastDay: '[gestern um] LT [Uhr]', |
||||
lastWeek: '[letzten] dddd [um] LT [Uhr]' |
||||
}, |
||||
relativeTime : { |
||||
future : 'in %s', |
||||
past : 'vor %s', |
||||
s : 'ein paar Sekunden', |
||||
m : processRelativeTime, |
||||
mm : '%d Minuten', |
||||
h : processRelativeTime, |
||||
hh : '%d Stunden', |
||||
d : processRelativeTime, |
||||
dd : processRelativeTime, |
||||
M : processRelativeTime, |
||||
MM : processRelativeTime, |
||||
y : processRelativeTime, |
||||
yy : processRelativeTime |
||||
}, |
||||
dayOfMonthOrdinalParse: /\d{1,2}\./, |
||||
ordinal : '%d.', |
||||
week : { |
||||
dow : 1, // Monday is the first day of the week.
|
||||
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
||||
} |
||||
}); |
||||
|
||||
return deCh; |
||||
|
||||
}))); |
@ -0,0 +1,122 @@ |
||||
//! moment.js locale configuration
|
||||
//! locale : Konkani Latin script [gom-latn]
|
||||
//! author : The Discoverer : https://github.com/WikiDiscoverer
|
||||
|
||||
;(function (global, factory) { |
||||
typeof exports === 'object' && typeof module !== 'undefined' |
||||
&& typeof require === 'function' ? factory(require('../moment')) : |
||||
typeof define === 'function' && define.amd ? define(['../moment'], factory) : |
||||
factory(global.moment) |
||||
}(this, (function (moment) { 'use strict'; |
||||
|
||||
|
||||
function processRelativeTime(number, withoutSuffix, key, isFuture) { |
||||
var format = { |
||||
's': ['thodde secondanim', 'thodde second'], |
||||
'm': ['eka mintan', 'ek minute'], |
||||
'mm': [number + ' mintanim', number + ' mintam'], |
||||
'h': ['eka horan', 'ek hor'], |
||||
'hh': [number + ' horanim', number + ' hor'], |
||||
'd': ['eka disan', 'ek dis'], |
||||
'dd': [number + ' disanim', number + ' dis'], |
||||
'M': ['eka mhoinean', 'ek mhoino'], |
||||
'MM': [number + ' mhoineanim', number + ' mhoine'], |
||||
'y': ['eka vorsan', 'ek voros'], |
||||
'yy': [number + ' vorsanim', number + ' vorsam'] |
||||
}; |
||||
return withoutSuffix ? format[key][0] : format[key][1]; |
||||
} |
||||
|
||||
var gomLatn = moment.defineLocale('gom-latn', { |
||||
months : 'Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr'.split('_'), |
||||
monthsShort : 'Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.'.split('_'), |
||||
monthsParseExact : true, |
||||
weekdays : 'Aitar_Somar_Mongllar_Budvar_Brestar_Sukrar_Son\'var'.split('_'), |
||||
weekdaysShort : 'Ait._Som._Mon._Bud._Bre._Suk._Son.'.split('_'), |
||||
weekdaysMin : 'Ai_Sm_Mo_Bu_Br_Su_Sn'.split('_'), |
||||
weekdaysParseExact : true, |
||||
longDateFormat : { |
||||
LT : 'A h:mm [vazta]', |
||||
LTS : 'A h:mm:ss [vazta]', |
||||
L : 'DD-MM-YYYY', |
||||
LL : 'D MMMM YYYY', |
||||
LLL : 'D MMMM YYYY A h:mm [vazta]', |
||||
LLLL : 'dddd, MMMM[achea] Do, YYYY, A h:mm [vazta]', |
||||
llll: 'ddd, D MMM YYYY, A h:mm [vazta]' |
||||
}, |
||||
calendar : { |
||||
sameDay: '[Aiz] LT', |
||||
nextDay: '[Faleam] LT', |
||||
nextWeek: '[Ieta to] dddd[,] LT', |
||||
lastDay: '[Kal] LT', |
||||
lastWeek: '[Fatlo] dddd[,] LT', |
||||
sameElse: 'L' |
||||
}, |
||||
relativeTime : { |
||||
future : '%s', |
||||
past : '%s adim', |
||||
s : processRelativeTime, |
||||
m : processRelativeTime, |
||||
mm : processRelativeTime, |
||||
h : processRelativeTime, |
||||
hh : processRelativeTime, |
||||
d : processRelativeTime, |
||||
dd : processRelativeTime, |
||||
M : processRelativeTime, |
||||
MM : processRelativeTime, |
||||
y : processRelativeTime, |
||||
yy : processRelativeTime |
||||
}, |
||||
dayOfMonthOrdinalParse : /\d{1,2}(er)/, |
||||
ordinal : function (number, period) { |
||||
switch (period) { |
||||
// the ordinal 'er' only applies to day of the month
|
||||
case 'D': |
||||
return number + 'er'; |
||||
default: |
||||
case 'M': |
||||
case 'Q': |
||||
case 'DDD': |
||||
case 'd': |
||||
case 'w': |
||||
case 'W': |
||||
return number; |
||||
} |
||||
}, |
||||
week : { |
||||
dow : 1, // Monday is the first day of the week.
|
||||
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
||||
}, |
||||
meridiemParse: /rati|sokalli|donparam|sanje/, |
||||
meridiemHour : function (hour, meridiem) { |
||||
if (hour === 12) { |
||||
hour = 0; |
||||
} |
||||
if (meridiem === 'rati') { |
||||
return hour < 4 ? hour : hour + 12; |
||||
} else if (meridiem === 'sokalli') { |
||||
return hour; |
||||
} else if (meridiem === 'donparam') { |
||||
return hour > 12 ? hour : hour + 12; |
||||
} else if (meridiem === 'sanje') { |
||||
return hour + 12; |
||||
} |
||||
}, |
||||
meridiem : function (hour, minute, isLower) { |
||||
if (hour < 4) { |
||||
return 'rati'; |
||||
} else if (hour < 12) { |
||||
return 'sokalli'; |
||||
} else if (hour < 16) { |
||||
return 'donparam'; |
||||
} else if (hour < 20) { |
||||
return 'sanje'; |
||||
} else { |
||||
return 'rati'; |
||||
} |
||||
} |
||||
}); |
||||
|
||||
return gomLatn; |
||||
|
||||
}))); |
@ -0,0 +1,99 @@ |
||||
//! moment.js locale configuration
|
||||
//! locale : Urdu [ur]
|
||||
//! author : Sawood Alam : https://github.com/ibnesayeed
|
||||
//! author : Zack : https://github.com/ZackVision
|
||||
|
||||
;(function (global, factory) { |
||||
typeof exports === 'object' && typeof module !== 'undefined' |
||||
&& typeof require === 'function' ? factory(require('../moment')) : |
||||
typeof define === 'function' && define.amd ? define(['../moment'], factory) : |
||||
factory(global.moment) |
||||
}(this, (function (moment) { 'use strict'; |
||||
|
||||
|
||||
var months = [ |
||||
'جنوری', |
||||
'فروری', |
||||
'مارچ', |
||||
'اپریل', |
||||
'مئی', |
||||
'جون', |
||||
'جولائی', |
||||
'اگست', |
||||
'ستمبر', |
||||
'اکتوبر', |
||||
'نومبر', |
||||
'دسمبر' |
||||
]; |
||||
var days = [ |
||||
'اتوار', |
||||
'پیر', |
||||
'منگل', |
||||
'بدھ', |
||||
'جمعرات', |
||||
'جمعہ', |
||||
'ہفتہ' |
||||
]; |
||||
|
||||
var ur = moment.defineLocale('ur', { |
||||
months : months, |
||||
monthsShort : months, |
||||
weekdays : days, |
||||
weekdaysShort : days, |
||||
weekdaysMin : days, |
||||
longDateFormat : { |
||||
LT : 'HH:mm', |
||||
LTS : 'HH:mm:ss', |
||||
L : 'DD/MM/YYYY', |
||||
LL : 'D MMMM YYYY', |
||||
LLL : 'D MMMM YYYY HH:mm', |
||||
LLLL : 'dddd، D MMMM YYYY HH:mm' |
||||
}, |
||||
meridiemParse: /صبح|شام/, |
||||
isPM : function (input) { |
||||
return 'شام' === input; |
||||
}, |
||||
meridiem : function (hour, minute, isLower) { |
||||
if (hour < 12) { |
||||
return 'صبح'; |
||||
} |
||||
return 'شام'; |
||||
}, |
||||
calendar : { |
||||
sameDay : '[آج بوقت] LT', |
||||
nextDay : '[کل بوقت] LT', |
||||
nextWeek : 'dddd [بوقت] LT', |
||||
lastDay : '[گذشتہ روز بوقت] LT', |
||||
lastWeek : '[گذشتہ] dddd [بوقت] LT', |
||||
sameElse : 'L' |
||||
}, |
||||
relativeTime : { |
||||
future : '%s بعد', |
||||
past : '%s قبل', |
||||
s : 'چند سیکنڈ', |
||||
m : 'ایک منٹ', |
||||
mm : '%d منٹ', |
||||
h : 'ایک گھنٹہ', |
||||
hh : '%d گھنٹے', |
||||
d : 'ایک دن', |
||||
dd : '%d دن', |
||||
M : 'ایک ماہ', |
||||
MM : '%d ماہ', |
||||
y : 'ایک سال', |
||||
yy : '%d سال' |
||||
}, |
||||
preparse: function (string) { |
||||
return string.replace(/،/g, ','); |
||||
}, |
||||
postformat: function (string) { |
||||
return string.replace(/,/g, '،'); |
||||
}, |
||||
week : { |
||||
dow : 1, // Monday is the first day of the week.
|
||||
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
||||
} |
||||
}); |
||||
|
||||
return ur; |
||||
|
||||
}))); |
@ -0,0 +1,58 @@ |
||||
//! moment.js locale configuration
|
||||
//! locale : Uzbek Latin [uz-latn]
|
||||
//! author : Rasulbek Mirzayev : github.com/Rasulbeeek
|
||||
|
||||
;(function (global, factory) { |
||||
typeof exports === 'object' && typeof module !== 'undefined' |
||||
&& typeof require === 'function' ? factory(require('../moment')) : |
||||
typeof define === 'function' && define.amd ? define(['../moment'], factory) : |
||||
factory(global.moment) |
||||
}(this, (function (moment) { 'use strict'; |
||||
|
||||
|
||||
var uzLatn = moment.defineLocale('uz-latn', { |
||||
months : 'Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr'.split('_'), |
||||
monthsShort : 'Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek'.split('_'), |
||||
weekdays : 'Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba'.split('_'), |
||||
weekdaysShort : 'Yak_Dush_Sesh_Chor_Pay_Jum_Shan'.split('_'), |
||||
weekdaysMin : 'Ya_Du_Se_Cho_Pa_Ju_Sha'.split('_'), |
||||
longDateFormat : { |
||||
LT : 'HH:mm', |
||||
LTS : 'HH:mm:ss', |
||||
L : 'DD/MM/YYYY', |
||||
LL : 'D MMMM YYYY', |
||||
LLL : 'D MMMM YYYY HH:mm', |
||||
LLLL : 'D MMMM YYYY, dddd HH:mm' |
||||
}, |
||||
calendar : { |
||||
sameDay : '[Bugun soat] LT [da]', |
||||
nextDay : '[Ertaga] LT [da]', |
||||
nextWeek : 'dddd [kuni soat] LT [da]', |
||||
lastDay : '[Kecha soat] LT [da]', |
||||
lastWeek : '[O\'tgan] dddd [kuni soat] LT [da]', |
||||
sameElse : 'L' |
||||
}, |
||||
relativeTime : { |
||||
future : 'Yaqin %s ichida', |
||||
past : 'Bir necha %s oldin', |
||||
s : 'soniya', |
||||
m : 'bir daqiqa', |
||||
mm : '%d daqiqa', |
||||
h : 'bir soat', |
||||
hh : '%d soat', |
||||
d : 'bir kun', |
||||
dd : '%d kun', |
||||
M : 'bir oy', |
||||
MM : '%d oy', |
||||
y : 'bir yil', |
||||
yy : '%d yil' |
||||
}, |
||||
week : { |
||||
dow : 1, // Monday is the first day of the week.
|
||||
doy : 7 // The week that contains Jan 1st is the first week of the year.
|
||||
} |
||||
}); |
||||
|
||||
return uzLatn; |
||||
|
||||
}))); |
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue