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