summaryrefslogtreecommitdiff
path: root/inc/lang/lt/jquery.ui.datepicker.js
diff options
context:
space:
mode:
authorGerry Weißbach <gerry.w@gammaproduction.de>2014-08-29 11:59:15 +0200
committerGerry Weißbach <gerry.w@gammaproduction.de>2014-08-29 11:59:15 +0200
commit5e7f4d50cbbc788c9c0483a0a2ff1b536e4ffe8c (patch)
treef21a22e5c1ef7f9a8ecd78370cb94472c7407279 /inc/lang/lt/jquery.ui.datepicker.js
parent04585e6c37e0352a5bc568fc8c938aeafa1c160e (diff)
parent12e60eea4f8a0a84213b972847203e57e590c59b (diff)
downloadrpg-5e7f4d50cbbc788c9c0483a0a2ff1b536e4ffe8c.tar.gz
rpg-5e7f4d50cbbc788c9c0483a0a2ff1b536e4ffe8c.tar.bz2
Merge branch 'master' of https://github.com/splitbrain/dokuwiki
Diffstat (limited to 'inc/lang/lt/jquery.ui.datepicker.js')
-rw-r--r--inc/lang/lt/jquery.ui.datepicker.js56
1 files changed, 35 insertions, 21 deletions
diff --git a/inc/lang/lt/jquery.ui.datepicker.js b/inc/lang/lt/jquery.ui.datepicker.js
index 54eb523b3..60ccbefe7 100644
--- a/inc/lang/lt/jquery.ui.datepicker.js
+++ b/inc/lang/lt/jquery.ui.datepicker.js
@@ -1,23 +1,37 @@
/* Lithuanian (UTF-8) initialisation for the jQuery UI date picker plugin. */
/* @author Arturas Paleicikas <arturas@avalon.lt> */
-jQuery(function($){
- $.datepicker.regional['lt'] = {
- closeText: 'Uždaryti',
- prevText: '&#x3C;Atgal',
- nextText: 'Pirmyn&#x3E;',
- currentText: 'Šiandien',
- monthNames: ['Sausis','Vasaris','Kovas','Balandis','Gegužė','Birželis',
- 'Liepa','Rugpjūtis','Rugsėjis','Spalis','Lapkritis','Gruodis'],
- monthNamesShort: ['Sau','Vas','Kov','Bal','Geg','Bir',
- 'Lie','Rugp','Rugs','Spa','Lap','Gru'],
- dayNames: ['sekmadienis','pirmadienis','antradienis','trečiadienis','ketvirtadienis','penktadienis','šeštadienis'],
- dayNamesShort: ['sek','pir','ant','tre','ket','pen','šeš'],
- dayNamesMin: ['Se','Pr','An','Tr','Ke','Pe','Še'],
- weekHeader: 'SAV',
- dateFormat: 'yy-mm-dd',
- firstDay: 1,
- isRTL: false,
- showMonthAfterYear: true,
- yearSuffix: ''};
- $.datepicker.setDefaults($.datepicker.regional['lt']);
-});
+(function( factory ) {
+ if ( typeof define === "function" && define.amd ) {
+
+ // AMD. Register as an anonymous module.
+ define([ "../datepicker" ], factory );
+ } else {
+
+ // Browser globals
+ factory( jQuery.datepicker );
+ }
+}(function( datepicker ) {
+
+datepicker.regional['lt'] = {
+ closeText: 'Uždaryti',
+ prevText: '&#x3C;Atgal',
+ nextText: 'Pirmyn&#x3E;',
+ currentText: 'Šiandien',
+ monthNames: ['Sausis','Vasaris','Kovas','Balandis','Gegužė','Birželis',
+ 'Liepa','Rugpjūtis','Rugsėjis','Spalis','Lapkritis','Gruodis'],
+ monthNamesShort: ['Sau','Vas','Kov','Bal','Geg','Bir',
+ 'Lie','Rugp','Rugs','Spa','Lap','Gru'],
+ dayNames: ['sekmadienis','pirmadienis','antradienis','trečiadienis','ketvirtadienis','penktadienis','šeštadienis'],
+ dayNamesShort: ['sek','pir','ant','tre','ket','pen','šeš'],
+ dayNamesMin: ['Se','Pr','An','Tr','Ke','Pe','Še'],
+ weekHeader: 'SAV',
+ dateFormat: 'yy-mm-dd',
+ firstDay: 1,
+ isRTL: false,
+ showMonthAfterYear: true,
+ yearSuffix: ''};
+datepicker.setDefaults(datepicker.regional['lt']);
+
+return datepicker.regional['lt'];
+
+}));