3 This file is part of Ext JS 4
5 Copyright (c) 2011 Sencha Inc
7 Contact: http://www.sencha.com/contact
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.
12 If you are unsure which license is appropriate for your use, please contact the sales department at http://www.sencha.com/contact.
16 * France (France) translation
18 * 09-11-2007, 02:22 PM
19 * updated by disizben (22 Sep 2008)
20 * updated by Thylia (20 Apr 2010)
22 Ext.onReady(function() {
24 Ext.Updater.defaults.indicatorText = '<div class="loading-indicator">En cours de chargement...</div>';
27 Ext.view.View.prototype.emptyText = "";
31 Ext.grid.Panel.prototype.ddText = "{0} ligne{1} sélectionnée{1}";
35 Ext.LoadMask.prototype.msg = "En cours de chargement...";
39 Ext.Date.shortMonthNames = [
54 Ext.Date.getShortMonthName = function(month) {
55 return Ext.Date.shortMonthNames[month];
58 Ext.Date.monthNames = [
73 Ext.Date.monthNumbers = {
88 Ext.Date.getMonthNumber = function(name) {
89 return Ext.Date.monthNumbers[Ext.util.Format.capitalize(name)];
102 Ext.Date.getShortDayName = function(day) {
103 return Ext.Date.dayNames[day].substring(0, 3);
106 Ext.Date.parseCodes.S.s = "(?:er)";
109 getSuffix : function() {
110 return (this.getDate() == 1) ? "er" : "";
115 Ext.MessageBox.buttonText = {
124 Ext.apply(Ext.util.Format, {
125 thousandSeparator: '.',
126 decimalSeparator: ',',
127 currencySign: '\u20ac', // French Euro
133 Ext.apply(Ext.picker.Date.prototype, {
134 todayText : "Aujourd'hui",
135 minText : "Cette date est antérieure à la date minimum",
136 maxText : "Cette date est postérieure à la date maximum",
137 disabledDaysText : "",
138 disabledDatesText : "",
139 monthNames : Ext.Date.monthNames,
140 dayNames : Ext.Date.dayNames,
141 nextText : 'Mois suivant (CTRL+Flèche droite)',
142 prevText : "Mois précédent (CTRL+Flèche gauche)",
143 monthYearText : "Choisissez un mois (CTRL+Flèche haut ou bas pour changer d'année.)",
144 todayTip : "{0} (Barre d'espace)",
150 if(Ext.picker.Month) {
151 Ext.apply(Ext.picker.Month.prototype, {
152 okText : " OK ",
153 cancelText : "Annuler"
157 if(Ext.toolbar.Paging){
158 Ext.apply(Ext.PagingToolbar.prototype, {
159 beforePageText : "Page",
160 afterPageText : "sur {0}",
161 firstText : "Première page",
162 prevText : "Page précédente",
163 nextText : "Page suivante",
164 lastText : "Dernière page",
165 refreshText : "Actualiser la page",
166 displayMsg : "Page courante {0} - {1} sur {2}",
167 emptyMsg : 'Aucune donnée à afficher'
172 Ext.form.Basic.prototype.waitTitle = "Veuillez patienter...";
175 if(Ext.form.field.Base){
176 Ext.form.field.Base.prototype.invalidText = "La valeur de ce champ est invalide";
179 if(Ext.form.field.Text){
180 Ext.apply(Ext.form.field.Text.prototype, {
181 minLengthText : "La longueur minimum de ce champ est de {0} caractère(s)",
182 maxLengthText : "La longueur maximum de ce champ est de {0} caractère(s)",
183 blankText : "Ce champ est obligatoire",
189 if(Ext.form.field.Number){
190 Ext.apply(Ext.form.field.Number.prototype, {
191 decimalSeparator : ",",
192 decimalPrecision : 2,
193 minText : "La valeur minimum de ce champ doit être de {0}",
194 maxText : "La valeur maximum de ce champ doit être de {0}",
195 nanText : "{0} n'est pas un nombre valide"
199 if(Ext.form.field.Date){
200 Ext.apply(Ext.form.field.Date.prototype, {
201 disabledDaysText : "Désactivé",
202 disabledDatesText : "Désactivé",
203 minText : "La date de ce champ ne peut être antérieure au {0}",
204 maxText : "La date de ce champ ne peut être postérieure au {0}",
205 invalidText : "{0} n'est pas une date valide - elle doit être au format suivant: {1}",
207 altFormats : "d/m/Y|d-m-y|d-m-Y|d/m|d-m|dm|dmy|dmY|d|Y-m-d"
211 if(Ext.form.field.ComboBox){
212 Ext.apply(Ext.form.field.ComboBox.prototype, {
213 loadingText : "En cours de chargement...",
214 valueNotFoundText : undefined
218 if(Ext.form.field.VTypes){
219 Ext.apply(Ext.form.field.VTypes, {
220 emailText : 'Ce champ doit contenir une adresse email au format: "usager@example.com"',
221 urlText : 'Ce champ doit contenir une URL au format suivant: "http:/'+'/www.example.com"',
222 alphaText : 'Ce champ ne peut contenir que des lettres et le caractère souligné (_)',
223 alphanumText : 'Ce champ ne peut contenir que des caractères alphanumériques ainsi que le caractère souligné (_)'
227 if(Ext.form.field.HtmlEditor){
228 Ext.apply(Ext.form.field.HtmlEditor.prototype, {
229 createLinkText : "Veuillez entrer l'URL pour ce lien:",
232 title: 'Gras (Ctrl+B)',
233 text: 'Met le texte sélectionné en gras.',
234 cls: Ext.baseCSSPrefix + 'html-editor-tip'
237 title: 'Italique (Ctrl+I)',
238 text: 'Met le texte sélectionné en italique.',
239 cls: Ext.baseCSSPrefix + 'html-editor-tip'
242 title: 'Souligné (Ctrl+U)',
243 text: 'Souligne le texte sélectionné.',
244 cls: Ext.baseCSSPrefix + 'html-editor-tip'
247 title: 'Agrandir la police',
248 text: 'Augmente la taille de la police.',
249 cls: Ext.baseCSSPrefix + 'html-editor-tip'
252 title: 'Réduire la police',
253 text: 'Réduit la taille de la police.',
254 cls: Ext.baseCSSPrefix + 'html-editor-tip'
257 title: 'Couleur de surbrillance',
258 text: 'Modifie la couleur de fond du texte sélectionné.',
259 cls: Ext.baseCSSPrefix + 'html-editor-tip'
262 title: 'Couleur de police',
263 text: 'Modifie la couleur du texte sélectionné.',
264 cls: Ext.baseCSSPrefix + 'html-editor-tip'
267 title: 'Aligner à gauche',
268 text: 'Aligne le texte à gauche.',
269 cls: Ext.baseCSSPrefix + 'html-editor-tip'
273 text: 'Centre le texte.',
274 cls: Ext.baseCSSPrefix + 'html-editor-tip'
277 title: 'Aligner à droite',
278 text: 'Aligner le texte à droite.',
279 cls: Ext.baseCSSPrefix + 'html-editor-tip'
281 insertunorderedlist : {
282 title: 'Liste à puce',
283 text: 'Démarre une liste à puce.',
284 cls: Ext.baseCSSPrefix + 'html-editor-tip'
286 insertorderedlist : {
287 title: 'Liste numérotée',
288 text: 'Démarre une liste numérotée.',
289 cls: Ext.baseCSSPrefix + 'html-editor-tip'
292 title: 'Lien hypertexte',
293 text: 'Transforme en lien hypertexte.',
294 cls: Ext.baseCSSPrefix + 'html-editor-tip'
297 title: 'Code source',
298 text: 'Basculer en mode édition du code source.',
299 cls: Ext.baseCSSPrefix + 'html-editor-tip'
305 if(Ext.grid.header.Container){
306 Ext.apply(Ext.grid.header.Container.prototype, {
307 sortAscText : "Tri croissant",
308 sortDescText : "Tri décroissant",
309 columnsText : "Colonnes"
313 if(Ext.grid.GroupingFeature){
314 Ext.apply(Ext.grid.GroupingFeature.prototype, {
315 emptyGroupText : '(Aucun)',
316 groupByText : 'Grouper par ce champ',
317 showGroupsText : 'Afficher par groupes'
321 if(Ext.grid.PropertyColumnModel){
322 Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
323 nameText : "Propriété",
324 valueText : "Valeur",
325 dateFormat : "d/m/Y",
331 if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
332 Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
333 splitTip : "Cliquer et glisser pour redimensionner le panneau.",
334 collapsibleSplitTip : "Cliquer et glisser pour redimensionner le panneau. Double-cliquer pour le cacher."
338 if(Ext.form.field.Time){
339 Ext.apply(Ext.form.field.Time.prototype, {
340 minText : "L'heure de ce champ ne peut être antérieure à {0}",
341 maxText : "L'heure de ce champ ne peut être postérieure à {0}",
342 invalidText : "{0} n'est pas une heure valide",
344 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"
348 if(Ext.form.CheckboxGroup){
349 Ext.apply(Ext.form.CheckboxGroup.prototype, {
350 blankText : "Vous devez sélectionner au moins un élément dans ce groupe"
354 if(Ext.form.RadioGroup){
355 Ext.apply(Ext.form.RadioGroup.prototype, {
356 blankText : "Vous devez sélectionner au moins un élément dans ce groupe"