1
|
|
2
|
|
3
|
|
4
|
|
5
|
|
6
|
|
7
|
|
8
|
|
9
|
|
10
|
|
11
|
|
12
|
|
13
|
|
14
|
|
15
|
|
16
|
|
17
|
|
18
|
|
19
|
|
20
|
|
21
|
|
22
|
|
23
|
|
24
|
|
25
|
|
26
|
|
27
|
|
28
|
Ext.onReady(function() {
|
29
|
|
30
|
if (Ext.Date) {
|
31
|
Ext.Date.shortMonthNames = ["Janv", "Févr", "Mars", "Avr", "Mai", "Juin", "Juil", "Août", "Sept", "Oct", "Nov", "Déc"];
|
32
|
|
33
|
Ext.Date.getShortMonthName = function(month) {
|
34
|
return Ext.Date.shortMonthNames[month];
|
35
|
};
|
36
|
|
37
|
Ext.Date.monthNames = ["Janvier", "Février", "Mars", "Avril", "Mai", "Juin", "Juillet", "Août", "Septembre", "Octobre", "Novembre", "Décembre"];
|
38
|
|
39
|
Ext.Date.monthNumbers = {
|
40
|
"Janvier": 0,
|
41
|
"Janv": 0,
|
42
|
"Février": 1,
|
43
|
"Févr": 1,
|
44
|
"Mars": 2,
|
45
|
"Avril": 3,
|
46
|
"Avr": 3,
|
47
|
"Mai": 4,
|
48
|
"Juin": 5,
|
49
|
"Juillet": 6,
|
50
|
"Juil": 6,
|
51
|
"Août": 7,
|
52
|
"Septembre": 8,
|
53
|
"Sept": 8,
|
54
|
"Octobre": 9,
|
55
|
"Oct": 9,
|
56
|
"Novembre": 10,
|
57
|
"Nov": 10,
|
58
|
"Décembre": 11,
|
59
|
"Déc": 11
|
60
|
};
|
61
|
|
62
|
Ext.Date.getMonthNumber = function(name) {
|
63
|
return Ext.Date.monthNumbers[Ext.util.Format.capitalize(name)];
|
64
|
};
|
65
|
|
66
|
Ext.Date.dayNames = ["Dimanche", "Lundi", "Mardi", "Mercredi", "Jeudi", "Vendredi", "Samedi"];
|
67
|
|
68
|
Ext.Date.getShortDayName = function(day) {
|
69
|
return Ext.Date.dayNames[day].substring(0, 3);
|
70
|
};
|
71
|
|
72
|
Ext.Date.parseCodes.S.s = "(?:er)";
|
73
|
|
74
|
Ext.Date.getSuffix = function() {
|
75
|
return (this.getDate() == 1) ? "er" : "";
|
76
|
};
|
77
|
}
|
78
|
|
79
|
if (Ext.util && Ext.util.Format) {
|
80
|
Ext.apply(Ext.util.Format, {
|
81
|
thousandSeparator: '.',
|
82
|
decimalSeparator: ',',
|
83
|
currencySign: '\u20ac',
|
84
|
|
85
|
dateFormat: 'd/m/Y'
|
86
|
});
|
87
|
}
|
88
|
});
|
89
|
|
90
|
Ext.define("Ext.locale.fr.view.View", {
|
91
|
override: "Ext.view.View",
|
92
|
emptyText: ""
|
93
|
});
|
94
|
|
95
|
Ext.define("Ext.locale.fr.grid.plugin.DragDrop", {
|
96
|
override: "Ext.grid.plugin.DragDrop",
|
97
|
dragText: "{0} ligne{1} sélectionnée{1}"
|
98
|
});
|
99
|
|
100
|
Ext.define("Ext.locale.fr.tab.Tab", {
|
101
|
override: "Ext.tab.Tab",
|
102
|
closeText: "Fermer cette onglet"
|
103
|
});
|
104
|
|
105
|
|
106
|
Ext.define("Ext.locale.fr.view.AbstractView", {
|
107
|
override: "Ext.view.AbstractView",
|
108
|
loadingText: "En cours de chargement..."
|
109
|
});
|
110
|
|
111
|
Ext.define("Ext.locale.fr.picker.Date", {
|
112
|
override: "Ext.picker.Date",
|
113
|
todayText: "Aujourd'hui",
|
114
|
minText: "Cette date est antérieure à la date minimum",
|
115
|
maxText: "Cette date est postérieure à la date maximum",
|
116
|
disabledDaysText: "",
|
117
|
disabledDatesText: "",
|
118
|
nextText: 'Mois suivant (CTRL+Flèche droite)',
|
119
|
prevText: "Mois précédent (CTRL+Flèche gauche)",
|
120
|
monthYearText: "Choisissez un mois (CTRL+Flèche haut ou bas pour changer d'année.)",
|
121
|
todayTip: "{0} (Barre d'espace)",
|
122
|
format: "d/m/y",
|
123
|
startDay: 1
|
124
|
});
|
125
|
|
126
|
Ext.define("Ext.locale.fr.picker.Month", {
|
127
|
override: "Ext.picker.Month",
|
128
|
okText: " OK ",
|
129
|
cancelText: "Annuler"
|
130
|
});
|
131
|
|
132
|
Ext.define("Ext.locale.fr.toolbar.Paging", {
|
133
|
override: "Ext.PagingToolbar",
|
134
|
beforePageText: "Page",
|
135
|
afterPageText: "sur {0}",
|
136
|
firstText: "Première page",
|
137
|
prevText: "Page précédente",
|
138
|
nextText: "Page suivante",
|
139
|
lastText: "Dernière page",
|
140
|
refreshText: "Actualiser la page",
|
141
|
displayMsg: "Page courante {0} - {1} sur {2}",
|
142
|
emptyMsg: 'Aucune donnée à afficher'
|
143
|
});
|
144
|
|
145
|
Ext.define("Ext.locale.fr.form.Basic", {
|
146
|
override: "Ext.form.Basic",
|
147
|
waitTitle: "Veuillez patienter..."
|
148
|
});
|
149
|
|
150
|
Ext.define("Ext.locale.fr.form.field.Base", {
|
151
|
override: "Ext.form.field.Base",
|
152
|
invalidText: "La valeur de ce champ est invalide"
|
153
|
});
|
154
|
|
155
|
Ext.define("Ext.locale.fr.form.field.Text", {
|
156
|
override: "Ext.form.field.Text",
|
157
|
minLengthText: "La longueur minimum de ce champ est de {0} caractère(s)",
|
158
|
maxLengthText: "La longueur maximum de ce champ est de {0} caractère(s)",
|
159
|
blankText: "Ce champ est obligatoire",
|
160
|
regexText: "",
|
161
|
emptyText: null
|
162
|
});
|
163
|
|
164
|
Ext.define("Ext.locale.fr.form.field.Number", {
|
165
|
override: "Ext.form.field.Number",
|
166
|
decimalSeparator: ",",
|
167
|
decimalPrecision: 2,
|
168
|
minText: "La valeur minimum de ce champ doit être de {0}",
|
169
|
maxText: "La valeur maximum de ce champ doit être de {0}",
|
170
|
nanText: "{0} n'est pas un nombre valide",
|
171
|
negativeText: "La valeur de ce champ ne peut être négative"
|
172
|
});
|
173
|
|
174
|
Ext.define("Ext.locale.fr.form.field.File", {
|
175
|
override: "Ext.form.field.File",
|
176
|
buttonText: "Parcourir..."
|
177
|
});
|
178
|
|
179
|
Ext.define("Ext.locale.fr.form.field.Date", {
|
180
|
override: "Ext.form.field.Date",
|
181
|
disabledDaysText: "Désactivé",
|
182
|
disabledDatesText: "Désactivé",
|
183
|
minText: "La date de ce champ ne peut être antérieure au {0}",
|
184
|
maxText: "La date de ce champ ne peut être postérieure au {0}",
|
185
|
invalidText: "{0} n'est pas une date valide - elle doit être au format suivant: {1}",
|
186
|
format: "d/m/y",
|
187
|
altFormats: "d/m/Y|d-m-y|d-m-Y|d/m|d-m|dm|dmy|dmY|d|Y-m-d"
|
188
|
});
|
189
|
|
190
|
Ext.define("Ext.locale.fr.form.field.ComboBox", {
|
191
|
override: "Ext.form.field.ComboBox",
|
192
|
valueNotFoundText: undefined
|
193
|
}, function() {
|
194
|
Ext.apply(Ext.form.field.ComboBox.prototype.defaultListConfig, {
|
195
|
loadingText: "En cours de chargement..."
|
196
|
});
|
197
|
});
|
198
|
|
199
|
Ext.define("Ext.locale.fr.form.field.VTypes", {
|
200
|
override: "Ext.form.field.VTypes",
|
201
|
emailText: 'Ce champ doit contenir une adresse email au format: "usager@example.com"',
|
202
|
urlText: 'Ce champ doit contenir une URL au format suivant: "http:/' + '/www.example.com"',
|
203
|
alphaText: 'Ce champ ne peut contenir que des lettres et le caractère souligné (_)',
|
204
|
alphanumText: 'Ce champ ne peut contenir que des caractères alphanumériques ainsi que le caractère souligné (_)'
|
205
|
});
|
206
|
|
207
|
Ext.define("Ext.locale.fr.form.field.HtmlEditor", {
|
208
|
override: "Ext.form.field.HtmlEditor",
|
209
|
createLinkText: "Veuillez entrer l'URL pour ce lien:"
|
210
|
}, function() {
|
211
|
Ext.apply(Ext.form.field.HtmlEditor.prototype, {
|
212
|
buttonTips: {
|
213
|
bold: {
|
214
|
title: 'Gras (Ctrl+B)',
|
215
|
text: 'Met le texte sélectionné en gras.',
|
216
|
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
217
|
},
|
218
|
italic: {
|
219
|
title: 'Italique (Ctrl+I)',
|
220
|
text: 'Met le texte sélectionné en italique.',
|
221
|
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
222
|
},
|
223
|
underline: {
|
224
|
title: 'Souligné (Ctrl+U)',
|
225
|
text: 'Souligne le texte sélectionné.',
|
226
|
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
227
|
},
|
228
|
increasefontsize: {
|
229
|
title: 'Agrandir la police',
|
230
|
text: 'Augmente la taille de la police.',
|
231
|
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
232
|
},
|
233
|
decreasefontsize: {
|
234
|
title: 'Réduire la police',
|
235
|
text: 'Réduit la taille de la police.',
|
236
|
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
237
|
},
|
238
|
backcolor: {
|
239
|
title: 'Couleur de surbrillance',
|
240
|
text: 'Modifie la couleur de fond du texte sélectionné.',
|
241
|
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
242
|
},
|
243
|
forecolor: {
|
244
|
title: 'Couleur de police',
|
245
|
text: 'Modifie la couleur du texte sélectionné.',
|
246
|
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
247
|
},
|
248
|
justifyleft: {
|
249
|
title: 'Aligner à gauche',
|
250
|
text: 'Aligne le texte à gauche.',
|
251
|
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
252
|
},
|
253
|
justifycenter: {
|
254
|
title: 'Centrer',
|
255
|
text: 'Centre le texte.',
|
256
|
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
257
|
},
|
258
|
justifyright: {
|
259
|
title: 'Aligner à droite',
|
260
|
text: 'Aligner le texte à droite.',
|
261
|
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
262
|
},
|
263
|
insertunorderedlist: {
|
264
|
title: 'Liste à puce',
|
265
|
text: 'Démarre une liste à puce.',
|
266
|
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
267
|
},
|
268
|
insertorderedlist: {
|
269
|
title: 'Liste numérotée',
|
270
|
text: 'Démarre une liste numérotée.',
|
271
|
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
272
|
},
|
273
|
createlink: {
|
274
|
title: 'Lien hypertexte',
|
275
|
text: 'Transforme en lien hypertexte.',
|
276
|
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
277
|
},
|
278
|
sourceedit: {
|
279
|
title: 'Code source',
|
280
|
text: 'Basculer en mode édition du code source.',
|
281
|
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
282
|
}
|
283
|
}
|
284
|
});
|
285
|
});
|
286
|
|
287
|
Ext.define("Ext.locale.fr.grid.header.Container", {
|
288
|
override: "Ext.grid.header.Container",
|
289
|
sortAscText: "Tri croissant",
|
290
|
sortDescText: "Tri décroissant",
|
291
|
columnsText: "Colonnes"
|
292
|
});
|
293
|
|
294
|
Ext.define("Ext.locale.fr.grid.GroupingFeature", {
|
295
|
override: "Ext.grid.GroupingFeature",
|
296
|
emptyGroupText: '(Aucun)',
|
297
|
groupByText: 'Grouper par ce champ',
|
298
|
showGroupsText: 'Afficher par groupes'
|
299
|
});
|
300
|
|
301
|
Ext.define("Ext.locale.fr.grid.PropertyColumnModel", {
|
302
|
override: "Ext.grid.PropertyColumnModel",
|
303
|
nameText: "Propriété",
|
304
|
valueText: "Valeur",
|
305
|
dateFormat: "d/m/Y",
|
306
|
trueText: "vrai",
|
307
|
falseText: "faux"
|
308
|
});
|
309
|
|
310
|
Ext.define("Ext.locale.fr.form.field.Time", {
|
311
|
override: "Ext.form.field.Time",
|
312
|
minText: "L'heure de ce champ ne peut être antérieure à {0}",
|
313
|
maxText: "L'heure de ce champ ne peut être postérieure à {0}",
|
314
|
invalidText: "{0} n'est pas une heure valide",
|
315
|
format: "H:i",
|
316
|
altFormats: "g:ia|g:iA|g:i a|g:i A|h:i|g:i|H:i|ga|h a|g a|g A|gi|hi|Hi|gia|hia|g|H"
|
317
|
});
|
318
|
|
319
|
Ext.define("Ext.locale.fr.form.CheckboxGroup", {
|
320
|
override: "Ext.form.CheckboxGroup",
|
321
|
blankText: "Vous devez sélectionner au moins un élément dans ce groupe"
|
322
|
});
|
323
|
|
324
|
Ext.define("Ext.locale.fr.form.RadioGroup", {
|
325
|
override: "Ext.form.RadioGroup",
|
326
|
blankText: "Vous devez sélectionner au moins un élément dans ce groupe"
|
327
|
});
|
328
|
|
329
|
Ext.define("Ext.locale.fr.window.MessageBox", {
|
330
|
override: "Ext.window.MessageBox",
|
331
|
buttonText: {
|
332
|
ok: "OK",
|
333
|
cancel: "Annuler",
|
334
|
yes: "Oui",
|
335
|
no: "Non"
|
336
|
}
|
337
|
});
|
338
|
|
339
|
|
340
|
Ext.define("Ext.locale.fr.Component", {
|
341
|
override: "Ext.Component"
|
342
|
});
|
343
|
|