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-fr.js | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 template-common/lib/ui/i18n/ui.datepicker-fr.js (limited to 'template-common/lib/ui/i18n/ui.datepicker-fr.js') diff --git a/template-common/lib/ui/i18n/ui.datepicker-fr.js b/template-common/lib/ui/i18n/ui.datepicker-fr.js new file mode 100644 index 000000000..936cb8afe --- /dev/null +++ b/template-common/lib/ui/i18n/ui.datepicker-fr.js @@ -0,0 +1,22 @@ +/* French initialisation for the jQuery UI date picker plugin. */ +/* Written by Keith Wood (kbwood@virginbroadband.com.au) and Stéphane Nahmani (sholby@sholby.net). */ +jQuery(function($){ + $.datepicker.regional['fr'] = {clearText: 'Effacer', clearStatus: '', + closeText: 'Fermer', closeStatus: 'Fermer sans modifier', + prevText: '<Préc', prevStatus: 'Voir le mois précédent', + nextText: 'Suiv>', nextStatus: 'Voir le mois suivant', + currentText: 'Courant', currentStatus: 'Voir le mois courant', + monthNames: ['Janvier','Février','Mars','Avril','Mai','Juin', + 'Juillet','Août','Septembre','Octobre','Novembre','Décembre'], + monthNamesShort: ['Jan','Fév','Mar','Avr','Mai','Jun', + 'Jul','Aoû','Sep','Oct','Nov','Déc'], + monthStatus: 'Voir un autre mois', yearStatus: 'Voir un autre année', + weekHeader: 'Sm', weekStatus: '', + dayNames: ['Dimanche','Lundi','Mardi','Mercredi','Jeudi','Vendredi','Samedi'], + dayNamesShort: ['Dim','Lun','Mar','Mer','Jeu','Ven','Sam'], + dayNamesMin: ['Di','Lu','Ma','Me','Je','Ve','Sa'], + dayStatus: 'Utiliser DD comme premier jour de la semaine', dateStatus: 'Choisir le DD, MM d', + dateFormat: 'dd/mm/yy', firstDay: 0, + initStatus: 'Choisir la date', isRTL: false}; + $.datepicker.setDefaults($.datepicker.regional['fr']); +}); \ No newline at end of file -- cgit v1.2.3