3 This file is part of Ext JS 4
5 Copyright (c) 2011 Sencha Inc
7 Contact: http://www.sencha.com/contact
9 GNU General Public License Usage
10 This file may be used under the terms of the GNU General Public License version 3.0 as published by the Free Software Foundation and appearing in the file LICENSE included in the packaging of this file. Please review the following information to ensure the GNU General Public License version 3.0 requirements will be met: http://www.gnu.org/copyleft/gpl.html.
12 If you are unsure which license is appropriate for your use, please contact the sales department at http://www.sencha.com/contact.
16 * France (France) translation
18 * 09-11-2007, 02:22 PM
19 * updated by disizben (22 Sep 2008)
20 * updated by Thylia (20 Apr 2010)
22 Ext.onReady(function() {
24 Ext.Updater.defaults.indicatorText = '<div class="loading-indicator">En cours de chargement...</div>';
27 Ext.view.View.prototype.emptyText = "";
31 Ext.grid.Panel.prototype.ddText = "{0} ligne{1} sélectionnée{1}";
35 Ext.LoadMask.prototype.msg = "En cours de chargement...";
39 Ext.Date.shortMonthNames = [
54 Ext.Date.getShortMonthName = function(month) {
55 return Ext.Date.shortMonthNames[month];
58 Ext.Date.monthNames = [
73 Ext.Date.monthNumbers = {
88 Ext.Date.getMonthNumber = function(name) {
89 return Ext.Date.monthNumbers[Ext.util.Format.capitalize(name)];
102 Ext.Date.getShortDayName = function(day) {
103 return Ext.Date.dayNames[day].substring(0, 3);
106 Ext.Date.parseCodes.S.s = "(?:er)";
109 getSuffix : function() {
110 return (this.getDate() == 1) ? "er" : "";
115 Ext.MessageBox.buttonText = {
124 Ext.apply(Ext.util.Format, {
125 thousandSeparator: '.',
126 decimalSeparator: ',',
127 currencySign: '\u20ac', // French Euro
133 Ext.apply(Ext.picker.Date.prototype, {
134 todayText : "Aujourd'hui",
135 minText : "Cette date est antérieure à la date minimum",
136 maxText : "Cette date est postérieure à la date maximum",
137 disabledDaysText : "",
138 disabledDatesText : "",
139 monthNames : Ext.Date.monthNames,
140 dayNames : Ext.Date.dayNames,
141 nextText : 'Mois suivant (CTRL+Flèche droite)',
142 prevText : "Mois précédent (CTRL+Flèche gauche)",
143 monthYearText : "Choisissez un mois (CTRL+Flèche haut ou bas pour changer d'année.)",
144 todayTip : "{0} (Barre d'espace)",
150 if(Ext.picker.Month) {
151 Ext.apply(Ext.picker.Month.prototype, {
152 okText : " OK ",
153 cancelText : "Annuler"
157 if(Ext.toolbar.Paging){
158 Ext.apply(Ext.PagingToolbar.prototype, {
159 beforePageText : "Page",
160 afterPageText : "sur {0}",
161 firstText : "Première page",
162 prevText : "Page précédente",
163 nextText : "Page suivante",
164 lastText : "Dernière page",
165 refreshText : "Actualiser la page",
166 displayMsg : "Page courante {0} - {1} sur {2}",
167 emptyMsg : 'Aucune donnée à afficher'
172 Ext.form.Basic.prototype.waitTitle = "Veuillez patienter...";
175 if(Ext.form.field.Base){
176 Ext.form.field.Base.prototype.invalidText = "La valeur de ce champ est invalide";
179 if(Ext.form.field.Text){
180 Ext.apply(Ext.form.field.Text.prototype, {
181 minLengthText : "La longueur minimum de ce champ est de {0} caractère(s)",
182 maxLengthText : "La longueur maximum de ce champ est de {0} caractère(s)",
183 blankText : "Ce champ est obligatoire",
189 if(Ext.form.field.Number){
190 Ext.apply(Ext.form.field.Number.prototype, {
191 decimalSeparator : ",",
192 decimalPrecision : 2,
193 minText : "La valeur minimum de ce champ doit être de {0}",
194 maxText : "La valeur maximum de ce champ doit être de {0}",
195 nanText : "{0} n'est pas un nombre valide"
199 if(Ext.form.field.Date){
200 Ext.apply(Ext.form.field.Date.prototype, {
201 disabledDaysText : "Désactivé",
202 disabledDatesText : "Désactivé",
203 minText : "La date de ce champ ne peut être antérieure au {0}",
204 maxText : "La date de ce champ ne peut être postérieure au {0}",
205 invalidText : "{0} n'est pas une date valide - elle doit être au format suivant: {1}",
207 altFormats : "d/m/Y|d-m-y|d-m-Y|d/m|d-m|dm|dmy|dmY|d|Y-m-d"
211 if(Ext.form.field.ComboBox){
212 Ext.apply(Ext.form.field.ComboBox.prototype, {
213 valueNotFoundText : undefined
215 Ext.apply(Ext.form.field.ComboBox.prototype.defaultListConfig, {
216 loadingText : "En cours de chargement..."
220 if(Ext.form.field.VTypes){
221 Ext.apply(Ext.form.field.VTypes, {
222 emailText : 'Ce champ doit contenir une adresse email au format: "usager@example.com"',
223 urlText : 'Ce champ doit contenir une URL au format suivant: "http:/'+'/www.example.com"',
224 alphaText : 'Ce champ ne peut contenir que des lettres et le caractère souligné (_)',
225 alphanumText : 'Ce champ ne peut contenir que des caractères alphanumériques ainsi que le caractère souligné (_)'
229 if(Ext.form.field.HtmlEditor){
230 Ext.apply(Ext.form.field.HtmlEditor.prototype, {
231 createLinkText : "Veuillez entrer l'URL pour ce lien:",
234 title: 'Gras (Ctrl+B)',
235 text: 'Met le texte sélectionné en gras.',
236 cls: Ext.baseCSSPrefix + 'html-editor-tip'
239 title: 'Italique (Ctrl+I)',
240 text: 'Met le texte sélectionné en italique.',
241 cls: Ext.baseCSSPrefix + 'html-editor-tip'
244 title: 'Souligné (Ctrl+U)',
245 text: 'Souligne le texte sélectionné.',
246 cls: Ext.baseCSSPrefix + 'html-editor-tip'
249 title: 'Agrandir la police',
250 text: 'Augmente la taille de la police.',
251 cls: Ext.baseCSSPrefix + 'html-editor-tip'
254 title: 'Réduire la police',
255 text: 'Réduit la taille de la police.',
256 cls: Ext.baseCSSPrefix + 'html-editor-tip'
259 title: 'Couleur de surbrillance',
260 text: 'Modifie la couleur de fond du texte sélectionné.',
261 cls: Ext.baseCSSPrefix + 'html-editor-tip'
264 title: 'Couleur de police',
265 text: 'Modifie la couleur du texte sélectionné.',
266 cls: Ext.baseCSSPrefix + 'html-editor-tip'
269 title: 'Aligner à gauche',
270 text: 'Aligne le texte à gauche.',
271 cls: Ext.baseCSSPrefix + 'html-editor-tip'
275 text: 'Centre le texte.',
276 cls: Ext.baseCSSPrefix + 'html-editor-tip'
279 title: 'Aligner à droite',
280 text: 'Aligner le texte à droite.',
281 cls: Ext.baseCSSPrefix + 'html-editor-tip'
283 insertunorderedlist : {
284 title: 'Liste à puce',
285 text: 'Démarre une liste à puce.',
286 cls: Ext.baseCSSPrefix + 'html-editor-tip'
288 insertorderedlist : {
289 title: 'Liste numérotée',
290 text: 'Démarre une liste numérotée.',
291 cls: Ext.baseCSSPrefix + 'html-editor-tip'
294 title: 'Lien hypertexte',
295 text: 'Transforme en lien hypertexte.',
296 cls: Ext.baseCSSPrefix + 'html-editor-tip'
299 title: 'Code source',
300 text: 'Basculer en mode édition du code source.',
301 cls: Ext.baseCSSPrefix + 'html-editor-tip'
307 if(Ext.grid.header.Container){
308 Ext.apply(Ext.grid.header.Container.prototype, {
309 sortAscText : "Tri croissant",
310 sortDescText : "Tri décroissant",
311 columnsText : "Colonnes"
315 if(Ext.grid.GroupingFeature){
316 Ext.apply(Ext.grid.GroupingFeature.prototype, {
317 emptyGroupText : '(Aucun)',
318 groupByText : 'Grouper par ce champ',
319 showGroupsText : 'Afficher par groupes'
323 if(Ext.grid.PropertyColumnModel){
324 Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
325 nameText : "Propriété",
326 valueText : "Valeur",
327 dateFormat : "d/m/Y",
333 if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
334 Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
335 splitTip : "Cliquer et glisser pour redimensionner le panneau.",
336 collapsibleSplitTip : "Cliquer et glisser pour redimensionner le panneau. Double-cliquer pour le cacher."
340 if(Ext.form.field.Time){
341 Ext.apply(Ext.form.field.Time.prototype, {
342 minText : "L'heure de ce champ ne peut être antérieure à {0}",
343 maxText : "L'heure de ce champ ne peut être postérieure à {0}",
344 invalidText : "{0} n'est pas une heure valide",
346 altFormats : "g:ia|g:iA|g:i a|g:i A|h:i|g:i|H:i|ga|h a|g a|g A|gi|hi|Hi|gia|hia|g|H"
350 if(Ext.form.CheckboxGroup){
351 Ext.apply(Ext.form.CheckboxGroup.prototype, {
352 blankText : "Vous devez sélectionner au moins un élément dans ce groupe"
356 if(Ext.form.RadioGroup){
357 Ext.apply(Ext.form.RadioGroup.prototype, {
358 blankText : "Vous devez sélectionner au moins un élément dans ce groupe"