Update datepicker-ma.js

tested
This commit is contained in:
Thura Aung 2018-04-18 10:44:50 +09:00 committed by GitHub
parent 020b1c6d77
commit da0cfde314
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,37 +1,17 @@
/* Myanmar initialisation for the jQuery UI date picker plugin. */
/* Written by Thura Aung (thura.ucsy@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.ja = {
closeText: "ပိတ်ပါ",
prevText: "<အရှေ့",
nextText: "အနောက်>",
currentText: "ယခုလ",
monthNames: [ "1လပိုင်း","2လပိုင်း","3လပိုင်း","4လပိုင်း","5လပိုင်း","6လပိုင်း",
"7လပိုင်း","8လပိုင်း","9လပိုင်း","10လပိုင်း","11လပိုင်း","12လပိုင်း" ],
monthNamesShort: [ "1လပိုင်း","2လပိုင်း","3လပိုင်း","4လပိုင်း","5လပိုင်း","6လပိုင်း",
"7လပိုင်း","8လပိုင်း","9လပိုင်း","10လပိုင်း","11လပိုင်း","12လပိုင်း" ],
dayNames: [ "တနင်္ဂနွေ","တနင်္လာ","အင်္ဂါ","ဗုဒ္ဓဟူး","ကြာသပတေး","သောကြာ","စနေ" ],
dayNamesShort: [ "နွေ","လာ","ဂါ","ဟူး","တေး","ကြာ","နေ" ],
dayNamesShort: [ "နွေ","လာ","ဂါ","ဟူး","တေး","ကြာ","နေ" ],
weekHeader: "အပတ်",
dateFormat: "dd/mm/yy",
firstDay: 0,
isRTL: false,
showMonthAfterYear: true,
yearSuffix: "နှစ်" };
datepicker.setDefaults( datepicker.regional.ma );
return datepicker.regional.ma;
} ) );
/**
* Myanmar translation for bootstrap-datepicker
* Written by Thura Aung (thura.ucsy@gmail.com)
*/
;(function($){
$.fn.datepicker.dates['ma'] = {
days: ["တနင်္ဂနွေ","တနင်္လာ","အင်္ဂါ","ဗုဒ္ဓဟူး","ကြာသပတေး","သောကြာ","စနေ"],
daysShort: ["နွေ","လာ","ဂါ","ဟူး","တေး","ကြာ","နေ"],
daysMin: ["နွေ","လာ","ဂါ","ဟူး","တေး","ကြာ","နေ"],
months: ["1လ","2လ","3လ","4လ","5လ","6လ","7လ","8လ","9လ","10လ","11လ","12လ"],
monthsShort: ["1လ","2လ","3လ","4လ","5လ","6လ","7လ","8လ","9လ","10လ","11လ","12လ"],
today: "ယနေ့",
format: "yyyy/mm/dd",
titleFormat: "yyyyနှစ်mmလ",
clear: "ပိတ်ပါ"
};
}(jQuery));