Upgrade to ExtJS 3.3.1 - Released 11/30/2010
[extjs.git] / src / locale / ext-lang-fr.js
1 /*!
2  * Ext JS Library 3.3.1
3  * Copyright(c) 2006-2010 Sencha Inc.
4  * licensing@sencha.com
5  * http://www.sencha.com/license
6  */
7 /*
8  * France (France) translation
9  * By Thylia
10  * 09-11-2007, 02:22 PM
11  * updated by disizben (22 Sep 2008)
12  * updated by Thylia (20 Apr 2010)
13  */
14
15 Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">En cours de chargement...</div>';
16
17 if(Ext.DataView){
18    Ext.DataView.prototype.emptyText = "";
19 }
20
21 if(Ext.grid.GridPanel){
22    Ext.grid.GridPanel.prototype.ddText = "{0} ligne{1} sélectionnée{1}";
23 }
24
25 if(Ext.LoadMask){
26     Ext.LoadMask.prototype.msg = "En cours de chargement...";
27 }
28
29 Date.shortMonthNames = [
30    "Janv",
31    "Févr",
32    "Mars",
33    "Avr",
34    "Mai",
35    "Juin",
36    "Juil",
37    "Août",
38    "Sept",
39    "Oct",
40    "Nov",
41    "Déc"
42 ];
43
44 Date.getShortMonthName = function(month) {
45   return Date.shortMonthNames[month];
46 };
47
48 Date.monthNames = [
49    "Janvier",
50    "Février",
51    "Mars",
52    "Avril",
53    "Mai",
54    "Juin",
55    "Juillet",
56    "Août",
57    "Septembre",
58    "Octobre",
59    "Novembre",
60    "Décembre"
61 ];
62
63 Date.monthNumbers = {
64   "Janvier" : 0,
65   "Février" : 1,
66   "Mars" : 2,
67   "Avril" : 3,
68   "Mai" : 4,
69   "Juin" : 5,
70   "Juillet" : 6,
71   "Août" : 7,
72   "Septembre" : 8,
73   "Octobre" : 9,
74   "Novembre" : 10,
75   "Décembre" : 11
76 };
77
78 Date.getMonthNumber = function(name) {
79   return Date.monthNumbers[Ext.util.Format.capitalize(name)];
80 };
81
82 Date.dayNames = [
83    "Dimanche",
84    "Lundi",
85    "Mardi",
86    "Mercredi",
87    "Jeudi",
88    "Vendredi",
89    "Samedi"
90 ];
91
92 Date.getShortDayName = function(day) {
93   return Date.dayNames[day].substring(0, 3);
94 };
95
96 Date.parseCodes.S.s = "(?:er)";
97
98 Ext.override(Date, {
99     getSuffix : function() {
100         return (this.getDate() == 1) ? "er" : "";
101     }
102 });
103
104 if(Ext.MessageBox){
105     Ext.MessageBox.buttonText = {
106         ok     : "OK",
107         cancel : "Annuler",
108         yes    : "Oui",
109         no     : "Non"
110     };
111 }
112
113 if(Ext.util.Format){
114     Ext.util.Format.date = function(v, format){
115         if(!v) return "";
116         if(!Ext.isDate(v)) v = new Date(Date.parse(v));
117         return v.dateFormat(format || "d/m/Y");
118     };
119     Ext.util.Format.plural = function(v, s, p) {
120         return v + ' ' + (v <= 1 ? s : (p ? p : s + 's'));
121     };
122 }
123
124 if(Ext.DatePicker){
125     Ext.apply(Ext.DatePicker.prototype, {
126         todayText         : "Aujourd'hui",
127         minText           : "Cette date est antérieure à la date minimum",
128         maxText           : "Cette date est postérieure à la date maximum",
129         disabledDaysText  : "",
130         disabledDatesText : "",
131         monthNames        : Date.monthNames,
132         dayNames          : Date.dayNames,
133         nextText          : 'Mois suivant (CTRL+Flèche droite)',
134         prevText          : "Mois précédent (CTRL+Flèche gauche)",
135         monthYearText     : "Choisissez un mois (CTRL+Flèche haut ou bas pour changer d'année.)",
136         todayTip          : "{0} (Barre d'espace)",
137         okText            : "&#160;OK&#160;",
138         cancelText        : "Annuler",
139         format            : "d/m/y",
140         startDay          : 1
141     });
142 }
143
144 if(Ext.PagingToolbar){
145     Ext.apply(Ext.PagingToolbar.prototype, {
146         beforePageText : "Page",
147         afterPageText  : "sur {0}",
148         firstText      : "Première page",
149         prevText       : "Page précédente",
150         nextText       : "Page suivante",
151         lastText       : "Dernière page",
152         refreshText    : "Actualiser la page",
153         displayMsg     : "Page courante {0} - {1} sur {2}",
154         emptyMsg       : 'Aucune donnée à afficher'
155     });
156 }
157
158 if(Ext.form.BasicForm){
159     Ext.form.BasicForm.prototype.waitTitle = "Veuillez patienter...";
160 }
161
162 if(Ext.form.Field){
163    Ext.form.Field.prototype.invalidText = "La valeur de ce champ est invalide";
164 }
165
166 if(Ext.form.TextField){
167     Ext.apply(Ext.form.TextField.prototype, {
168         minLengthText : "La longueur minimum de ce champ est de {0} caractère(s)",
169         maxLengthText : "La longueur maximum de ce champ est de {0} caractère(s)",
170         blankText     : "Ce champ est obligatoire",
171         regexText     : "",
172         emptyText     : null
173     });
174 }
175
176 if(Ext.form.NumberField){
177    Ext.apply(Ext.form.NumberField.prototype, {
178       decimalSeparator : ",",
179       decimalPrecision : 2,
180       minText : "La valeur minimum de ce champ doit être de {0}",
181       maxText : "La valeur maximum de ce champ doit être de {0}",
182       nanText : "{0} n'est pas un nombre valide"
183    });
184 }
185
186 if(Ext.form.DateField){
187    Ext.apply(Ext.form.DateField.prototype, {
188       disabledDaysText  : "Désactivé",
189       disabledDatesText : "Désactivé",
190       minText           : "La date de ce champ ne peut être antérieure au {0}",
191       maxText           : "La date de ce champ ne peut être postérieure au {0}",
192       invalidText       : "{0} n'est pas une date valide - elle doit être au format suivant: {1}",
193       format            : "d/m/y",
194       altFormats        : "d/m/Y|d-m-y|d-m-Y|d/m|d-m|dm|dmy|dmY|d|Y-m-d",
195       startDay          : 1
196    });
197 }
198
199 if(Ext.form.ComboBox){
200    Ext.apply(Ext.form.ComboBox.prototype, {
201       loadingText       : "En cours de chargement...",
202       valueNotFoundText : undefined
203    });
204 }
205
206 if(Ext.form.VTypes){
207    Ext.apply(Ext.form.VTypes, {
208       emailText    : 'Ce champ doit contenir une adresse email au format: "usager@example.com"',
209       urlText      : 'Ce champ doit contenir une URL au format suivant: "http:/'+'/www.example.com"',
210       alphaText    : 'Ce champ ne peut contenir que des lettres et le caractère souligné (_)',
211       alphanumText : 'Ce champ ne peut contenir que des caractères alphanumériques ainsi que le caractère souligné (_)'
212    });
213 }
214
215 if(Ext.form.HtmlEditor){
216    Ext.apply(Ext.form.HtmlEditor.prototype, {
217       createLinkText : "Veuillez entrer l'URL pour ce lien:",
218           buttonTips : {
219               bold : {
220                   title: 'Gras (Ctrl+B)',
221                   text: 'Met le texte sélectionné en gras.',
222                   cls: 'x-html-editor-tip'
223               },
224               italic : {
225                   title: 'Italique (Ctrl+I)',
226                   text: 'Met le texte sélectionné en italique.',
227                   cls: 'x-html-editor-tip'
228               },
229               underline : {
230                   title: 'Souligné (Ctrl+U)',
231                   text: 'Souligne le texte sélectionné.',
232                   cls: 'x-html-editor-tip'
233               },
234               increasefontsize : {
235                   title: 'Agrandir la police',
236                   text: 'Augmente la taille de la police.',
237                   cls: 'x-html-editor-tip'
238               },
239               decreasefontsize : {
240                   title: 'Réduire la police',
241                   text: 'Réduit la taille de la police.',
242                   cls: 'x-html-editor-tip'
243               },
244               backcolor : {
245                   title: 'Couleur de surbrillance',
246                   text: 'Modifie la couleur de fond du texte sélectionné.',
247                   cls: 'x-html-editor-tip'
248               },
249               forecolor : {
250                   title: 'Couleur de police',
251                   text: 'Modifie la couleur du texte sélectionné.',
252                   cls: 'x-html-editor-tip'
253               },
254               justifyleft : {
255                   title: 'Aligner à gauche',
256                   text: 'Aligne le texte à gauche.',
257                   cls: 'x-html-editor-tip'
258               },
259               justifycenter : {
260                   title: 'Centrer',
261                   text: 'Centre le texte.',
262                   cls: 'x-html-editor-tip'
263               },
264               justifyright : {
265                   title: 'Aligner à droite',
266                   text: 'Aligner le texte à droite.',
267                   cls: 'x-html-editor-tip'
268               },
269               insertunorderedlist : {
270                   title: 'Liste à puce',
271                   text: 'Démarre une liste à puce.',
272                   cls: 'x-html-editor-tip'
273               },
274               insertorderedlist : {
275                   title: 'Liste numérotée',
276                   text: 'Démarre une liste numérotée.',
277                   cls: 'x-html-editor-tip'
278               },
279               createlink : {
280                   title: 'Lien hypertexte',
281                   text: 'Transforme en lien hypertexte.',
282                   cls: 'x-html-editor-tip'
283               },
284               sourceedit : {
285                   title: 'Code source',
286                   text: 'Basculer en mode édition du code source.',
287                   cls: 'x-html-editor-tip'
288               }
289         }
290    });
291 }
292
293 if(Ext.grid.GridView){
294    Ext.apply(Ext.grid.GridView.prototype, {
295       sortAscText  : "Tri croissant",
296       sortDescText : "Tri décroissant",
297       columnsText  : "Colonnes"
298    });
299 }
300
301 if(Ext.grid.GroupingView){
302    Ext.apply(Ext.grid.GroupingView.prototype, {
303       emptyGroupText : '(Aucun)',
304       groupByText    : 'Grouper par ce champ',
305       showGroupsText : 'Afficher par groupes'
306    });
307 }
308
309 if(Ext.grid.PropertyColumnModel){
310     Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
311         nameText   : "Propriété",
312         valueText  : "Valeur",
313         dateFormat : "d/m/Y",
314         trueText   : "vrai",
315         falseText  : "faux"
316     });
317 }
318
319 if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
320    Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
321       splitTip            : "Cliquer et glisser pour redimensionner le panneau.",
322       collapsibleSplitTip : "Cliquer et glisser pour redimensionner le panneau. Double-cliquer pour le cacher."
323    });
324 }
325
326 if(Ext.form.TimeField){
327    Ext.apply(Ext.form.TimeField.prototype, {
328       minText     : "L'heure de ce champ ne peut être antérieure à {0}",
329       maxText     : "L'heure de ce champ ne peut être postérieure à {0}",
330       invalidText : "{0} n'est pas une heure valide",
331       format      : "H:i",
332       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"
333    });
334 }
335
336 if(Ext.form.CheckboxGroup){
337   Ext.apply(Ext.form.CheckboxGroup.prototype, {
338     blankText : "Vous devez sélectionner au moins un élément dans ce groupe"
339   });
340 }
341
342 if(Ext.form.RadioGroup){
343   Ext.apply(Ext.form.RadioGroup.prototype, {
344     blankText : "Vous devez sélectionner au moins un élément dans ce groupe"
345   });
346 }