mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Add Localization for Urdu - datepicker-ur.js
This commit is contained in:
parent
74f8a0ac95
commit
8794b58b1c
47
ui/i18n/datepicker-ur.js
Normal file
47
ui/i18n/datepicker-ur.js
Normal file
@ -0,0 +1,47 @@
|
||||
/* Abdullah initialisation for the jQuery UI date picker plugin. */
|
||||
/* For Pakistani Users Only */
|
||||
/* Written by Abdullah <abdullahmzm@gmail.com> */
|
||||
/* Twitter Handle @Software_abi */
|
||||
(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.ur = {
|
||||
closeText: "??? ????",
|
||||
prevText: "<?????",
|
||||
nextText: "????>",
|
||||
currentText: "??",
|
||||
monthNames: ["?????", "?????", "????", "?????", "???", "???",
|
||||
"??????", "????", "?????", "??????", "?????", "?????"],
|
||||
monthNamesShort: ["1", "2", "3", "4", "5", "6",
|
||||
"7", "8", "9", "10", "11", "12"],
|
||||
dayNames: [
|
||||
"?????",
|
||||
"??????",
|
||||
"????",
|
||||
"???",
|
||||
"??????",
|
||||
"????",
|
||||
"????"
|
||||
],
|
||||
dayNamesShort: ["?????", "??????", "????", "???", "??????", "????", "????"],
|
||||
dayNamesMin: ["?????", "??????", "????", "???", "??????", "????", "????"],
|
||||
weekHeader: "????",
|
||||
dateFormat: "dd/mm/yy",
|
||||
firstDay: 0,
|
||||
isRTL: true,
|
||||
showMonthAfterYear: false,
|
||||
yearSuffix: ""};
|
||||
datepicker.setDefaults(datepicker.regional.ur);
|
||||
|
||||
return datepicker.regional.ur;
|
||||
|
||||
}));
|
Loading…
Reference in New Issue
Block a user