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