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