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