Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Datepicker: fixed the French translation. Fixed #6646 - Wrong French …
…translation of datepicker References - http://fr.wikipedia.org/wiki/Mois - http://sourceware.org/bugzilla/show_bug.cgi?id=6040 - http://code.djangoproject.com/browser/django/trunk/django/conf/locale/fr/LC_MESSAGES/djangojs.po
- Loading branch information
1 parent
e2a693b
commit 320dfb8
Showing
1 changed file
with
11 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,25 @@ | ||
/* French initialisation for the jQuery UI date picker plugin. */ | ||
/* Written by Keith Wood (kbwood{at}iinet.com.au) and Stéphane Nahmani (sholby@sholby.net). */ | ||
/* Written by Keith Wood (kbwood{at}iinet.com.au), | ||
Stéphane Nahmani (sholby@sholby.net), | ||
Stéphane Raimbault <stephane.raimbault@gmail.com> */ | ||
jQuery(function($){ | ||
$.datepicker.regional['fr'] = { | ||
closeText: 'Fermer', | ||
prevText: '<Préc', | ||
nextText: 'Suiv>', | ||
prevText: 'Précédent', | ||
nextText: 'Suivant', | ||
currentText: 'Aujourd\'hui', | ||
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'], | ||
monthNamesShort: ['Janv.','Févr.','Mars','Avril','Mai','Juin', | ||
'Juil.','Août','Sept.','Oct.','Nov.','Déc.'], | ||
dayNames: ['Dimanche','Lundi','Mardi','Mercredi','Jeudi','Vendredi','Samedi'], | ||
dayNamesShort: ['Dim','Lun','Mar','Mer','Jeu','Ven','Sam'], | ||
dayNamesMin: ['Di','Lu','Ma','Me','Je','Ve','Sa'], | ||
weekHeader: 'Sm', | ||
dayNamesShort: ['Dim.','Lun.','Mar.','Mer.','Jeu.','Ven.','Sam.'], | ||
dayNamesMin: ['D','L','M','M','J','V','S'], | ||
weekHeader: 'Sem.', | ||
dateFormat: 'dd/mm/yy', | ||
firstDay: 1, | ||
isRTL: false, | ||
showMonthAfterYear: false, | ||
yearSuffix: ''}; | ||
$.datepicker.setDefaults($.datepicker.regional['fr']); | ||
}); | ||
}); |