Upgrade to ExtJS 4.0.0 - Released 04/26/2011
[extjs.git] / locale / ext-lang-fr_CA.js
1 /**
2  * France (Canadian) translation
3  * By BernardChhun
4  * 04-08-2007, 03:07 AM
5  */
6 Ext.onReady(function() {
7     if(Ext.Updater) {
8         Ext.Updater.defaults.indicatorText = '<div class="loading-indicator">En cours de chargement...</div>';
9     }
10
11     if(Ext.view.View){
12         Ext.view.View.prototype.emptyText = "";
13     }
14
15     if(Ext.grid.Panel){
16         Ext.grid.Panel.prototype.ddText = "{0} ligne(s) sélectionné(s)";
17     }
18
19     if(Ext.TabPanelItem){
20         Ext.TabPanelItem.prototype.closeText = "Fermer cette onglet";
21     }
22
23     if(Ext.form.field.Base){
24         Ext.form.field.Base.prototype.invalidText = "La valeur de ce champ est invalide";
25     }
26
27     if(Ext.LoadMask){
28         Ext.LoadMask.prototype.msg = "En cours de chargement...";
29     }
30
31     if(Ext.Date){
32         Ext.Date.shortMonthNames = [
33         "Janv",
34         "Févr",
35         "Mars",
36         "Avr",
37         "Mai",
38         "Juin",
39         "Juil",
40         "Août",
41         "Sept",
42         "Oct",
43         "Nov",
44         "Déc"
45         ];
46
47         Ext.Date.getShortMonthName = function(month) {
48             return Ext.Date.shortMonthNames[month];
49         };
50
51         Ext.Date.monthNames = [
52         "Janvier",
53         "Février",
54         "Mars",
55         "Avril",
56         "Mai",
57         "Juin",
58         "Juillet",
59         "Août",
60         "Septembre",
61         "Octobre",
62         "Novembre",
63         "Décembre"
64         ];
65
66         Ext.Date.monthNumbers = {
67             "Janvier" : 0,
68             "Février" : 1,
69             "Mars" : 2,
70             "Avril" : 3,
71             "Mai" : 4,
72             "Juin" : 5,
73             "Juillet" : 6,
74             "Août" : 7,
75             "Septembre" : 8,
76             "Octobre" : 9,
77             "Novembre" : 10,
78             "Décembre" : 11
79         };
80
81         Ext.Date.getMonthNumber = function(name) {
82             return Ext.Date.monthNumbers[Ext.util.Format.capitalize(name)];
83         };
84
85         Ext.Date.dayNames = [
86         "Dimanche",
87         "Lundi",
88         "Mardi",
89         "Mercredi",
90         "Jeudi",
91         "Vendredi",
92         "Samedi"
93         ];
94
95         Ext.Date.getShortDayName = function(day) {
96             return Ext.Date.dayNames[day].substring(0, 3);
97         };
98     }
99     if(Ext.MessageBox){
100         Ext.MessageBox.buttonText = {
101             ok     : "OK",
102             cancel : "Annuler",
103             yes    : "Oui",
104             no     : "Non"
105         };
106     }
107
108     if(Ext.util.Format){
109         Ext.apply(Ext.util.Format, {
110             thousandSeparator: '.',
111             decimalSeparator: ',',
112             currencySign: '$',  // Canadian Dollar
113             dateFormat: 'd/m/Y'
114         });
115     }
116
117     if(Ext.picker.Date){
118         Ext.apply(Ext.picker.Date.prototype, {
119             todayText         : "Aujourd'hui",
120             minText           : "Cette date est plus petite que la date minimum",
121             maxText           : "Cette date est plus grande que la date maximum",
122             disabledDaysText  : "",
123             disabledDatesText : "",
124             monthNames  : Ext.Date.monthNames,
125             dayNames            : Ext.Date.dayNames,
126             nextText          : 'Prochain mois (CTRL+Fléche droite)',
127             prevText          : 'Mois précédent (CTRL+Fléche gauche)',
128             monthYearText     : 'Choissisez un mois (CTRL+Fléche haut ou bas pour changer d\'année.)',
129             todayTip          : "{0} (Barre d'espace)",
130             format            : "d/m/y"
131         });
132     }
133
134     if(Ext.toolbar.Paging){
135         Ext.apply(Ext.PagingToolbar.prototype, {
136             beforePageText : "Page",
137             afterPageText  : "de {0}",
138             firstText      : "Première page",
139             prevText       : "Page précédente",
140             nextText       : "Prochaine page",
141             lastText       : "Dernière page",
142             refreshText    : "Recharger la page",
143             displayMsg     : "Page courante {0} - {1} de {2}",
144             emptyMsg       : 'Aucune donnée à afficher'
145         });
146     }
147
148     if(Ext.form.field.Text){
149         Ext.apply(Ext.form.field.Text.prototype, {
150             minLengthText : "La longueur minimum de ce champ est de {0} caractères",
151             maxLengthText : "La longueur maximum de ce champ est de {0} caractères",
152             blankText     : "Ce champ est obligatoire",
153             regexText     : "",
154             emptyText     : null
155         });
156     }
157
158     if(Ext.form.field.Number){
159         Ext.apply(Ext.form.field.Number.prototype, {
160             minText : "La valeur minimum de ce champ doit être de {0}",
161             maxText : "La valeur maximum de ce champ doit être de {0}",
162             nanText : "{0} n'est pas un nombre valide"
163         });
164     }
165
166     if(Ext.form.field.Date){
167         Ext.apply(Ext.form.field.Date.prototype, {
168             disabledDaysText  : "Désactivé",
169             disabledDatesText : "Désactivé",
170             minText           : "La date de ce champ doit être avant le {0}",
171             maxText           : "La date de ce champ doit être après le {0}",
172             invalidText       : "{0} n'est pas une date valide - il doit être au format suivant: {1}",
173             format            : "d/m/y"
174         });
175     }
176
177     if(Ext.form.field.ComboBox){
178         Ext.apply(Ext.form.field.ComboBox.prototype, {
179             loadingText       : "En cours de chargement...",
180             valueNotFoundText : undefined
181         });
182     }
183
184     if(Ext.form.field.VTypes){
185         Ext.apply(Ext.form.field.VTypes, {
186             emailText    : 'Ce champ doit contenir un courriel et doit être sous ce format: "usager@example.com"',
187             urlText      : 'Ce champ doit contenir une URL sous le format suivant: "http:/'+'/www.example.com"',
188             alphaText    : 'Ce champ ne peut contenir que des lettres et le caractère souligné (_)',
189             alphanumText : 'Ce champ ne peut contenir que des caractères alphanumériques ainsi que le caractère souligné (_)'
190         });
191     }
192
193     if(Ext.grid.header.Container){
194         Ext.apply(Ext.grid.header.Container.prototype, {
195             sortAscText  : "Tri ascendant",
196             sortDescText : "Tri descendant",
197             lockText     : "Verrouillé la colonne",
198             unlockText   : "Déverrouillé la colonne",
199             columnsText  : "Colonnes"
200         });
201     }
202
203     if(Ext.grid.PropertyColumnModel){
204         Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
205             nameText   : "Propriété",
206             valueText  : "Valeur",
207             dateFormat : "d/m/Y"
208         });
209     }
210
211     if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
212         Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
213             splitTip            : "Cliquer et glisser pour redimensionner le panneau.",
214             collapsibleSplitTip : "Cliquer et glisser pour redimensionner le panneau. Double-cliquer pour cacher le panneau."
215         });
216     }
217 });