1
0
mirror of git://git.proxmox.com/git/extjs.git synced 2026-06-27 22:24:55 -04:00

Compare commits

...

3 Commits

Author SHA1 Message Date
Thomas Lamprecht
4847f5d132 bump version to 7.0.0-6
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2026-06-21 17:11:59 +02:00
Aindriú Mac Giolla Eoin
c1f0d5fffc add Irish locale support
Signed-off-by: Aindriú Mac Giolla Eoin <aindriu80@yahoo.com>
2026-06-21 17:06:19 +02:00
Thomas Lamprecht
4f893504d8 Revert "add Greek translations"
This reverts commit dea745fcf9. It was
not needed, as per [1] the code el_GR for Greek translations was valid
and it is supported by extjs.

[1] https://www.gnu.org/software/gettext/manual/gettext.html#Locale-Names

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2026-06-21 17:05:33 +02:00
6 changed files with 296 additions and 271 deletions

6
debian/changelog vendored
View File

@ -1,3 +1,9 @@
libjs-extjs (7.0.0-6) bookworm; urgency=medium
* add Irish locale support.
-- Proxmox Support Team <support@proxmox.com> Sun, 21 Jun 2026 17:11:55 +0200
libjs-extjs (7.0.0-5) bookworm; urgency=medium libjs-extjs (7.0.0-5) bookworm; urgency=medium
* improve French locale * improve French locale

4
debian/rules vendored
View File

@ -9,9 +9,9 @@
override_dh_auto_test: override_dh_auto_test:
dh_auto_test dh_auto_test
# check if all languages are still shipped, as e.g. Georgian (ka) and Greek (el) are manually added by us # check if all languages are still shipped, as e.g. Georgian (ka) is manually added by us
set -e; for l in \ set -e; for l in \
af bg ca cs da de el el_GR en en_AU en_GB es et fa fi fr fr_CA gr he hr hu id it ja ka ko lt \ af bg ca cs da de el_GR en en_AU en_GB es et fa fi fr fr_CA ga gr he hr hu id it ja ka ko lt \
lv mk nl no_NB no_NN pl pt pt_BR pt_PT ro ru sk sl sr sr_RS sv_SE th tr ukr vn zh_CN zh_TW; do \ lv mk nl no_NB no_NN pl pt pt_BR pt_PT ro ru sk sl sr sr_RS sv_SE th tr ukr vn zh_CN zh_TW; do \
echo "checking for '$$l' locale"; \ echo "checking for '$$l' locale"; \
test -e "extjs/build/classic/locale/locale-$$l.js"; \ test -e "extjs/build/classic/locale/locale-$$l.js"; \

View File

@ -1,268 +0,0 @@
/**
* Greek translation
* By thesilentman (utf8 encoding)
* 27 Apr 2008
*
* Changes since previous (second) Version:
* + added Ext.Date.shortMonthNames
* + added Ext.Date.getShortMonthName
* + added Ext.Date.monthNumbers
* + added Ext.grid.feature.Grouping
*/
Ext.onReady(function() {
if (Ext.Date) {
Ext.Date.monthNames = ["Ιανουάριος", "Φεβρουάριος", "Μάρτιος", "Απρίλιος", "Μάιος", "Ιούνιος", "Ιούλιος", "Αύγουστος", "Σεπτέμβριος", "Οκτώβριος", "Νοέμβριος", "Δεκέμβριος"];
Ext.Date.shortMonthNames = ["Ιαν", "Φεβ", "Μάρ", "Απρ", "Μάι", "Ιού", "Ιού", "Αύγ", "Σεπ", "Οκτ", "Νοέ", "Δεκ"];
Ext.Date.getShortMonthName = function(month) {
return Ext.Date.monthNames[month].substring(0, 3);
};
Ext.Date.monthNumbers = {
Jan: 0,
Feb: 1,
Mar: 2,
Apr: 3,
May: 4,
Jun: 5,
Jul: 6,
Aug: 7,
Sep: 8,
Oct: 9,
Nov: 10,
Dec: 11
};
Ext.Date.getMonthNumber = function(name) {
return Ext.Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()];
};
Ext.Date.dayNames = ["Κυριακή", "Δευτέρα", "Τρίτη", "Τετάρτη", "Πέμπτη", "Παρασκευή", "Σάββατο"];
}
if (Ext.util && Ext.util.Format) {
Ext.apply(Ext.util.Format, {
thousandSeparator: '.',
decimalSeparator: ',',
currencySign: '\u20ac',
// Greek Euro
dateFormat: 'd/m/Y'
});
}
});
Ext.define("Ext.locale.el.view.View", {
override: "Ext.view.View",
emptyText: ""
});
Ext.define("Ext.locale.el.grid.plugin.DragDrop", {
override: "Ext.grid.plugin.DragDrop",
dragText: "{0} Επιλεγμένες σειρές"
});
Ext.define("Ext.locale.el.tab.Tab", {
override: "Ext.tab.Tab",
closeText: "Κλείστε το tab"
});
Ext.define("Ext.locale.el.form.field.Base", {
override: "Ext.form.field.Base",
invalidText: "Το περιεχόμενο του πεδίου δεν είναι αποδεκτό"
});
// changing the msg text below will affect the LoadMask
Ext.define("Ext.locale.el.view.AbstractView", {
override: "Ext.view.AbstractView",
loadingText: "Μεταφόρτωση δεδομένων..."
});
Ext.define("Ext.locale.el.picker.Date", {
override: "Ext.picker.Date",
todayText: "Σήμερα",
minText: "Η Ημερομηνία είναι προγενέστερη από την παλαιότερη αποδεκτή",
maxText: "Η Ημερομηνία είναι μεταγενέστερη από την νεότερη αποδεκτή",
disabledDaysText: "",
disabledDatesText: "",
nextText: 'Επόμενος Μήνας (Control+Δεξί Βέλος)',
prevText: 'Προηγούμενος Μήνας (Control + Αριστερό Βέλος)',
monthYearText: 'Επιλογή Μηνός (Control + Επάνω/Κάτω Βέλος για μεταβολή ετών)',
todayTip: "{0} (ΠΛήκτρο Διαστήματος)",
format: "d/m/y"
});
Ext.define("Ext.locale.el.toolbar.Paging", {
override: "Ext.PagingToolbar",
beforePageText: "Σελίδα",
afterPageText: "από {0}",
firstText: "Πρώτη Σελίδα",
prevText: "Προηγούμενη Σελίδα",
nextText: "Επόμενη Σελίδα",
lastText: "Τελευταία Σελίδα",
refreshText: "Ανανέωση",
displayMsg: "Εμφάνιση {0} - {1} από {2}",
emptyMsg: 'Δεν υπάρχουν δεδομένα'
});
Ext.define("Ext.locale.el.form.field.Text", {
override: "Ext.form.field.Text",
minLengthText: "Το μικρότερο αποδεκτό μήκος για το πεδίο είναι {0}",
maxLengthText: "Το μεγαλύτερο αποδεκτό μήκος για το πεδίο είναι {0}",
blankText: "Το πεδίο είναι υποχρεωτικό",
regexText: "",
emptyText: null
});
Ext.define("Ext.locale.el.form.field.Number", {
override: "Ext.form.field.Number",
minText: "Η μικρότερη τιμή του πεδίου είναι {0}",
maxText: "Η μεγαλύτερη τιμή του πεδίου είναι {0}",
nanText: "{0} δεν είναι αποδεκτός αριθμός"
});
Ext.define("Ext.locale.el.form.field.Date", {
override: "Ext.form.field.Date",
disabledDaysText: "Ανενεργό",
disabledDatesText: "Ανενεργό",
minText: "Η ημερομηνία αυτού του πεδίου πρέπει να είναι μετά την {0}",
maxText: "Η ημερομηνία αυτού του πεδίου πρέπει να είναι πριν την {0}",
invalidText: "{0} δεν είναι έγκυρη ημερομηνία - πρέπει να είναι στη μορφή {1}",
format: "d/m/y"
});
Ext.define("Ext.locale.el.form.field.ComboBox", {
override: "Ext.form.field.ComboBox",
valueNotFoundText: undefined
}, function() {
Ext.apply(Ext.form.field.ComboBox.prototype.defaultListConfig, {
loadingText: "Μεταφόρτωση δεδομένων..."
});
});
Ext.define("Ext.locale.el.form.field.VTypes", {
override: "Ext.form.field.VTypes",
emailText: 'Το πεδίο δέχεται μόνο διευθύνσεις Email σε μορφή "user@example.com"',
urlText: 'Το πεδίο δέχεται μόνο URL σε μορφή "http:/' + '/www.example.com"',
alphaText: 'Το πεδίο δέχεται μόνο χαρακτήρες και _',
alphanumText: 'Το πεδίο δέχεται μόνο χαρακτήρες, αριθμούς και _'
});
Ext.define("Ext.locale.el.form.field.HtmlEditor", {
override: "Ext.form.field.HtmlEditor",
createLinkText: 'Δώστε τη διεύθυνση (URL) για το σύνδεσμο (link):'
}, function() {
Ext.apply(Ext.form.field.HtmlEditor.prototype, {
buttonTips: {
bold: {
title: 'Έντονα (Ctrl+B)',
text: 'Κάνετε το προεπιλεγμένο κείμενο έντονο.',
cls: Ext.baseCSSPrefix + 'html-editor-tip'
},
italic: {
title: 'Πλάγια (Ctrl+I)',
text: 'Κάνετε το προεπιλεγμένο κείμενο πλάγιο.',
cls: Ext.baseCSSPrefix + 'html-editor-tip'
},
underline: {
title: 'Υπογράμμιση (Ctrl+U)',
text: 'Υπογραμμίζετε το προεπιλεγμένο κείμενο.',
cls: Ext.baseCSSPrefix + 'html-editor-tip'
},
increasefontsize: {
title: 'Μεγέθυνση κειμένου',
text: 'Μεγαλώνετε τη γραμματοσειρά.',
cls: Ext.baseCSSPrefix + 'html-editor-tip'
},
decreasefontsize: {
title: 'Σμίκρυνση κειμένου',
text: 'Μικραίνετε τη γραμματοσειρά.',
cls: Ext.baseCSSPrefix + 'html-editor-tip'
},
backcolor: {
title: 'Χρώμα Φόντου Κειμένου',
text: 'Αλλάζετε το χρώμα στο φόντο του προεπιλεγμένου κειμένου.',
cls: Ext.baseCSSPrefix + 'html-editor-tip'
},
forecolor: {
title: 'Χρώμα Γραμματοσειράς',
text: 'Αλλάζετε το χρώμα στη γραμματοσειρά του προεπιλεγμένου κειμένου.',
cls: Ext.baseCSSPrefix + 'html-editor-tip'
},
justifyleft: {
title: 'Αριστερή Στοίχιση Κειμένου',
text: 'Στοιχίζετε το κείμενο στα αριστερά.',
cls: Ext.baseCSSPrefix + 'html-editor-tip'
},
justifycenter: {
title: 'Κεντράρισμα Κειμένου',
text: 'Στοιχίζετε το κείμενο στο κέντρο.',
cls: Ext.baseCSSPrefix + 'html-editor-tip'
},
justifyright: {
title: 'Δεξιά Στοίχιση Κειμένου',
text: 'Στοιχίζετε το κείμενο στα δεξιά.',
cls: Ext.baseCSSPrefix + 'html-editor-tip'
},
insertunorderedlist: {
title: 'Εισαγωγή Λίστας Κουκίδων',
text: 'Ξεκινήστε μια λίστα με κουκίδες.',
cls: Ext.baseCSSPrefix + 'html-editor-tip'
},
insertorderedlist: {
title: 'Εισαγωγή Λίστας Αρίθμησης',
text: 'Ξεκινήστε μια λίστα με αρίθμηση.',
cls: Ext.baseCSSPrefix + 'html-editor-tip'
},
createlink: {
title: 'Hyperlink',
text: 'Μετατρέπετε το προεπιλεγμένο κείμενο σε Link.',
cls: Ext.baseCSSPrefix + 'html-editor-tip'
},
sourceedit: {
title: 'Επεξεργασία Κώδικα',
text: 'Μεταβαίνετε στη λειτουργία επεξεργασίας κώδικα.',
cls: Ext.baseCSSPrefix + 'html-editor-tip'
}
}
});
});
Ext.define("Ext.locale.el.grid.header.Container", {
override: "Ext.grid.header.Container",
sortAscText: "Αύξουσα ταξινόμηση",
sortDescText: "Φθίνουσα ταξινόμηση",
lockText: "Κλείδωμα στήλης",
unlockText: "Ξεκλείδωμα στήλης",
columnsText: "Στήλες"
});
Ext.define("Ext.locale.el.grid.GroupingFeature", {
override: "Ext.grid.feature.Grouping",
emptyGroupText: '(Καμμία)',
groupByText: 'Ομαδοποίηση βάσει αυτού του πεδίου',
showGroupsText: 'Να εμφανίζεται στις ομάδες'
});
Ext.define("Ext.locale.el.grid.PropertyColumnModel", {
override: "Ext.grid.PropertyColumnModel",
nameText: "Όνομα",
valueText: "Περιεχόμενο",
dateFormat: "d/m/Y"
});
Ext.define("Ext.locale.el.window.MessageBox", {
override: "Ext.window.MessageBox",
buttonText: {
ok: "OK",
cancel: "Άκυρο",
yes: "Ναι",
no: "Όχι"
}
});
// This is needed until we can refactor all of the locales into individual files
Ext.define("Ext.locale.el.Component", {
override: "Ext.Component"
});

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,287 @@
/**
* Irish translation
* By Aindriú Mac Giolla Eoin (utf-8 encoding)
* 6 June 2026
*/
Ext.onReady(function() {
if (Ext.Date) {
Ext.Date.defaultFormat = 'd.m.Y';
Ext.Date.monthNames = ["Eanáir", "Feabhra", "Márta", "Aibreán", "Bealtaine", "Meitheamh", "Iúil", "Lúnasa", "Meán Fómhair", "Deireadh Fómhair", "Samhain", "Nollaig"];
Ext.Date.shortMonthNames = ["Ean", "Fea", "Már", "Aib", "Bea", "Mei", "Iúi", "Lún", "MFó", "DFó", "Sam", "Nol"];
Ext.Date.getShortMonthName = function(month) {
return Ext.Date.shortMonthNames[month];
};
Ext.Date.monthNumbers = {
'Ean': 0,
'Fea': 1,
'Már': 2,
'Aib': 3,
'Bea': 4,
'Mei': 5,
'Iúi': 6,
'Lún': 7,
'MFó': 8,
'DFó': 9,
'Sam': 10,
'Nol': 11
};
Ext.Date.getMonthNumber = function(name) {
return Ext.Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()];
};
Ext.Date.dayNames = ["Dé Domhnaigh", "Dé Luain", "Dé Máirt", "Dé Céadaoin", "Déardaoin", "Dé hAoine", "Dé Sathairn"];
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: '\u20ac',
// Euro
dateFormat: 'd.m.Y'
});
}
});
Ext.define("Ext.locale.ga.view.View", {
override: "Ext.view.View",
emptyText: ""
});
Ext.define("Ext.locale.ga.grid.plugin.DragDrop", {
override: "Ext.grid.plugin.DragDrop",
dragText: "{0} Líne roghnaithe"
});
Ext.define("Ext.locale.ga.tab.Tab", {
override: "Ext.tab.Tab",
closeText: "Dún an cluaisín seo"
});
Ext.define("Ext.locale.ga.form.field.Base", {
override: "Ext.form.field.Base",
invalidText: "Tá luach an réimse seo neamhbhailí."
});
// changing the msg text below will affect the LoadMask
Ext.define("Ext.locale.ga.view.AbstractView", {
override: "Ext.view.AbstractView",
loadingText: "Ag lódáil..."
});
Ext.define("Ext.locale.ga.picker.Date", {
override: "Ext.picker.Date",
todayText: "Inniu",
minText: "Tá an dáta seo roimh an dáta íosta.",
maxText: "Tá an dáta seo i ndiaidh an dáta uasta.",
disabledDaysText: "Gan a bheith ar fáil",
disabledDatesText: "Gan a bheith ar fáil",
nextText: 'An mhí seo chugainn (Control+Ar Dheis)',
prevText: 'An mhí roimhe sin (Control+Ar Clé)',
monthYearText: 'Roghnaigh mí (Roghnaigh bliain: Control+Suas/Síos)',
todayTip: "{0} (léim thar)",
format: "d.m.y",
startDay: 1
});
Ext.define("Ext.locale.ga.picker.Month", {
override: "Ext.picker.Month",
okText: "Ceart go leor",
cancelText: "Cealaigh"
});
Ext.define("Ext.locale.ga.toolbar.Paging", {
override: "Ext.PagingToolbar",
beforePageText: "Leathanach",
afterPageText: "Ó {0}",
firstText: "An chéad leathanach",
prevText: "Leathanach roimhe seo",
nextText: "An chéad leathanach eile",
lastText: "Leathanach deireanach",
refreshText: "Nuashonrú",
displayMsg: "Ag taispeáint {0} taifead ó {1}. Iomlán {2}",
emptyMsg: 'Gan aon sonraí le taispeáint'
});
Ext.define("Ext.locale.ga.form.field.Text", {
override: "Ext.form.field.Text",
minLengthText: "Is é {0} an fad íosta don réimse seo.",
maxLengthText: "Is é {0} uasfhad an réimse seo.",
blankText: "Tá an réimse seo riachtanach.",
regexText: "",
emptyText: null
});
Ext.define("Ext.locale.ga.form.field.Number", {
override: "Ext.form.field.Number",
minText: "Ní féidir luach an réimse seo a bheith níos lú ná {0}.",
maxText: "Ní féidir luach an réimse seo a bheith níos mó ná {0}.",
nanText: "Ní uimhir í {0}.",
negativeText: "Ní féidir leis an luach a bheith diúltach."
});
Ext.define("Ext.locale.ga.form.field.Date", {
override: "Ext.form.field.Date",
disabledDaysText: "Níl sé ar fáil",
disabledDatesText: "Níl sé ar fáil",
minText: "Ní féidir leis an dáta sa réimse seo a bheith níos luaithe ná {0}.",
maxText: "Ní féidir leis an dáta sa réimse seo a bheith i ndiaidh {0}.",
invalidText: "Ní dáta bailí é {0}. Is é {1} an fhormáid dáta cheart.",
format: "d.m.y",
altFormats: "d.m.y|d/m/Y|d-m-y|d-m-Y|d/m|d-m|dm|dmy|dmY|d|Y-m-d"
});
Ext.define("Ext.locale.ga.form.field.ComboBox", {
override: "Ext.form.field.ComboBox",
valueNotFoundText: undefined
}, function() {
Ext.apply(Ext.form.field.ComboBox.prototype.defaultListConfig, {
loadingText: "Ag lódáil..."
});
});
Ext.define("Ext.locale.ga.form.field.VTypes", {
override: "Ext.form.field.VTypes",
emailText: 'Ní mór seoladh ríomhphoist a bheith sa réimse seo san fhormáid "user@example.com"',
urlText: 'Ní mór nasc a bheith sa réimse seo san fhormáid "http:/' + '/www.example.com"',
alphaText: 'Ní mór litreacha Laidine agus an fo-líne "_" amháin a bheith sa réimse seo',
alphanumText: 'Ní mór litreacha Laidine, uimhreacha agus an fo-líne "_" amháin a bheith sa réimse seo'
});
Ext.define("Ext.locale.ga.form.field.HtmlEditor", {
override: "Ext.form.field.HtmlEditor",
createLinkText: 'Cuir isteach an seoladh:'
}, function() {
Ext.apply(Ext.form.field.HtmlEditor.prototype, {
buttonTips: {
bold: {
title: 'Leath-throm (Ctrl+B)',
text: 'Déan an téacs roghnaithe leathtrom.',
cls: Ext.baseCSSPrefix + 'html-editor-tip'
},
italic: {
title: 'Iodálach (Ctrl+I)',
text: 'Tiontaigh an téacs roghnaithe go cló iodálach.',
cls: Ext.baseCSSPrefix + 'html-editor-tip'
},
underline: {
title: 'Folíne (Ctrl+U)',
text: 'Folínigh an téacs roghnaithe.',
cls: Ext.baseCSSPrefix + 'html-editor-tip'
},
increasefontsize: {
title: 'Méadaigh méid',
text: 'Méadaigh méid an chló.',
cls: Ext.baseCSSPrefix + 'html-editor-tip'
},
decreasefontsize: {
title: 'Laghdú méide',
text: 'Laghdaigh méid an chló.',
cls: Ext.baseCSSPrefix + 'html-editor-tip'
},
backcolor: {
title: 'Ag doirteadh',
text: 'Athraigh dath cúlra an téacs nó na míre roghnaithe.',
cls: Ext.baseCSSPrefix + 'html-editor-tip'
},
forecolor: {
title: 'Dath an téacs',
text: 'Athraigh dath an téacs.',
cls: Ext.baseCSSPrefix + 'html-editor-tip'
},
justifyleft: {
title: 'Ailínigh an téacs ar chlé',
text: 'Ailínigh an téacs ar chlé.',
cls: Ext.baseCSSPrefix + 'html-editor-tip'
},
justifycenter: {
title: 'Ag an lár',
text: 'Ailíniú téacs sa lár.',
cls: Ext.baseCSSPrefix + 'html-editor-tip'
},
justifyright: {
title: 'Ailínigh an téacs ar dheis',
text: 'Ailínigh an téacs ar dheis.',
cls: Ext.baseCSSPrefix + 'html-editor-tip'
},
insertunorderedlist: {
title: 'Marcóirí',
text: 'Tosaigh liosta le hurchair.',
cls: Ext.baseCSSPrefix + 'html-editor-tip'
},
insertorderedlist: {
title: 'Liosta',
text: 'Tosaigh ag liostáil.',
cls: Ext.baseCSSPrefix + 'html-editor-tip'
},
createlink: {
title: 'Cruthaigh hipearnasc',
text: 'Cruthaigh hipearnasc ón téacs roghnaithe.',
cls: Ext.baseCSSPrefix + 'html-editor-tip'
},
sourceedit: {
title: 'Cód foinse',
text: 'Athraigh go dtí an cód foinse.',
cls: Ext.baseCSSPrefix + 'html-editor-tip'
}
}
});
});
Ext.define("Ext.locale.ga.form.Basic", {
override: "Ext.form.Basic",
waitTitle: "Fan le do thoil..."
});
Ext.define("Ext.locale.ga.grid.header.Container", {
override: "Ext.grid.header.Container",
sortAscText: "Sórtáil in ord ardaitheach",
sortDescText: "Sórtáil in ord íslitheach",
lockText: "Glasáil colún",
unlockText: "Díghlasáil colún",
columnsText: "Colúin"
});
Ext.define("Ext.locale.ga.grid.GroupingFeature", {
override: "Ext.grid.feature.Grouping",
emptyGroupText: '(folamh)',
groupByText: 'Grúpáil de réir an réimse seo',
showGroupsText: 'Taispeáin i ngrúpaí'
});
Ext.define("Ext.locale.ga.grid.PropertyColumnModel", {
override: "Ext.grid.PropertyColumnModel",
nameText: "Ainm",
valueText: "Luach",
dateFormat: "d.m.Y"
});
Ext.define("Ext.locale.ga.window.MessageBox", {
override: "Ext.window.MessageBox",
buttonText: {
ok: "Ceart go leor",
cancel: "Cealaigh",
yes: "Tá",
no: "Níl"
}
});
Ext.define("Ext.locale.ga.form.field.File", {
override: "Ext.form.field.File",
buttonText: "Brabhsáil..."
});
// This is needed until we can refactor all of the locales into individual files
Ext.define("Ext.locale.ga.Component", {
override: "Ext.Component"
});

File diff suppressed because one or more lines are too long