aboutsummaryrefslogtreecommitdiffstats
path: root/template-common/lib/ui/i18n/ui.datepicker-lt.js
diff options
context:
space:
mode:
authorrub <rub@piwigo.org>2008-10-01 20:39:06 +0000
committerrub <rub@piwigo.org>2008-10-01 20:39:06 +0000
commite9d7622d55ca8456e36ea8a178e8b0286250fd1d (patch)
treebfba53e0c20492bc5fb485ceadaaff134029419e /template-common/lib/ui/i18n/ui.datepicker-lt.js
parent7eb7d3752748e3ca6db611e29a5d8c1aaac1195b (diff)
Purpose of datepicker with jQuery.
I will open a french topic on forum to debate of implementation and possibles changes. git-svn-id: http://piwigo.org/svn/trunk@2632 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--template-common/lib/ui/i18n/ui.datepicker-lt.js25
1 files changed, 25 insertions, 0 deletions
diff --git a/template-common/lib/ui/i18n/ui.datepicker-lt.js b/template-common/lib/ui/i18n/ui.datepicker-lt.js
new file mode 100644
index 000000000..120e82b2f
--- /dev/null
+++ b/template-common/lib/ui/i18n/ui.datepicker-lt.js
@@ -0,0 +1,25 @@
+/**
+ * Lithuanian (UTF-8) initialisation for the jQuery UI date picker plugin.
+ *
+ * @author Arturas Paleicikas <arturas@avalon.lt>
+ */
+jQuery(function($){
+ $.datepicker.regional['lt'] = {clearText: 'Išvalyti', clearStatus: '',
+ closeText: 'Uždaryti', closeStatus: '',
+ prevText: '&lt;Atgal', prevStatus: '',
+ nextText: 'Pirmyn&gt;', nextStatus: '',
+ currentText: 'Šiandien', currentStatus: '',
+ 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'],
+ monthStatus: '', yearStatus: '',
+ weekHeader: '', weekStatus: '',
+ 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'],
+ dayStatus: 'DD', dateStatus: 'D, M d',
+ dateFormat: 'yy-mm-dd', firstDay: 1,
+ initStatus: '', isRTL: false};
+ $.datepicker.setDefaults($.datepicker.regional['lt']);
+}); \ No newline at end of file