X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/25ef3491bd9ae007ff1fc2b0d7943e6eaaccf775..b37ceabb82336ee82757cd32efe353cfab8ec267:/src/locale/ext-lang-fr.js diff --git a/src/locale/ext-lang-fr.js b/src/locale/ext-lang-fr.js index 8c7fdf61..c862ab68 100644 --- a/src/locale/ext-lang-fr.js +++ b/src/locale/ext-lang-fr.js @@ -1,6 +1,6 @@ /*! - * Ext JS Library 3.0.3 - * Copyright(c) 2006-2009 Ext JS, LLC + * Ext JS Library 3.2.2 + * Copyright(c) 2006-2010 Ext JS, Inc. * licensing@extjs.com * http://www.extjs.com/license */ @@ -9,6 +9,7 @@ * By Thylia * 09-11-2007, 02:22 PM * updated to 2.2 by disizben (22 Sep 2008) + * updated to 3.2 by Thylia (20 Apr 2010) */ Ext.UpdateManager.defaults.indicatorText = '
En cours de chargement...
'; @@ -95,60 +96,64 @@ Date.getShortDayName = function(day) { Date.parseCodes.S.s = "(?:er)"; Ext.override(Date, { - getSuffix : function() { - return (this.getDate() == 1) ? "er" : ""; - } + getSuffix : function() { + return (this.getDate() == 1) ? "er" : ""; + } }); if(Ext.MessageBox){ - Ext.MessageBox.buttonText = { - ok : "OK", - cancel : "Annuler", - yes : "Oui", - no : "Non" - }; + Ext.MessageBox.buttonText = { + ok : "OK", + cancel : "Annuler", + yes : "Oui", + no : "Non" + }; } if(Ext.util.Format){ - Ext.util.Format.date = function(v, format){ - if(!v) return ""; - if(!(v instanceof Date)) v = new Date(Date.parse(v)); - return v.dateFormat(format || "d/m/Y"); - }; + Ext.util.Format.date = function(v, format){ + if(!v) return ""; + if(!Ext.isDate(v)) v = new Date(Date.parse(v)); + return v.dateFormat(format || "d/m/Y"); + }; } if(Ext.DatePicker){ - Ext.apply(Ext.DatePicker.prototype, { - todayText : "Aujourd'hui", - minText : "Cette date est antérieure à la date minimum", - maxText : "Cette date est postérieure à la date maximum", - disabledDaysText : "", - disabledDatesText : "", - monthNames : Date.monthNames, - dayNames : Date.dayNames, - nextText : 'Mois suivant (CTRL+Flèche droite)', - prevText : "Mois précédent (CTRL+Flèche gauche)", - monthYearText : "Choisissez un mois (CTRL+Flèche haut ou bas pour changer d'année.)", - todayTip : "{0} (Barre d'espace)", - okText : " OK ", - cancelText : "Annuler", - format : "d/m/y", - startDay : 1 - }); + Ext.apply(Ext.DatePicker.prototype, { + todayText : "Aujourd'hui", + minText : "Cette date est antérieure à la date minimum", + maxText : "Cette date est postérieure à la date maximum", + disabledDaysText : "", + disabledDatesText : "", + monthNames : Date.monthNames, + dayNames : Date.dayNames, + nextText : 'Mois suivant (CTRL+Flèche droite)', + prevText : "Mois précédent (CTRL+Flèche gauche)", + monthYearText : "Choisissez un mois (CTRL+Flèche haut ou bas pour changer d'année.)", + todayTip : "{0} (Barre d'espace)", + okText : " OK ", + cancelText : "Annuler", + format : "d/m/y", + startDay : 1 + }); } if(Ext.PagingToolbar){ - Ext.apply(Ext.PagingToolbar.prototype, { - beforePageText : "Page", - afterPageText : "sur {0}", - firstText : "Première page", - prevText : "Page précédente", - nextText : "Page suivante", - lastText : "Dernière page", - refreshText : "Actualiser la page", - displayMsg : "Page courante {0} - {1} sur {2}", - emptyMsg : 'Aucune donnée à afficher' - }); + Ext.apply(Ext.PagingToolbar.prototype, { + beforePageText : "Page", + afterPageText : "sur {0}", + firstText : "Première page", + prevText : "Page précédente", + nextText : "Page suivante", + lastText : "Dernière page", + refreshText : "Actualiser la page", + displayMsg : "Page courante {0} - {1} sur {2}", + emptyMsg : 'Aucune donnée à afficher' + }); +} + +if(Ext.form.BasicForm){ + Ext.form.BasicForm.prototype.waitTitle = "Veuillez patienter..." } if(Ext.form.Field){ @@ -156,13 +161,13 @@ if(Ext.form.Field){ } if(Ext.form.TextField){ - Ext.apply(Ext.form.TextField.prototype, { - minLengthText : "La longueur minimum de ce champ est de {0} caractères", - maxLengthText : "La longueur maximum de ce champ est de {0} caractères", - blankText : "Ce champ est obligatoire", - regexText : "", - emptyText : null - }); + Ext.apply(Ext.form.TextField.prototype, { + minLengthText : "La longueur minimum de ce champ est de {0} caractère(s)", + maxLengthText : "La longueur maximum de ce champ est de {0} caractère(s)", + blankText : "Ce champ est obligatoire", + regexText : "", + emptyText : null + }); } if(Ext.form.NumberField){ @@ -298,11 +303,13 @@ if(Ext.grid.GroupingView){ } if(Ext.grid.PropertyColumnModel){ - Ext.apply(Ext.grid.PropertyColumnModel.prototype, { - nameText : "Propriété", - valueText : "Valeur", - dateFormat : "d/m/Y" - }); + Ext.apply(Ext.grid.PropertyColumnModel.prototype, { + nameText : "Propriété", + valueText : "Valeur", + dateFormat : "d/m/Y", + trueText : "vrai", + falseText : "faux" + }); } if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){