From e9d7622d55ca8456e36ea8a178e8b0286250fd1d Mon Sep 17 00:00:00 2001 From: rub Date: Wed, 1 Oct 2008 20:39:06 +0000 Subject: 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 --- template-common/lib/ui/i18n/ui.datepicker-da.js | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 template-common/lib/ui/i18n/ui.datepicker-da.js (limited to 'template-common/lib/ui/i18n/ui.datepicker-da.js') diff --git a/template-common/lib/ui/i18n/ui.datepicker-da.js b/template-common/lib/ui/i18n/ui.datepicker-da.js new file mode 100644 index 000000000..794f6ef44 --- /dev/null +++ b/template-common/lib/ui/i18n/ui.datepicker-da.js @@ -0,0 +1,22 @@ +/* Danish initialisation for the jQuery UI date picker plugin. */ +/* Written by Jan Christensen ( deletestuff@gmail.com). */ +jQuery(function($){ + $.datepicker.regional['da'] = {clearText: 'Nulstil', clearStatus: 'Nulstil den aktuelle dato', + closeText: 'Luk', closeStatus: 'Luk uden ændringer', + prevText: '<Forrige', prevStatus: 'Vis forrige måned', + nextText: 'Næste>', nextStatus: 'Vis næste måned', + currentText: 'Idag', currentStatus: 'Vis aktuel måned', + monthNames: ['Januar','Februar','Marts','April','Maj','Juni', + 'Juli','August','September','Oktober','November','December'], + monthNamesShort: ['Jan','Feb','Mar','Apr','Maj','Jun', + 'Jul','Aug','Sep','Okt','Nov','Dec'], + monthStatus: 'Vis en anden måned', yearStatus: 'Vis et andet år', + weekHeader: 'Uge', weekStatus: 'Årets uge', + dayNames: ['Søndag','Mandag','Tirsdag','Onsdag','Torsdag','Fredag','Lørdag'], + dayNamesShort: ['Søn','Man','Tir','Ons','Tor','Fre','Lør'], + dayNamesMin: ['Sø','Ma','Ti','On','To','Fr','Lø'], + dayStatus: 'Sæt DD som første ugedag', dateStatus: 'Vælg D, M d', + dateFormat: 'dd-mm-yy', firstDay: 0, + initStatus: 'Vælg en dato', isRTL: false}; + $.datepicker.setDefaults($.datepicker.regional['da']); +}); -- cgit v1.2.3