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