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