Upgrade to ExtJS 4.0.2 - Released 06/09/2011
[extjs.git] / locale / ext-lang-fr.js
1 /*
2
3 This file is part of Ext JS 4
4
5 Copyright (c) 2011 Sencha Inc
6
7 Contact:  http://www.sencha.com/contact
8
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.
11
12 If you are unsure which license is appropriate for your use, please contact the sales department at http://www.sencha.com/contact.
13
14 */
15 /**
16  * France (France) translation
17  * By Thylia
18  * 09-11-2007, 02:22 PM
19  * updated by disizben (22 Sep 2008)
20  * updated by Thylia (20 Apr 2010)
21  */
22 Ext.onReady(function() {
23     if(Ext.Updater) {
24         Ext.Updater.defaults.indicatorText = '<div class="loading-indicator">En cours de chargement...</div>';
25     }
26     if(Ext.view.View){
27         Ext.view.View.prototype.emptyText = "";
28     }
29
30     if(Ext.grid.Panel){
31         Ext.grid.Panel.prototype.ddText = "{0} ligne{1} sélectionnée{1}";
32     }
33
34     if(Ext.LoadMask){
35         Ext.LoadMask.prototype.msg = "En cours de chargement...";
36     }
37
38     if(Ext.Date){
39         Ext.Date.shortMonthNames = [
40         "Janv",
41         "Févr",
42         "Mars",
43         "Avr",
44         "Mai",
45         "Juin",
46         "Juil",
47         "Août",
48         "Sept",
49         "Oct",
50         "Nov",
51         "Déc"
52         ];
53
54         Ext.Date.getShortMonthName = function(month) {
55             return Ext.Date.shortMonthNames[month];
56         };
57
58         Ext.Date.monthNames = [
59         "Janvier",
60         "Février",
61         "Mars",
62         "Avril",
63         "Mai",
64         "Juin",
65         "Juillet",
66         "Août",
67         "Septembre",
68         "Octobre",
69         "Novembre",
70         "Décembre"
71         ];
72
73         Ext.Date.monthNumbers = {
74             "Janvier" : 0,
75             "Février" : 1,
76             "Mars" : 2,
77             "Avril" : 3,
78             "Mai" : 4,
79             "Juin" : 5,
80             "Juillet" : 6,
81             "Août" : 7,
82             "Septembre" : 8,
83             "Octobre" : 9,
84             "Novembre" : 10,
85             "Décembre" : 11
86         };
87
88         Ext.Date.getMonthNumber = function(name) {
89             return Ext.Date.monthNumbers[Ext.util.Format.capitalize(name)];
90         };
91
92         Ext.Date.dayNames = [
93         "Dimanche",
94         "Lundi",
95         "Mardi",
96         "Mercredi",
97         "Jeudi",
98         "Vendredi",
99         "Samedi"
100         ];
101
102         Ext.Date.getShortDayName = function(day) {
103             return Ext.Date.dayNames[day].substring(0, 3);
104         };
105
106         Ext.Date.parseCodes.S.s = "(?:er)";
107
108         Ext.override(Date, {
109             getSuffix : function() {
110                 return (this.getDate() == 1) ? "er" : "";
111             }
112         });
113     }
114     if(Ext.MessageBox){
115         Ext.MessageBox.buttonText = {
116             ok     : "OK",
117             cancel : "Annuler",
118             yes    : "Oui",
119             no     : "Non"
120         };
121     }
122
123     if(Ext.util.Format){
124         Ext.apply(Ext.util.Format, {
125             thousandSeparator: '.',
126             decimalSeparator: ',',
127             currencySign: '\u20ac',  // French Euro
128             dateFormat: 'd/m/Y'
129         });
130     }
131
132     if(Ext.picker.Date){
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)",
145             format            : "d/m/y",
146             startDay          : 1
147         });
148     }
149
150     if(Ext.picker.Month) {
151         Ext.apply(Ext.picker.Month.prototype, {
152             okText            : "&#160;OK&#160;",
153             cancelText        : "Annuler"
154         });
155     }
156
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'
168         });
169     }
170
171     if(Ext.form.Basic){
172         Ext.form.Basic.prototype.waitTitle = "Veuillez patienter...";
173     }
174
175     if(Ext.form.field.Base){
176         Ext.form.field.Base.prototype.invalidText = "La valeur de ce champ est invalide";
177     }
178
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",
184             regexText     : "",
185             emptyText     : null
186         });
187     }
188
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"
196         });
197     }
198
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}",
206             format            : "d/m/y",
207             altFormats        : "d/m/Y|d-m-y|d-m-Y|d/m|d-m|dm|dmy|dmY|d|Y-m-d"
208         });
209     }
210
211     if(Ext.form.field.ComboBox){
212         Ext.apply(Ext.form.field.ComboBox.prototype, {
213             loadingText       : "En cours de chargement...",
214             valueNotFoundText : undefined
215         });
216     }
217
218     if(Ext.form.field.VTypes){
219         Ext.apply(Ext.form.field.VTypes, {
220             emailText    : 'Ce champ doit contenir une adresse email au format: "usager@example.com"',
221             urlText      : 'Ce champ doit contenir une URL au format suivant: "http:/'+'/www.example.com"',
222             alphaText    : 'Ce champ ne peut contenir que des lettres et le caractère souligné (_)',
223             alphanumText : 'Ce champ ne peut contenir que des caractères alphanumériques ainsi que le caractère souligné (_)'
224         });
225     }
226
227     if(Ext.form.field.HtmlEditor){
228         Ext.apply(Ext.form.field.HtmlEditor.prototype, {
229             createLinkText : "Veuillez entrer l'URL pour ce lien:",
230             buttonTips : {
231                 bold : {
232                     title: 'Gras (Ctrl+B)',
233                     text: 'Met le texte sélectionné en gras.',
234                     cls: Ext.baseCSSPrefix + 'html-editor-tip'
235                 },
236                 italic : {
237                     title: 'Italique (Ctrl+I)',
238                     text: 'Met le texte sélectionné en italique.',
239                     cls: Ext.baseCSSPrefix + 'html-editor-tip'
240                 },
241                 underline : {
242                     title: 'Souligné (Ctrl+U)',
243                     text: 'Souligne le texte sélectionné.',
244                     cls: Ext.baseCSSPrefix + 'html-editor-tip'
245                 },
246                 increasefontsize : {
247                     title: 'Agrandir la police',
248                     text: 'Augmente la taille de la police.',
249                     cls: Ext.baseCSSPrefix + 'html-editor-tip'
250                 },
251                 decreasefontsize : {
252                     title: 'Réduire la police',
253                     text: 'Réduit la taille de la police.',
254                     cls: Ext.baseCSSPrefix + 'html-editor-tip'
255                 },
256                 backcolor : {
257                     title: 'Couleur de surbrillance',
258                     text: 'Modifie la couleur de fond du texte sélectionné.',
259                     cls: Ext.baseCSSPrefix + 'html-editor-tip'
260                 },
261                 forecolor : {
262                     title: 'Couleur de police',
263                     text: 'Modifie la couleur du texte sélectionné.',
264                     cls: Ext.baseCSSPrefix + 'html-editor-tip'
265                 },
266                 justifyleft : {
267                     title: 'Aligner à gauche',
268                     text: 'Aligne le texte à gauche.',
269                     cls: Ext.baseCSSPrefix + 'html-editor-tip'
270                 },
271                 justifycenter : {
272                     title: 'Centrer',
273                     text: 'Centre le texte.',
274                     cls: Ext.baseCSSPrefix + 'html-editor-tip'
275                 },
276                 justifyright : {
277                     title: 'Aligner à droite',
278                     text: 'Aligner le texte à droite.',
279                     cls: Ext.baseCSSPrefix + 'html-editor-tip'
280                 },
281                 insertunorderedlist : {
282                     title: 'Liste à puce',
283                     text: 'Démarre une liste à puce.',
284                     cls: Ext.baseCSSPrefix + 'html-editor-tip'
285                 },
286                 insertorderedlist : {
287                     title: 'Liste numérotée',
288                     text: 'Démarre une liste numérotée.',
289                     cls: Ext.baseCSSPrefix + 'html-editor-tip'
290                 },
291                 createlink : {
292                     title: 'Lien hypertexte',
293                     text: 'Transforme en lien hypertexte.',
294                     cls: Ext.baseCSSPrefix + 'html-editor-tip'
295                 },
296                 sourceedit : {
297                     title: 'Code source',
298                     text: 'Basculer en mode édition du code source.',
299                     cls: Ext.baseCSSPrefix + 'html-editor-tip'
300                 }
301             }
302         });
303     }
304
305     if(Ext.grid.header.Container){
306         Ext.apply(Ext.grid.header.Container.prototype, {
307             sortAscText  : "Tri croissant",
308             sortDescText : "Tri décroissant",
309             columnsText  : "Colonnes"
310         });
311     }
312
313     if(Ext.grid.GroupingFeature){
314         Ext.apply(Ext.grid.GroupingFeature.prototype, {
315             emptyGroupText : '(Aucun)',
316             groupByText    : 'Grouper par ce champ',
317             showGroupsText : 'Afficher par groupes'
318         });
319     }
320
321     if(Ext.grid.PropertyColumnModel){
322         Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
323             nameText   : "Propriété",
324             valueText  : "Valeur",
325             dateFormat : "d/m/Y",
326             trueText   : "vrai",
327             falseText  : "faux"
328         });
329     }
330
331     if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
332         Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
333             splitTip            : "Cliquer et glisser pour redimensionner le panneau.",
334             collapsibleSplitTip : "Cliquer et glisser pour redimensionner le panneau. Double-cliquer pour le cacher."
335         });
336     }
337
338     if(Ext.form.field.Time){
339         Ext.apply(Ext.form.field.Time.prototype, {
340             minText     : "L'heure de ce champ ne peut être antérieure à {0}",
341             maxText     : "L'heure de ce champ ne peut être postérieure à {0}",
342             invalidText : "{0} n'est pas une heure valide",
343             format      : "H:i",
344             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"
345         });
346     }
347
348     if(Ext.form.CheckboxGroup){
349         Ext.apply(Ext.form.CheckboxGroup.prototype, {
350             blankText : "Vous devez sélectionner au moins un élément dans ce groupe"
351         });
352     }
353
354     if(Ext.form.RadioGroup){
355         Ext.apply(Ext.form.RadioGroup.prototype, {
356             blankText : "Vous devez sélectionner au moins un élément dans ce groupe"
357         });
358     }
359
360 });