diff options
author | rub <rub@piwigo.org> | 2008-10-01 20:39:06 +0000 |
---|---|---|
committer | rub <rub@piwigo.org> | 2008-10-01 20:39:06 +0000 |
commit | e9d7622d55ca8456e36ea8a178e8b0286250fd1d (patch) | |
tree | bfba53e0c20492bc5fb485ceadaaff134029419e /template-common/lib/ui/i18n/ui.datepicker-ca.js | |
parent | 7eb7d3752748e3ca6db611e29a5d8c1aaac1195b (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-ca.js | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/template-common/lib/ui/i18n/ui.datepicker-ca.js b/template-common/lib/ui/i18n/ui.datepicker-ca.js new file mode 100644 index 000000000..46147a497 --- /dev/null +++ b/template-common/lib/ui/i18n/ui.datepicker-ca.js @@ -0,0 +1,22 @@ +/* Inicialització en català per a l'extenció 'calendar' per jQuery. */ +/* Writers: (joan.leon@gmail.com). */ +jQuery(function($){ + $.datepicker.regional['ca'] = {clearText: 'Netejar', clearStatus: '', + closeText: 'Tancar', closeStatus: '', + prevText: '<Ant', prevStatus: '', + nextText: 'Seg>', nextStatus: '', + currentText: 'Avui', currentStatus: '', + monthNames: ['Gener','Febrer','Març','Abril','Maig','Juny', + 'Juliol','Agost','Setembre','Octubre','Novembre','Desembre'], + monthNamesShort: ['Gen','Feb','Mar','Abr','Mai','Jun', + 'Jul','Ago','Set','Oct','Nov','Des'], + monthStatus: '', yearStatus: '', + weekHeader: 'Sm', weekStatus: '', + dayNames: ['Diumenge','Dilluns','Dimarts','Dimecres','Dijous','Divendres','Dissabte'], + dayNamesShort: ['Dug','Dln','Dmt','Dmc','Djs','Dvn','Dsb'], + dayNamesMin: ['Dg','Dl','Dt','Dc','Dj','Dv','Ds'], + dayStatus: 'DD', dateStatus: 'D, M d', + dateFormat: 'mm/dd/yy', firstDay: 0, + initStatus: '', isRTL: false}; + $.datepicker.setDefaults($.datepicker.regional['ca']); +});
\ No newline at end of file |