mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-09 20:12:14 +09:00
support i18n jQuery-UI datepicker
This commit is contained in:
parent
25de7998c2
commit
81b1fd5752
76 changed files with 2783 additions and 1 deletions
37
common/js/plugins/ui/i18n/datepicker-lv.js
Normal file
37
common/js/plugins/ui/i18n/datepicker-lv.js
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
/* Latvian (UTF-8) initialisation for the jQuery UI date picker plugin. */
|
||||
/* @author Arturas Paleicikas <arturas.paleicikas@metasite.net> */
|
||||
( 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.lv = {
|
||||
closeText: "Aizvērt",
|
||||
prevText: "Iepr.",
|
||||
nextText: "Nāk.",
|
||||
currentText: "Šodien",
|
||||
monthNames: [ "Janvāris","Februāris","Marts","Aprīlis","Maijs","Jūnijs",
|
||||
"Jūlijs","Augusts","Septembris","Oktobris","Novembris","Decembris" ],
|
||||
monthNamesShort: [ "Jan","Feb","Mar","Apr","Mai","Jūn",
|
||||
"Jūl","Aug","Sep","Okt","Nov","Dec" ],
|
||||
dayNames: [ "svētdiena","pirmdiena","otrdiena","trešdiena","ceturtdiena","piektdiena","sestdiena" ],
|
||||
dayNamesShort: [ "svt","prm","otr","tre","ctr","pkt","sst" ],
|
||||
dayNamesMin: [ "Sv","Pr","Ot","Tr","Ct","Pk","Ss" ],
|
||||
weekHeader: "Ned.",
|
||||
dateFormat: "dd.mm.yy",
|
||||
firstDay: 1,
|
||||
isRTL: false,
|
||||
showMonthAfterYear: false,
|
||||
yearSuffix: "" };
|
||||
datepicker.setDefaults( datepicker.regional.lv );
|
||||
|
||||
return datepicker.regional.lv;
|
||||
|
||||
} ) );
|
||||
Loading…
Add table
Add a link
Reference in a new issue