215 lines
6.7 KiB
JavaScript
215 lines
6.7 KiB
JavaScript
|
/*
|
||
|
This file is part of Ext JS 4.2
|
||
|
|
||
|
Copyright (c) 2011-2013 Sencha Inc
|
||
|
|
||
|
Contact: http://www.sencha.com/contact
|
||
|
|
||
|
GNU General Public License Usage
|
||
|
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.
|
||
|
|
||
|
If you are unsure which license is appropriate for your use, please contact the sales department
|
||
|
at http://www.sencha.com/contact.
|
||
|
|
||
|
Build date: 2013-05-16 14:36:50 (f9be68accb407158ba2b1be2c226a6ce1f649314)
|
||
|
*/
|
||
|
/**
|
||
|
* France (Canadian) translation
|
||
|
* By BernardChhun
|
||
|
* 04-08-2007, 03:07 AM
|
||
|
*/
|
||
|
Ext.onReady(function() {
|
||
|
|
||
|
if (Ext.Date) {
|
||
|
Ext.Date.shortMonthNames = ["Janv", "Févr", "Mars", "Avr", "Mai", "Juin", "Juil", "Août", "Sept", "Oct", "Nov", "Déc"];
|
||
|
|
||
|
Ext.Date.getShortMonthName = function(month) {
|
||
|
return Ext.Date.shortMonthNames[month];
|
||
|
};
|
||
|
|
||
|
Ext.Date.monthNames = ["Janvier", "Février", "Mars", "Avril", "Mai", "Juin", "Juillet", "Août", "Septembre", "Octobre", "Novembre", "Décembre"];
|
||
|
|
||
|
Ext.Date.monthNumbers = {
|
||
|
"Janvier": 0,
|
||
|
"Janv": 0,
|
||
|
"Février": 1,
|
||
|
"Févr": 1,
|
||
|
"Mars": 2,
|
||
|
"Avril": 3,
|
||
|
"Avr": 3,
|
||
|
"Mai": 4,
|
||
|
"Juin": 5,
|
||
|
"Juillet": 6,
|
||
|
"Juil": 6,
|
||
|
"Août": 7,
|
||
|
"Septembre": 8,
|
||
|
"Sept": 8,
|
||
|
"Octobre": 9,
|
||
|
"Oct": 9,
|
||
|
"Novembre": 10,
|
||
|
"Nov": 10,
|
||
|
"Décembre": 11,
|
||
|
"Déc": 11
|
||
|
};
|
||
|
|
||
|
Ext.Date.getMonthNumber = function(name) {
|
||
|
return Ext.Date.monthNumbers[Ext.util.Format.capitalize(name)];
|
||
|
};
|
||
|
|
||
|
Ext.Date.dayNames = ["Dimanche", "Lundi", "Mardi", "Mercredi", "Jeudi", "Vendredi", "Samedi"];
|
||
|
|
||
|
Ext.Date.getShortDayName = function(day) {
|
||
|
return Ext.Date.dayNames[day].substring(0, 3);
|
||
|
};
|
||
|
}
|
||
|
|
||
|
if (Ext.util && Ext.util.Format) {
|
||
|
Ext.apply(Ext.util.Format, {
|
||
|
thousandSeparator: '.',
|
||
|
decimalSeparator: ',',
|
||
|
currencySign: '$',
|
||
|
// Canadian Dollar
|
||
|
dateFormat: 'd/m/Y'
|
||
|
});
|
||
|
}
|
||
|
});
|
||
|
|
||
|
Ext.define("Ext.locale.fr_CA.view.View", {
|
||
|
override: "Ext.view.View",
|
||
|
emptyText: ""
|
||
|
});
|
||
|
|
||
|
Ext.define("Ext.locale.fr_CA.grid.plugin.DragDrop", {
|
||
|
override: "Ext.grid.plugin.DragDrop",
|
||
|
dragText: "{0} ligne(s) sélectionné(s)"
|
||
|
});
|
||
|
|
||
|
Ext.define("Ext.locale.fr_CA.tab.Tab", {
|
||
|
override: "Ext.tab.Tab",
|
||
|
closeText: "Fermer cette onglet"
|
||
|
});
|
||
|
|
||
|
Ext.define("Ext.locale.fr_CA.form.field.Base", {
|
||
|
override: "Ext.form.field.Base",
|
||
|
invalidText: "La valeur de ce champ est invalide"
|
||
|
});
|
||
|
|
||
|
// changing the msg text below will affect the LoadMask
|
||
|
Ext.define("Ext.locale.fr_CA.view.AbstractView", {
|
||
|
override: "Ext.view.AbstractView",
|
||
|
loadingText: "En cours de chargement..."
|
||
|
});
|
||
|
|
||
|
Ext.define("Ext.locale.fr_CA.picker.Date", {
|
||
|
override: "Ext.picker.Date",
|
||
|
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: "",
|
||
|
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"
|
||
|
});
|
||
|
|
||
|
Ext.define("Ext.locale.fr_CA.toolbar.Paging", {
|
||
|
override: "Ext.PagingToolbar",
|
||
|
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'
|
||
|
});
|
||
|
|
||
|
Ext.define("Ext.locale.fr_CA.form.field.Text", {
|
||
|
override: "Ext.form.field.Text",
|
||
|
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
|
||
|
});
|
||
|
|
||
|
Ext.define("Ext.locale.fr_CA.form.field.Number", {
|
||
|
override: "Ext.form.field.Number",
|
||
|
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",
|
||
|
negativeText: "La valeur de ce champ ne peut être négative"
|
||
|
});
|
||
|
|
||
|
Ext.define("Ext.locale.fr_CA.form.field.File", {
|
||
|
override: "Ext.form.field.File",
|
||
|
buttonText: "Parcourir..."
|
||
|
});
|
||
|
|
||
|
Ext.define("Ext.locale.fr_CA.form.field.Date", {
|
||
|
override: "Ext.form.field.Date",
|
||
|
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"
|
||
|
});
|
||
|
|
||
|
Ext.define("Ext.locale.fr_CA.form.field.ComboBox", {
|
||
|
override: "Ext.form.field.ComboBox",
|
||
|
valueNotFoundText: undefined
|
||
|
}, function() {
|
||
|
Ext.apply(Ext.form.field.ComboBox.prototype.defaultListConfig, {
|
||
|
loadingText: "En cours de chargement..."
|
||
|
});
|
||
|
});
|
||
|
|
||
|
Ext.define("Ext.locale.fr_CA.form.field.VTypes", {
|
||
|
override: "Ext.form.field.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é (_)'
|
||
|
});
|
||
|
|
||
|
Ext.define("Ext.locale.fr_CA.grid.header.Container", {
|
||
|
override: "Ext.grid.header.Container",
|
||
|
sortAscText: "Tri ascendant",
|
||
|
sortDescText: "Tri descendant",
|
||
|
lockText: "Verrouillé la colonne",
|
||
|
unlockText: "Déverrouillé la colonne",
|
||
|
columnsText: "Colonnes"
|
||
|
});
|
||
|
|
||
|
Ext.define("Ext.locale.fr_CA.grid.PropertyColumnModel", {
|
||
|
override: "Ext.grid.PropertyColumnModel",
|
||
|
nameText: "Propriété",
|
||
|
valueText: "Valeur",
|
||
|
dateFormat: "d/m/Y"
|
||
|
});
|
||
|
|
||
|
Ext.define("Ext.locale.fr_CA.window.MessageBox", {
|
||
|
override: "Ext.window.MessageBox",
|
||
|
buttonText: {
|
||
|
ok: "OK",
|
||
|
cancel: "Annuler",
|
||
|
yes: "Oui",
|
||
|
no: "Non"
|
||
|
}
|
||
|
});
|
||
|
|
||
|
// This is needed until we can refactor all of the locales into individual files
|
||
|
Ext.define("Ext.locale.fr_CA.Component", {
|
||
|
override: "Ext.Component"
|
||
|
});
|
||
|
|