[625] | 1 | /*! |
---|
| 2 | * Ext JS Library 3.0.0 |
---|
| 3 | * Copyright(c) 2006-2009 Ext JS, LLC |
---|
| 4 | * licensing@extjs.com |
---|
| 5 | * http://www.extjs.com/license |
---|
| 6 | */ |
---|
| 7 | /* |
---|
| 8 | * France (France) translation |
---|
| 9 | * By Thylia |
---|
| 10 | * 09-11-2007, 02:22 PM |
---|
| 11 | * updated to 2.2 by disizben (22 Sep 2008) |
---|
| 12 | */ |
---|
| 13 | |
---|
| 14 | Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">En cours de chargement...</div>'; |
---|
| 15 | |
---|
| 16 | if(Ext.DataView){ |
---|
| 17 | Ext.DataView.prototype.emptyText = ""; |
---|
| 18 | } |
---|
| 19 | |
---|
| 20 | if(Ext.grid.GridPanel){ |
---|
| 21 | Ext.grid.GridPanel.prototype.ddText = "{0} ligne{1} sélectionnée{1}"; |
---|
| 22 | } |
---|
| 23 | |
---|
| 24 | if(Ext.LoadMask){ |
---|
| 25 | Ext.LoadMask.prototype.msg = "En cours de chargement..."; |
---|
| 26 | } |
---|
| 27 | |
---|
| 28 | Date.shortMonthNames = [ |
---|
| 29 | "Janv", |
---|
| 30 | "Févr", |
---|
| 31 | "Mars", |
---|
| 32 | "Avr", |
---|
| 33 | "Mai", |
---|
| 34 | "Juin", |
---|
| 35 | "Juil", |
---|
| 36 | "Août", |
---|
| 37 | "Sept", |
---|
| 38 | "Oct", |
---|
| 39 | "Nov", |
---|
| 40 | "Déc" |
---|
| 41 | ]; |
---|
| 42 | |
---|
| 43 | Date.getShortMonthName = function(month) { |
---|
| 44 | return Date.shortMonthNames[month]; |
---|
| 45 | }; |
---|
| 46 | |
---|
| 47 | Date.monthNames = [ |
---|
| 48 | "Janvier", |
---|
| 49 | "Février", |
---|
| 50 | "Mars", |
---|
| 51 | "Avril", |
---|
| 52 | "Mai", |
---|
| 53 | "Juin", |
---|
| 54 | "Juillet", |
---|
| 55 | "Août", |
---|
| 56 | "Septembre", |
---|
| 57 | "Octobre", |
---|
| 58 | "Novembre", |
---|
| 59 | "Décembre" |
---|
| 60 | ]; |
---|
| 61 | |
---|
| 62 | Date.monthNumbers = { |
---|
| 63 | "Janvier" : 0, |
---|
| 64 | "Février" : 1, |
---|
| 65 | "Mars" : 2, |
---|
| 66 | "Avril" : 3, |
---|
| 67 | "Mai" : 4, |
---|
| 68 | "Juin" : 5, |
---|
| 69 | "Juillet" : 6, |
---|
| 70 | "Août" : 7, |
---|
| 71 | "Septembre" : 8, |
---|
| 72 | "Octobre" : 9, |
---|
| 73 | "Novembre" : 10, |
---|
| 74 | "Décembre" : 11 |
---|
| 75 | }; |
---|
| 76 | |
---|
| 77 | Date.getMonthNumber = function(name) { |
---|
| 78 | return Date.monthNumbers[Ext.util.Format.capitalize(name)]; |
---|
| 79 | }; |
---|
| 80 | |
---|
| 81 | Date.dayNames = [ |
---|
| 82 | "Dimanche", |
---|
| 83 | "Lundi", |
---|
| 84 | "Mardi", |
---|
| 85 | "Mercredi", |
---|
| 86 | "Jeudi", |
---|
| 87 | "Vendredi", |
---|
| 88 | "Samedi" |
---|
| 89 | ]; |
---|
| 90 | |
---|
| 91 | Date.getShortDayName = function(day) { |
---|
| 92 | return Date.dayNames[day].substring(0, 3); |
---|
| 93 | }; |
---|
| 94 | |
---|
| 95 | Date.parseCodes.S.s = "(?:er)"; |
---|
| 96 | |
---|
| 97 | Ext.override(Date, { |
---|
| 98 | getSuffix : function() { |
---|
| 99 | return (this.getDate() == 1) ? "er" : ""; |
---|
| 100 | } |
---|
| 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 antérieure à la date minimum", |
---|
| 124 | maxText : "Cette date est postérieure à la date maximum", |
---|
| 125 | disabledDaysText : "", |
---|
| 126 | disabledDatesText : "", |
---|
| 127 | monthNames : Date.monthNames, |
---|
| 128 | dayNames : Date.dayNames, |
---|
| 129 | nextText : 'Mois suivant (CTRL+Flèche droite)', |
---|
| 130 | prevText : "Mois précédent (CTRL+Flèche gauche)", |
---|
| 131 | monthYearText : "Choisissez un mois (CTRL+Flèche haut ou bas pour changer d'année.)", |
---|
| 132 | todayTip : "{0} (Barre d'espace)", |
---|
| 133 | okText : " OK ", |
---|
| 134 | cancelText : "Annuler", |
---|
| 135 | format : "d/m/y", |
---|
| 136 | startDay : 1 |
---|
| 137 | }); |
---|
| 138 | } |
---|
| 139 | |
---|
| 140 | if(Ext.PagingToolbar){ |
---|
| 141 | Ext.apply(Ext.PagingToolbar.prototype, { |
---|
| 142 | beforePageText : "Page", |
---|
| 143 | afterPageText : "sur {0}", |
---|
| 144 | firstText : "Première page", |
---|
| 145 | prevText : "Page précédente", |
---|
| 146 | nextText : "Page suivante", |
---|
| 147 | lastText : "Dernière page", |
---|
| 148 | refreshText : "Actualiser la page", |
---|
| 149 | displayMsg : "Page courante {0} - {1} sur {2}", |
---|
| 150 | emptyMsg : 'Aucune donnée à afficher' |
---|
| 151 | }); |
---|
| 152 | } |
---|
| 153 | |
---|
| 154 | if(Ext.form.Field){ |
---|
| 155 | Ext.form.Field.prototype.invalidText = "La valeur de ce champ est invalide"; |
---|
| 156 | } |
---|
| 157 | |
---|
| 158 | if(Ext.form.TextField){ |
---|
| 159 | Ext.apply(Ext.form.TextField.prototype, { |
---|
| 160 | minLengthText : "La longueur minimum de ce champ est de {0} caractères", |
---|
| 161 | maxLengthText : "La longueur maximum de ce champ est de {0} caractères", |
---|
| 162 | blankText : "Ce champ est obligatoire", |
---|
| 163 | regexText : "", |
---|
| 164 | emptyText : null |
---|
| 165 | }); |
---|
| 166 | } |
---|
| 167 | |
---|
| 168 | if(Ext.form.NumberField){ |
---|
| 169 | Ext.apply(Ext.form.NumberField.prototype, { |
---|
| 170 | decimalSeparator : ",", |
---|
| 171 | decimalPrecision : 2, |
---|
| 172 | minText : "La valeur minimum de ce champ doit être de {0}", |
---|
| 173 | maxText : "La valeur maximum de ce champ doit être de {0}", |
---|
| 174 | nanText : "{0} n'est pas un nombre valide" |
---|
| 175 | }); |
---|
| 176 | } |
---|
| 177 | |
---|
| 178 | if(Ext.form.DateField){ |
---|
| 179 | Ext.apply(Ext.form.DateField.prototype, { |
---|
| 180 | disabledDaysText : "Désactivé", |
---|
| 181 | disabledDatesText : "Désactivé", |
---|
| 182 | minText : "La date de ce champ ne peut être antérieure au {0}", |
---|
| 183 | maxText : "La date de ce champ ne peut être postérieure au {0}", |
---|
| 184 | invalidText : "{0} n'est pas une date valide - elle doit être au format suivant: {1}", |
---|
| 185 | format : "d/m/y", |
---|
| 186 | altFormats : "d/m/Y|d-m-y|d-m-Y|d/m|d-m|dm|dmy|dmY|d|Y-m-d" |
---|
| 187 | }); |
---|
| 188 | } |
---|
| 189 | |
---|
| 190 | if(Ext.form.ComboBox){ |
---|
| 191 | Ext.apply(Ext.form.ComboBox.prototype, { |
---|
| 192 | loadingText : "En cours de chargement...", |
---|
| 193 | valueNotFoundText : undefined |
---|
| 194 | }); |
---|
| 195 | } |
---|
| 196 | |
---|
| 197 | if(Ext.form.VTypes){ |
---|
| 198 | Ext.apply(Ext.form.VTypes, { |
---|
| 199 | emailText : 'Ce champ doit contenir une adresse email au format: "usager@example.com"', |
---|
| 200 | urlText : 'Ce champ doit contenir une URL au format suivant: "http:/'+'/www.example.com"', |
---|
| 201 | alphaText : 'Ce champ ne peut contenir que des lettres et le caractère souligné (_)', |
---|
| 202 | alphanumText : 'Ce champ ne peut contenir que des caractères alphanumériques ainsi que le caractère souligné (_)' |
---|
| 203 | }); |
---|
| 204 | } |
---|
| 205 | |
---|
| 206 | if(Ext.form.HtmlEditor){ |
---|
| 207 | Ext.apply(Ext.form.HtmlEditor.prototype, { |
---|
| 208 | createLinkText : "Veuillez entrer l'URL pour ce lien:", |
---|
| 209 | buttonTips : { |
---|
| 210 | bold : { |
---|
| 211 | title: 'Gras (Ctrl+B)', |
---|
| 212 | text: 'Met le texte sélectionné en gras.', |
---|
| 213 | cls: 'x-html-editor-tip' |
---|
| 214 | }, |
---|
| 215 | italic : { |
---|
| 216 | title: 'Italique (Ctrl+I)', |
---|
| 217 | text: 'Met le texte sélectionné en italique.', |
---|
| 218 | cls: 'x-html-editor-tip' |
---|
| 219 | }, |
---|
| 220 | underline : { |
---|
| 221 | title: 'Souligné (Ctrl+U)', |
---|
| 222 | text: 'Souligne le texte sélectionné.', |
---|
| 223 | cls: 'x-html-editor-tip' |
---|
| 224 | }, |
---|
| 225 | increasefontsize : { |
---|
| 226 | title: 'Agrandir la police', |
---|
| 227 | text: 'Augmente la taille de la police.', |
---|
| 228 | cls: 'x-html-editor-tip' |
---|
| 229 | }, |
---|
| 230 | decreasefontsize : { |
---|
| 231 | title: 'Réduire la police', |
---|
| 232 | text: 'Réduit la taille de la police.', |
---|
| 233 | cls: 'x-html-editor-tip' |
---|
| 234 | }, |
---|
| 235 | backcolor : { |
---|
| 236 | title: 'Couleur de surbrillance', |
---|
| 237 | text: 'Modifie la couleur de fond du texte sélectionné.', |
---|
| 238 | cls: 'x-html-editor-tip' |
---|
| 239 | }, |
---|
| 240 | forecolor : { |
---|
| 241 | title: 'Couleur de police', |
---|
| 242 | text: 'Modifie la couleur du texte sélectionné.', |
---|
| 243 | cls: 'x-html-editor-tip' |
---|
| 244 | }, |
---|
| 245 | justifyleft : { |
---|
| 246 | title: 'Aligner à gauche', |
---|
| 247 | text: 'Aligne le texte à gauche.', |
---|
| 248 | cls: 'x-html-editor-tip' |
---|
| 249 | }, |
---|
| 250 | justifycenter : { |
---|
| 251 | title: 'Centrer', |
---|
| 252 | text: 'Centre le texte.', |
---|
| 253 | cls: 'x-html-editor-tip' |
---|
| 254 | }, |
---|
| 255 | justifyright : { |
---|
| 256 | title: 'Aligner à droite', |
---|
| 257 | text: 'Aligner le texte à droite.', |
---|
| 258 | cls: 'x-html-editor-tip' |
---|
| 259 | }, |
---|
| 260 | insertunorderedlist : { |
---|
| 261 | title: 'Liste à puce', |
---|
| 262 | text: 'Démarre une liste à puce.', |
---|
| 263 | cls: 'x-html-editor-tip' |
---|
| 264 | }, |
---|
| 265 | insertorderedlist : { |
---|
| 266 | title: 'Liste numérotée', |
---|
| 267 | text: 'Démarre une liste numérotée.', |
---|
| 268 | cls: 'x-html-editor-tip' |
---|
| 269 | }, |
---|
| 270 | createlink : { |
---|
| 271 | title: 'Lien hypertexte', |
---|
| 272 | text: 'Transforme en lien hypertexte.', |
---|
| 273 | cls: 'x-html-editor-tip' |
---|
| 274 | }, |
---|
| 275 | sourceedit : { |
---|
| 276 | title: 'Code source', |
---|
| 277 | text: 'Basculer en mode édition du code source.', |
---|
| 278 | cls: 'x-html-editor-tip' |
---|
| 279 | } |
---|
| 280 | } |
---|
| 281 | }); |
---|
| 282 | } |
---|
| 283 | |
---|
| 284 | if(Ext.grid.GridView){ |
---|
| 285 | Ext.apply(Ext.grid.GridView.prototype, { |
---|
| 286 | sortAscText : "Tri croissant", |
---|
| 287 | sortDescText : "Tri décroissant", |
---|
| 288 | columnsText : "Colonnes" |
---|
| 289 | }); |
---|
| 290 | } |
---|
| 291 | |
---|
| 292 | if(Ext.grid.GroupingView){ |
---|
| 293 | Ext.apply(Ext.grid.GroupingView.prototype, { |
---|
| 294 | emptyGroupText : '(Aucun)', |
---|
| 295 | groupByText : 'Grouper par ce champ', |
---|
| 296 | showGroupsText : 'Afficher par groupes' |
---|
| 297 | }); |
---|
| 298 | } |
---|
| 299 | |
---|
| 300 | if(Ext.grid.PropertyColumnModel){ |
---|
| 301 | Ext.apply(Ext.grid.PropertyColumnModel.prototype, { |
---|
| 302 | nameText : "Propriété", |
---|
| 303 | valueText : "Valeur", |
---|
| 304 | dateFormat : "d/m/Y" |
---|
| 305 | }); |
---|
| 306 | } |
---|
| 307 | |
---|
| 308 | if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){ |
---|
| 309 | Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, { |
---|
| 310 | splitTip : "Cliquer et glisser pour redimensionner le panneau.", |
---|
| 311 | collapsibleSplitTip : "Cliquer et glisser pour redimensionner le panneau. Double-cliquer pour le cacher." |
---|
| 312 | }); |
---|
| 313 | } |
---|
| 314 | |
---|
| 315 | if(Ext.form.TimeField){ |
---|
| 316 | Ext.apply(Ext.form.TimeField.prototype, { |
---|
| 317 | minText : "L'heure de ce champ ne peut être antérieure à {0}", |
---|
| 318 | maxText : "L'heure de ce champ ne peut être postérieure à {0}", |
---|
| 319 | invalidText : "{0} n'est pas une heure valide", |
---|
| 320 | format : "H:i", |
---|
| 321 | 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" |
---|
| 322 | }); |
---|
| 323 | } |
---|
| 324 | |
---|
| 325 | if(Ext.form.CheckboxGroup){ |
---|
| 326 | Ext.apply(Ext.form.CheckboxGroup.prototype, { |
---|
| 327 | blankText : "Vous devez sélectionner au moins un élément dans ce groupe" |
---|
| 328 | }); |
---|
| 329 | } |
---|
| 330 | |
---|
| 331 | if(Ext.form.RadioGroup){ |
---|
| 332 | Ext.apply(Ext.form.RadioGroup.prototype, { |
---|
| 333 | blankText : "Vous devez sélectionner au moins un élément dans ce groupe" |
---|
| 334 | }); |
---|
| 335 | } |
---|