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). */ * Myanmar translation for bootstrap-datepicker
( function( factory ) { * Written by Thura Aung (thura.ucsy@gmail.com)
if ( typeof define === "function" && define.amd ) { */
;(function($){
// AMD. Register as an anonymous module. $.fn.datepicker.dates['ma'] = {
define( [ "../widgets/datepicker" ], factory ); days: ["တနင်္ဂနွေ","တနင်္လာ","အင်္ဂါ","ဗုဒ္ဓဟူး","ကြာသပတေး","သောကြာ","စနေ"],
} else { daysShort: ["နွေ","လာ","ဂါ","ဟူး","တေး","ကြာ","နေ"],
daysMin: ["နွေ","လာ","ဂါ","ဟူး","တေး","ကြာ","နေ"],
// Browser globals months: ["1လ","2လ","3လ","4လ","5လ","6လ","7လ","8လ","9လ","10လ","11လ","12လ"],
factory( jQuery.datepicker ); monthsShort: ["1လ","2လ","3လ","4လ","5လ","6လ","7လ","8လ","9လ","10လ","11လ","12လ"],
} today: "ယနေ့",
}( function( datepicker ) { format: "yyyy/mm/dd",
titleFormat: "yyyyနှစ်mmလ",
datepicker.regional.ja = { clear: "ပိတ်ပါ"
closeText: "ပိတ်ပါ", };
prevText: "<အရှေ့", }(jQuery));
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;
} ) );