Skip to content

Commit 099a323

Browse files
committed
Datepicker: Added Myanmar (Burmese) localisation
1 parent 9bb366e commit 099a323

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

ui/i18n/datepicker-mm.js

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
/* ဗမာ/မြန်မာ/Myanmar/Burmese initialisation for the jQuery UI date picker plugin. */
2+
/* Written by Kevin Kyaw -- [email protected]*/
3+
( function( factory ) {
4+
if ( typeof define === "function" && define.amd ) {
5+
6+
// AMD. Register as an anonymous module.
7+
define( [ "../widgets/datepicker" ], factory );
8+
} else {
9+
10+
// Browser globals
11+
factory( jQuery.datepicker );
12+
}
13+
}( function( datepicker ) {
14+
15+
datepicker.regional.mm = {
16+
closeText: "ပိတ်ပါ",
17+
prevText: "နောက်သို့",
18+
nextText: "ရှေ့သို့",
19+
currentText: "ယနေ့",
20+
monthNames: [ "ဇန်နဝါရီလ","ဖေဖော်ဝါရီလ","မတ်လ","ဧပြီလ","မေလ","ဇွန်လ",
21+
"ဇူလိုင်လ","သြဂုတ်လ","စက်တင်ဘာလ","အောက်တိုဘာလ","နိုဝင်ဘာလ","ဒီဇင်ဘာလ" ],
22+
monthNamesShort: [ "ဇန်","ဖေ","မတ်","ပြီ","မေ","ဇွန်",
23+
"ဇူ","ဂုတ်","စက်","အောက်","နို","ဒီ" ],
24+
dayNames: [ "တနင်္ဂနွေနေ့", "တနင်္လာနေ့", "အင်္ဂါနေ့", "ဗုဒ္ဓဟူးနေ့", "ကြာသပတေးနေ့", "သောကြာနေ့", "စနေနေ့" ],
25+
dayNamesShort: [ "တနင်္ဂနွေ", "တနင်္လာ", "အင်္ဂါ", "ဗုဒ္ဓဟူး", "ကြာသပတေး", "သောကြာ", "စနေ" ],
26+
dayNamesMin: [ "နွေ","လာ","ဂါ","ဟူး","ကြာ","သော","နေ" ],
27+
weekHeader: "အပတ်",
28+
dateFormat: "dd/mm/yy",
29+
firstDay: 1,
30+
isRTL: false,
31+
showMonthAfterYear: false,
32+
yearSuffix: "" };
33+
datepicker.setDefaults( datepicker.regional.mm );
34+
35+
return datepicker.regional.mm;
36+
} ) );

0 commit comments

Comments
 (0)