-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Datepicker: Added Myanmar (Burmese) localisation
Datepicker: [Reformat Style] Added Myanmar (Burmese) localisation Datepicker: [Reformat Style] Added Myanmar (Burmese) localisation
- Loading branch information
1 parent
9bb366e
commit cd135d3
Showing
1 changed file
with
52 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
/* ဗမာ/မြန်မာ/Myanmar/Burmese initialisation for the jQuery UI date picker plugin. */ | ||
/* Written by Kevin Kyaw -- kthiha3@gmail.com*/ | ||
( function( factory ) { | ||
if ( typeof define === "function" && define.amd ) { | ||
|
||
// AMD. Register as an anonymous module. | ||
define( [ "../widgets/datepicker" ], factory ); | ||
} else { | ||
|
||
// Browser globals | ||
factory( jQuery.datepicker ); | ||
} | ||
}( function( datepicker ) { | ||
|
||
datepicker.regional.mm = { | ||
closeText: "ပိတ်ပါ", | ||
prevText: "နောက်သို့", | ||
nextText: "ရှေ့သို့", | ||
currentText: "ယနေ့", | ||
monthNames: [ "ဇန်နဝါရီလ","ဖေဖော်ဝါရီလ","မတ်လ","ဧပြီလ","မေလ","ဇွန်လ", | ||
"ဇူလိုင်လ","သြဂုတ်လ","စက်တင်ဘာလ","အောက်တိုဘာလ","နိုဝင်ဘာလ","ဒီဇင်ဘာလ" ], | ||
monthNamesShort: [ "ဇန်","ဖေ","မတ်","ပြီ","မေ","ဇွန်", | ||
"ဇူ","ဂုတ်","စက်","အောက်","နို","ဒီ" ], | ||
dayNames: [ | ||
"တနင်္ဂနွေနေ့", | ||
"တနင်္လာနေ့", | ||
"အင်္ဂါနေ့", | ||
"ဗုဒ္ဓဟူးနေ့", | ||
"ကြာသပတေးနေ့", | ||
"သောကြာနေ့", | ||
"စနေနေ့" | ||
], | ||
dayNamesShort: [ | ||
"တနင်္ဂနွေ", | ||
"တနင်္လာ", | ||
"အင်္ဂါ", | ||
"ဗုဒ္ဓဟူး", | ||
"ကြာသပတေး", | ||
"သောကြာ", | ||
"စနေ" | ||
], | ||
dayNamesMin: [ "နွေ","လာ","ဂါ","ဟူး","ကြာ","သော","နေ" ], | ||
weekHeader: "အပတ်", | ||
dateFormat: "dd/mm/yy", | ||
firstDay: 1, | ||
isRTL: false, | ||
showMonthAfterYear: false, | ||
yearSuffix: "" }; | ||
datepicker.setDefaults( datepicker.regional.mm ); | ||
|
||
return datepicker.regional.mm; | ||
} ) ); |