mirror of
git://git.proxmox.com/git/extjs.git
synced 2025-12-06 02:56:58 -05:00
Compare commits
3 Commits
c0c1b0b633
...
18909118c3
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
18909118c3 | ||
|
|
e7431aadc4 | ||
|
|
d83ed670f0 |
2
Makefile
2
Makefile
@ -29,7 +29,7 @@ $(ORIG_SRC_TAR): $(BUILDDIR)
|
|||||||
.PHONY: dsc
|
.PHONY: dsc
|
||||||
dsc: clean
|
dsc: clean
|
||||||
$(MAKE) $(DSC)
|
$(MAKE) $(DSC)
|
||||||
lintian $@
|
lintian $(DSC)
|
||||||
|
|
||||||
$(DSC): $(ORIG_SRC_TAR) $(BUILDDIR)
|
$(DSC): $(ORIG_SRC_TAR) $(BUILDDIR)
|
||||||
cd $(BUILDDIR); dpkg-buildpackage -S -us -uc -d
|
cd $(BUILDDIR); dpkg-buildpackage -S -us -uc -d
|
||||||
|
|||||||
6
debian/changelog
vendored
6
debian/changelog
vendored
@ -1,3 +1,9 @@
|
|||||||
|
libjs-extjs (7.0.0-5) bookworm; urgency=medium
|
||||||
|
|
||||||
|
* improve French locale
|
||||||
|
|
||||||
|
-- Proxmox Support Team <support@proxmox.com> Thu, 14 Nov 2024 17:31:29 +0100
|
||||||
|
|
||||||
libjs-extjs (7.0.0-4) bookworm; urgency=medium
|
libjs-extjs (7.0.0-4) bookworm; urgency=medium
|
||||||
|
|
||||||
* add Georgian translations
|
* add Georgian translations
|
||||||
|
|||||||
252
debian/patches/0001-improve-french-locale.patch
vendored
Normal file
252
debian/patches/0001-improve-french-locale.patch
vendored
Normal file
@ -0,0 +1,252 @@
|
|||||||
|
From 01e5020a0c3f011c65751a1bad5f722574863630 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Thomas Lamprecht <t.lamprecht@proxmox.com>
|
||||||
|
Date: Thu, 14 Nov 2024 17:00:54 +0100
|
||||||
|
Subject: [PATCH] improve french locale
|
||||||
|
|
||||||
|
Contributed-by: Davy Defaud <davy.defaud@free.fr>
|
||||||
|
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
|
||||||
|
---
|
||||||
|
extjs/build/classic/locale/locale-fr-debug.js | 107 +++++++++---------
|
||||||
|
1 file changed, 55 insertions(+), 52 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/extjs/build/classic/locale/locale-fr-debug.js b/extjs/build/classic/locale/locale-fr-debug.js
|
||||||
|
index 625242e4..10cf9e31 100644
|
||||||
|
--- a/extjs/build/classic/locale/locale-fr-debug.js
|
||||||
|
+++ b/extjs/build/classic/locale/locale-fr-debug.js
|
||||||
|
@@ -4,43 +4,44 @@
|
||||||
|
* 09-11-2007, 02:22 PM
|
||||||
|
* updated by disizben (22 Sep 2008)
|
||||||
|
* updated by Thylia (20 Apr 2010)
|
||||||
|
+ * updated by Davy (3 Nov 2024)
|
||||||
|
*/
|
||||||
|
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.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.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
|
||||||
|
+ "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)];
|
||||||
|
+ return Ext.Date.monthNumbers[name.toLowerCase()];
|
||||||
|
};
|
||||||
|
|
||||||
|
Ext.Date.dayNames = ["Dimanche", "Lundi", "Mardi", "Mercredi", "Jeudi", "Vendredi", "Samedi"];
|
||||||
|
@@ -49,20 +50,22 @@ Ext.onReady(function() {
|
||||||
|
return Ext.Date.dayNames[day].substring(0, 3);
|
||||||
|
};
|
||||||
|
|
||||||
|
- Ext.Date.parseCodes.S.s = "(?:er)";
|
||||||
|
+ Ext.Date.parseCodes.S.s = "(?:er|ᵉʳ)";
|
||||||
|
|
||||||
|
Ext.Date.getSuffix = function() {
|
||||||
|
// eslint-disable-next-line eqeqeq
|
||||||
|
- return (this.getDate() == 1) ? "er" : "";
|
||||||
|
+ return (this.getDate() == 1) ? "ᵉʳ" : "";
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
if (Ext.util && Ext.util.Format) {
|
||||||
|
Ext.apply(Ext.util.Format, {
|
||||||
|
- thousandSeparator: '.',
|
||||||
|
+ thousandSeparator: ' ', // thin space
|
||||||
|
decimalSeparator: ',',
|
||||||
|
- currencySign: '\u20ac',
|
||||||
|
- // French Euro
|
||||||
|
+ currencyAtEnd: true,
|
||||||
|
+ currencySign: '€',
|
||||||
|
+ currencySpacer: ' ', // thin space before €
|
||||||
|
+ percentSign: ' %', // thin space before %
|
||||||
|
dateFormat: 'd/m/Y'
|
||||||
|
});
|
||||||
|
}
|
||||||
|
@@ -86,20 +89,20 @@ Ext.define("Ext.locale.fr.tab.Tab", {
|
||||||
|
// changing the msg text below will affect the LoadMask
|
||||||
|
Ext.define("Ext.locale.fr.view.AbstractView", {
|
||||||
|
override: "Ext.view.AbstractView",
|
||||||
|
- loadingText: "En cours de chargement..."
|
||||||
|
+ loadingText: "En cours de chargement…"
|
||||||
|
});
|
||||||
|
|
||||||
|
Ext.define("Ext.locale.fr.picker.Date", {
|
||||||
|
override: "Ext.picker.Date",
|
||||||
|
- todayText: "Aujourd'hui",
|
||||||
|
+ todayText: "Aujourd’hui",
|
||||||
|
minText: "Cette date est antérieure à la date minimum",
|
||||||
|
maxText: "Cette date est postérieure à la date maximum",
|
||||||
|
disabledDaysText: "",
|
||||||
|
disabledDatesText: "",
|
||||||
|
- nextText: 'Mois suivant (CTRL+Flèche droite)',
|
||||||
|
- prevText: "Mois précédent (CTRL+Flèche gauche)",
|
||||||
|
- monthYearText: "Choisissez un mois (CTRL+Flèche haut ou bas pour changer d'année.)",
|
||||||
|
- todayTip: "{0} (Barre d'espace)",
|
||||||
|
+ nextText: 'Mois suivant (Contrôle + →)',
|
||||||
|
+ prevText: "Mois précédent (Contrôle + ←)",
|
||||||
|
+ monthYearText: "Choisissez un mois (Contrôle + ↑ ou ↓ pour changer d’année.)",
|
||||||
|
+ todayTip: "{0} (barre d’espace)",
|
||||||
|
format: "d/m/y",
|
||||||
|
startDay: 1
|
||||||
|
});
|
||||||
|
@@ -125,7 +128,7 @@ Ext.define("Ext.locale.fr.toolbar.Paging", {
|
||||||
|
|
||||||
|
Ext.define("Ext.locale.fr.form.Basic", {
|
||||||
|
override: "Ext.form.Basic",
|
||||||
|
- waitTitle: "Veuillez patienter..."
|
||||||
|
+ waitTitle: "Veuillez patienter…"
|
||||||
|
});
|
||||||
|
|
||||||
|
Ext.define("Ext.locale.fr.form.field.Base", {
|
||||||
|
@@ -147,13 +150,13 @@ Ext.define("Ext.locale.fr.form.field.Number", {
|
||||||
|
decimalPrecision: 2,
|
||||||
|
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",
|
||||||
|
+ nanText: "{0} n’est pas un nombre valide",
|
||||||
|
negativeText: "La valeur de ce champ ne peut être négative"
|
||||||
|
});
|
||||||
|
|
||||||
|
Ext.define("Ext.locale.fr.form.field.File", {
|
||||||
|
override: "Ext.form.field.File",
|
||||||
|
- buttonText: "Parcourir..."
|
||||||
|
+ buttonText: "Parcourir…"
|
||||||
|
});
|
||||||
|
|
||||||
|
Ext.define("Ext.locale.fr.form.field.Date", {
|
||||||
|
@@ -162,7 +165,7 @@ Ext.define("Ext.locale.fr.form.field.Date", {
|
||||||
|
disabledDatesText: "Désactivé",
|
||||||
|
minText: "La date de ce champ ne peut être antérieure au {0}",
|
||||||
|
maxText: "La date de ce champ ne peut être postérieure au {0}",
|
||||||
|
- invalidText: "{0} n'est pas une date valide - elle doit être au format suivant: {1}",
|
||||||
|
+ invalidText: "{0} n’est pas une date valide, elle doit être au format suivant : {1}",
|
||||||
|
format: "d/m/y",
|
||||||
|
altFormats: "d/m/Y|d-m-y|d-m-Y|d/m|d-m|dm|dmy|dmY|d|Y-m-d"
|
||||||
|
});
|
||||||
|
@@ -172,36 +175,36 @@ Ext.define("Ext.locale.fr.form.field.ComboBox", {
|
||||||
|
valueNotFoundText: undefined
|
||||||
|
}, function() {
|
||||||
|
Ext.apply(Ext.form.field.ComboBox.prototype.defaultListConfig, {
|
||||||
|
- loadingText: "En cours de chargement..."
|
||||||
|
+ loadingText: "En cours de chargement…"
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
Ext.define("Ext.locale.fr.form.field.VTypes", {
|
||||||
|
override: "Ext.form.field.VTypes",
|
||||||
|
- emailText: 'Ce champ doit contenir une adresse email au format: "usager@example.com"',
|
||||||
|
- urlText: 'Ce champ doit contenir une URL au 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é (_)'
|
||||||
|
+ emailText: 'Ce champ doit contenir une adresse de courriel au format : "utilisateur@exemple.com"',
|
||||||
|
+ urlText: 'Ce champ doit contenir une URL au format suivant : "http:/' + '/www.exemple.com"',
|
||||||
|
+ alphaText: 'Ce champ ne peut contenir que des lettres et le caractère de soulignement (_)',
|
||||||
|
+ alphanumText: 'Ce champ ne peut contenir que des caractères alphanumériques ou le caractère de soulignement (_)'
|
||||||
|
});
|
||||||
|
|
||||||
|
Ext.define("Ext.locale.fr.form.field.HtmlEditor", {
|
||||||
|
override: "Ext.form.field.HtmlEditor",
|
||||||
|
- createLinkText: "Veuillez entrer l'URL pour ce lien:"
|
||||||
|
+ createLinkText: "Veuillez entrer l’adresse URL pour ce lien :"
|
||||||
|
}, function() {
|
||||||
|
Ext.apply(Ext.form.field.HtmlEditor.prototype, {
|
||||||
|
buttonTips: {
|
||||||
|
bold: {
|
||||||
|
- title: 'Gras (Ctrl+B)',
|
||||||
|
+ title: 'Gras (Contrôle + B)',
|
||||||
|
text: 'Met le texte sélectionné en gras.',
|
||||||
|
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||||
|
},
|
||||||
|
italic: {
|
||||||
|
- title: 'Italique (Ctrl+I)',
|
||||||
|
+ title: 'Italique (Contrôle + I)',
|
||||||
|
text: 'Met le texte sélectionné en italique.',
|
||||||
|
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||||
|
},
|
||||||
|
underline: {
|
||||||
|
- title: 'Souligné (Ctrl+U)',
|
||||||
|
+ title: 'Souligné (Contrôle + U)',
|
||||||
|
text: 'Souligne le texte sélectionné.',
|
||||||
|
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||||
|
},
|
||||||
|
@@ -237,7 +240,7 @@ Ext.define("Ext.locale.fr.form.field.HtmlEditor", {
|
||||||
|
},
|
||||||
|
justifyright: {
|
||||||
|
title: 'Aligner à droite',
|
||||||
|
- text: 'Aligner le texte à droite.',
|
||||||
|
+ text: 'Aligne le texte à droite.',
|
||||||
|
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||||
|
},
|
||||||
|
insertunorderedlist: {
|
||||||
|
@@ -273,7 +276,7 @@ Ext.define("Ext.locale.fr.grid.header.Container", {
|
||||||
|
|
||||||
|
Ext.define("Ext.locale.fr.grid.GroupingFeature", {
|
||||||
|
override: "Ext.grid.feature.Grouping",
|
||||||
|
- emptyGroupText: '(Aucun)',
|
||||||
|
+ emptyGroupText: '(aucun)',
|
||||||
|
groupByText: 'Grouper par ce champ',
|
||||||
|
showGroupsText: 'Afficher par groupes'
|
||||||
|
});
|
||||||
|
@@ -289,9 +292,9 @@ Ext.define("Ext.locale.fr.grid.PropertyColumnModel", {
|
||||||
|
|
||||||
|
Ext.define("Ext.locale.fr.form.field.Time", {
|
||||||
|
override: "Ext.form.field.Time",
|
||||||
|
- minText: "L'heure de ce champ ne peut être antérieure à {0}",
|
||||||
|
- maxText: "L'heure de ce champ ne peut être postérieure à {0}",
|
||||||
|
- invalidText: "{0} n'est pas une heure valide",
|
||||||
|
+ minText: "L’heure de ce champ ne peut être antérieure à {0}",
|
||||||
|
+ maxText: "L’heure de ce champ ne peut être postérieure à {0}",
|
||||||
|
+ invalidText: "{0} n’est pas une heure valide",
|
||||||
|
format: "H:i",
|
||||||
|
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"
|
||||||
|
});
|
||||||
|
--
|
||||||
|
2.39.5
|
||||||
|
|
||||||
1
debian/patches/series
vendored
Normal file
1
debian/patches/series
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
0001-improve-french-locale.patch
|
||||||
Loading…
Reference in New Issue
Block a user