mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-02-01 01:29:58 +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-pl.js
Normal file
37
common/js/plugins/ui/i18n/datepicker-pl.js
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
/* Polish initialisation for the jQuery UI date picker plugin. */
|
||||
/* Written by Jacek Wysocki (jacek.wysocki@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.pl = {
|
||||
closeText: "Zamknij",
|
||||
prevText: "<Poprzedni",
|
||||
nextText: "Następny>",
|
||||
currentText: "Dziś",
|
||||
monthNames: [ "Styczeń","Luty","Marzec","Kwiecień","Maj","Czerwiec",
|
||||
"Lipiec","Sierpień","Wrzesień","Październik","Listopad","Grudzień" ],
|
||||
monthNamesShort: [ "Sty","Lu","Mar","Kw","Maj","Cze",
|
||||
"Lip","Sie","Wrz","Pa","Lis","Gru" ],
|
||||
dayNames: [ "Niedziela","Poniedziałek","Wtorek","Środa","Czwartek","Piątek","Sobota" ],
|
||||
dayNamesShort: [ "Nie","Pn","Wt","Śr","Czw","Pt","So" ],
|
||||
dayNamesMin: [ "N","Pn","Wt","Śr","Cz","Pt","So" ],
|
||||
weekHeader: "Tydz",
|
||||
dateFormat: "dd.mm.yy",
|
||||
firstDay: 1,
|
||||
isRTL: false,
|
||||
showMonthAfterYear: false,
|
||||
yearSuffix: "" };
|
||||
datepicker.setDefaults( datepicker.regional.pl );
|
||||
|
||||
return datepicker.regional.pl;
|
||||
|
||||
} ) );
|
||||
Loading…
Add table
Add a link
Reference in a new issue