Upgrade to ExtJS 3.1.1 - Released 02/08/2010
[extjs.git] / src / locale / ext-lang-fr_CA.js
1 /*
2  * France (Canadian) translation
3  * By BernardChhun
4  * 04-08-2007, 03:07 AM
5  */
6
7 Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">En cours de chargement...</div>';
8
9 if(Ext.View){
10    Ext.View.prototype.emptyText = "";
11 }
12
13 if(Ext.grid.GridPanel){
14    Ext.grid.GridPanel.prototype.ddText = "{0} ligne(s) sélectionné(s)";
15 }
16
17 if(Ext.TabPanelItem){
18    Ext.TabPanelItem.prototype.closeText = "Fermer cette onglet";
19 }
20
21 if(Ext.form.Field){
22    Ext.form.Field.prototype.invalidText = "La valeur de ce champ est invalide";
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 if(Ext.MessageBox){
97    Ext.MessageBox.buttonText = {
98       ok     : "OK",
99       cancel : "Annuler",
100       yes    : "Oui",
101       no     : "Non"
102    };
103 }
104
105 if(Ext.util.Format){
106    Ext.util.Format.date = function(v, format){
107       if(!v) return "";
108       if(!(v instanceof Date)) v = new Date(Date.parse(v));
109       return v.dateFormat(format || "d/m/Y");
110    };
111 }
112
113 if(Ext.DatePicker){
114    Ext.apply(Ext.DatePicker.prototype, {
115       todayText         : "Aujourd'hui",
116       minText           : "Cette date est plus petite que la date minimum",
117       maxText           : "Cette date est plus grande que la date maximum",
118       disabledDaysText  : "",
119       disabledDatesText : "",
120       monthNames        : Date.monthNames,
121       dayNames          : Date.dayNames,
122       nextText          : 'Prochain mois (CTRL+Fléche droite)',
123       prevText          : 'Mois précédent (CTRL+Fléche gauche)',
124       monthYearText     : 'Choissisez un mois (CTRL+Fléche haut ou bas pour changer d\'année.)',
125       todayTip          : "{0} (Barre d'espace)",
126       format            : "d/m/y"
127    });
128 }
129
130 if(Ext.PagingToolbar){
131    Ext.apply(Ext.PagingToolbar.prototype, {
132       beforePageText : "Page",
133       afterPageText  : "de {0}",
134       firstText      : "Première page",
135       prevText       : "Page précédente",
136       nextText       : "Prochaine page",
137       lastText       : "Dernière page",
138       refreshText    : "Recharger la page",
139       displayMsg     : "Page courante {0} - {1} de {2}",
140       emptyMsg       : 'Aucune donnée à afficher'
141    });
142 }
143
144 if(Ext.form.TextField){
145    Ext.apply(Ext.form.TextField.prototype, {
146       minLengthText : "La longueur minimum de ce champ est de {0} caractères",
147       maxLengthText : "La longueur maximum de ce champ est de {0} caractères",
148       blankText     : "Ce champ est obligatoire",
149       regexText     : "",
150       emptyText     : null
151    });
152 }
153
154 if(Ext.form.NumberField){
155    Ext.apply(Ext.form.NumberField.prototype, {
156       minText : "La valeur minimum de ce champ doit être de {0}",
157       maxText : "La valeur maximum de ce champ doit être de {0}",
158       nanText : "{0} n'est pas un nombre valide"
159    });
160 }
161
162 if(Ext.form.DateField){
163    Ext.apply(Ext.form.DateField.prototype, {
164       disabledDaysText  : "Désactivé",
165       disabledDatesText : "Désactivé",
166       minText           : "La date de ce champ doit être avant le {0}",
167       maxText           : "La date de ce champ doit être après le {0}",
168       invalidText       : "{0} n'est pas une date valide - il doit être au format suivant: {1}",
169       format            : "d/m/y"
170    });
171 }
172
173 if(Ext.form.ComboBox){
174    Ext.apply(Ext.form.ComboBox.prototype, {
175       loadingText       : "En cours de chargement...",
176       valueNotFoundText : undefined
177    });
178 }
179
180 if(Ext.form.VTypes){
181    Ext.apply(Ext.form.VTypes, {
182       emailText    : 'Ce champ doit contenir un courriel et doit être sous ce format: "usager@example.com"',
183       urlText      : 'Ce champ doit contenir une URL sous le format suivant: "http:/'+'/www.example.com"',
184       alphaText    : 'Ce champ ne peut contenir que des lettres et le caractère souligné (_)',
185       alphanumText : 'Ce champ ne peut contenir que des caractères alphanumériques ainsi que le caractère souligné (_)'
186    });
187 }
188
189 if(Ext.grid.GridView){
190    Ext.apply(Ext.grid.GridView.prototype, {
191       sortAscText  : "Tri ascendant",
192       sortDescText : "Tri descendant",
193       lockText     : "Verrouillé la colonne",
194       unlockText   : "Déverrouillé la colonne",
195       columnsText  : "Colonnes"
196    });
197 }
198
199 if(Ext.grid.PropertyColumnModel){
200    Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
201       nameText   : "Propriété",
202       valueText  : "Valeur",
203       dateFormat : "d/m/Y"
204    });
205 }
206
207 if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
208    Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
209       splitTip            : "Cliquer et glisser pour redimensionner le panneau.",
210       collapsibleSplitTip : "Cliquer et glisser pour redimensionner le panneau. Double-cliquer pour cacher le panneau."
211    });
212 }