mirror of
git://git.proxmox.com/git/extjs.git
synced 2026-06-27 14:14:55 -04:00
add Irish locale support
Signed-off-by: Aindriú Mac Giolla Eoin <aindriu80@yahoo.com>
This commit is contained in:
parent
4f893504d8
commit
c1f0d5fffc
2
debian/rules
vendored
2
debian/rules
vendored
@ -11,7 +11,7 @@ override_dh_auto_test:
|
||||
dh_auto_test
|
||||
# check if all languages are still shipped, as e.g. Georgian (ka) is manually added by us
|
||||
set -e; for l in \
|
||||
af bg ca cs da de 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 \
|
||||
echo "checking for '$$l' locale"; \
|
||||
test -e "extjs/build/classic/locale/locale-$$l.js"; \
|
||||
|
||||
287
extjs/build/classic/locale/locale-ga-debug.js
vendored
Normal file
287
extjs/build/classic/locale/locale-ga-debug.js
vendored
Normal 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"
|
||||
});
|
||||
1
extjs/build/classic/locale/locale-ga.js
vendored
Normal file
1
extjs/build/classic/locale/locale-ga.js
vendored
Normal file
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user