aboutsummaryrefslogtreecommitdiffstats
path: root/template-common/lib/ui/i18n/ui.datepicker-fi.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-fi.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-fi.js24
1 files changed, 24 insertions, 0 deletions
diff --git a/template-common/lib/ui/i18n/ui.datepicker-fi.js b/template-common/lib/ui/i18n/ui.datepicker-fi.js
new file mode 100644
index 000000000..550a980aa
--- /dev/null
+++ b/template-common/lib/ui/i18n/ui.datepicker-fi.js
@@ -0,0 +1,24 @@
+/* Finnish initialisation for the jQuery UI date picker plugin. */
+/* Written by Harri Kilpiö (harrikilpio@gmail.com). */
+
+$(document).ready(function(){
+ $.datepicker.regional['fi'] = {
+ clearText: 'Tyhjenn&auml;', clearStatus: '',
+ closeText: 'Sulje', closeStatus: '',
+ prevText: '&laquo;Edellinen', prevStatus: '',
+ nextText: 'Seuraava&raquo;', nextStatus: '',
+ currentText: 'T&auml;n&auml;&auml;n', currentStatus: '',
+ monthNames: ['Tammikuu','Helmikuu','Maaliskuu','Huhtikuu','Toukokuu','Kes&auml;kuu',
+ 'Hein&auml;kuu','Elokuu','Syyskuu','Lokakuu','Marraskuu','Joulukuu'],
+ monthNamesShort: ['Tammi','Helmi','Maalis','Huhti','Touko','Kes&auml;',
+ 'Hein&auml;','Elo','Syys','Loka','Marras','Joulu'],
+ monthStatus: '', yearStatus: '',
+ weekHeader: 'Vk', weekStatus: '',
+ dayNamesShort: ['Su','Ma','Ti','Ke','To','Pe','Su'],
+ dayNames: ['Sunnuntai','Maanantai','Tiistai','Keskiviikko','Torstai','Perjantai','Lauantai'],
+ dayNamesMin: ['Su','Ma','Ti','Ke','To','Pe','La'],
+ dayStatus: 'DD', dateStatus: 'D, M d',
+ dateFormat: 'dd.mm.yy', firstDay: 1,
+ initStatus: '', isRTL: false};
+ $.datepicker.setDefaults($.datepicker.regional['fi']);
+});