Upgrade to ExtJS 4.0.7 - Released 10/19/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             valueNotFoundText : undefined
214         });
215         Ext.apply(Ext.form.field.ComboBox.prototype.defaultListConfig, {
216             loadingText       : "En cours de chargement..."
217         });
218     }
219
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é (_)'
226         });
227     }
228
229     if(Ext.form.field.HtmlEditor){
230         Ext.apply(Ext.form.field.HtmlEditor.prototype, {
231             createLinkText : "Veuillez entrer l'URL pour ce lien:",
232             buttonTips : {
233                 bold : {
234                     title: 'Gras (Ctrl+B)',
235                     text: 'Met le texte sélectionné en gras.',
236                     cls: Ext.baseCSSPrefix + 'html-editor-tip'
237                 },
238                 italic : {
239                     title: 'Italique (Ctrl+I)',
240                     text: 'Met le texte sélectionné en italique.',
241                     cls: Ext.baseCSSPrefix + 'html-editor-tip'
242                 },
243                 underline : {
244                     title: 'Souligné (Ctrl+U)',
245                     text: 'Souligne le texte sélectionné.',
246                     cls: Ext.baseCSSPrefix + 'html-editor-tip'
247                 },
248                 increasefontsize : {
249                     title: 'Agrandir la police',
250                     text: 'Augmente la taille de la police.',
251                     cls: Ext.baseCSSPrefix + 'html-editor-tip'
252                 },
253                 decreasefontsize : {
254                     title: 'Réduire la police',
255                     text: 'Réduit la taille de la police.',
256                     cls: Ext.baseCSSPrefix + 'html-editor-tip'
257                 },
258                 backcolor : {
259                     title: 'Couleur de surbrillance',
260                     text: 'Modifie la couleur de fond du texte sélectionné.',
261                     cls: Ext.baseCSSPrefix + 'html-editor-tip'
262                 },
263                 forecolor : {
264                     title: 'Couleur de police',
265                     text: 'Modifie la couleur du texte sélectionné.',
266                     cls: Ext.baseCSSPrefix + 'html-editor-tip'
267                 },
268                 justifyleft : {
269                     title: 'Aligner à gauche',
270                     text: 'Aligne le texte à gauche.',
271                     cls: Ext.baseCSSPrefix + 'html-editor-tip'
272                 },
273                 justifycenter : {
274                     title: 'Centrer',
275                     text: 'Centre le texte.',
276                     cls: Ext.baseCSSPrefix + 'html-editor-tip'
277                 },
278                 justifyright : {
279                     title: 'Aligner à droite',
280                     text: 'Aligner le texte à droite.',
281                     cls: Ext.baseCSSPrefix + 'html-editor-tip'
282                 },
283                 insertunorderedlist : {
284                     title: 'Liste à puce',
285                     text: 'Démarre une liste à puce.',
286                     cls: Ext.baseCSSPrefix + 'html-editor-tip'
287                 },
288                 insertorderedlist : {
289                     title: 'Liste numérotée',
290                     text: 'Démarre une liste numérotée.',
291                     cls: Ext.baseCSSPrefix + 'html-editor-tip'
292                 },
293                 createlink : {
294                     title: 'Lien hypertexte',
295                     text: 'Transforme en lien hypertexte.',
296                     cls: Ext.baseCSSPrefix + 'html-editor-tip'
297                 },
298                 sourceedit : {
299                     title: 'Code source',
300                     text: 'Basculer en mode édition du code source.',
301                     cls: Ext.baseCSSPrefix + 'html-editor-tip'
302                 }
303             }
304         });
305     }
306
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"
312         });
313     }
314
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'
320         });
321     }
322
323     if(Ext.grid.PropertyColumnModel){
324         Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
325             nameText   : "Propriété",
326             valueText  : "Valeur",
327             dateFormat : "d/m/Y",
328             trueText   : "vrai",
329             falseText  : "faux"
330         });
331     }
332
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."
337         });
338     }
339
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",
345             format      : "H:i",
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"
347         });
348     }
349
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"
353         });
354     }
355
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"
359         });
360     }
361
362 });