1
0
mirror of git://git.proxmox.com/git/extjs.git synced 2026-08-12 09:00:17 -04:00

Compare commits

..

No commits in common. "c2f5ea149686be50ad429406ad7f8cbadd242f96" and "4847f5d132ec8f0f6790bb747cb07d70a045d094" have entirely different histories.

4 changed files with 1 additions and 293 deletions

6
debian/changelog vendored
View File

@ -1,9 +1,3 @@
libjs-extjs (7.0.0-7) bookworm; urgency=medium
* add Lao translations.
-- Proxmox Support Team <support@proxmox.com> Wed, 29 Jul 2026 13:03:04 +0200
libjs-extjs (7.0.0-6) bookworm; urgency=medium
* add Irish locale support.

2
debian/rules vendored
View File

@ -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 ga gr he hr hu id it ja ka ko lo 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"; \

View File

@ -1,285 +0,0 @@
/**
* Lao translation
* By Bone NI (utf-8 encoding)
* 23 Jul 2026
*/
Ext.onReady(function() {
if (Ext.Date) {
Ext.Date.defaultFormat = 'd/m/Y';
Ext.Date.monthNames = ["ມັງກອນ", "ກຸມພາ", "ມີນາ", "ເມສາ", "ພຶດສະພາ", "ມິຖຸນາ", "ກໍລະກົດ", "ສິງຫາ", "ກັນຍາ", "ຕຸລາ", "ພະຈິກ", "ທັນວາ"];
Ext.Date.shortMonthNames = ["ມ.ກ.", "ກ.ພ.", "ມ.ນ.", "ເມ.ສ.", "ພ.ພ.", "ມິ.ຖ.", "ກ.ລ.", "ສ.ຫ.", "ກ.ຍ.", "ຕ.ລ.", "ພ.ຈ.", "ທ.ວ."];
Ext.Date.getShortMonthName = function(month) {
return Ext.Date.shortMonthNames[month];
};
Ext.Date.monthNumbers = {
"ມັງກອນ": 0,
"ກຸມພາ": 1,
"ມີນາ": 2,
"ເມສາ": 3,
"ພຶດສະພາ": 4,
"ມິຖຸນາ": 5,
"ກໍລະກົດ": 6,
"ສິງຫາ": 7,
"ກັນຍາ": 8,
"ຕຸລາ": 9,
"ພະຈິກ": 10,
"ທັນວາ": 11
};
Ext.Date.getMonthNumber = function(name) {
return Ext.Date.monthNumbers[name];
};
Ext.Date.dayNames = ["ອາທິດ", "ຈັນ", "ອັງຄານ", "ພຸດ", "ພະຫັດ", "ສຸກ", "ເສົາ"];
Ext.Date.getShortDayName = function(day) {
return Ext.Date.dayNames[day];
};
}
if (Ext.util && Ext.util.Format) {
Ext.apply(Ext.util.Format, {
thousandSeparator: ',',
decimalSeparator: '.',
currencySign: '₭',
// Lao Kip
dateFormat: 'd/m/Y'
});
}
});
Ext.define("Ext.locale.lo.view.View", {
override: "Ext.view.View",
emptyText: ""
});
Ext.define("Ext.locale.lo.grid.plugin.DragDrop", {
override: "Ext.grid.plugin.DragDrop",
dragText: "{0} ແຖວທີ່ຖືກເລືອກ"
});
Ext.define("Ext.locale.lo.tab.Tab", {
override: "Ext.tab.Tab",
closeText: "ປິດແຖບນີ້"
});
Ext.define("Ext.locale.lo.form.field.Base", {
override: "Ext.form.field.Base",
invalidText: "ຄ່າໃນຫ້ອງນີ້ບໍ່ຖືກຕ້ອງ"
});
// changing the msg text below will affect the LoadMask
Ext.define("Ext.locale.lo.view.AbstractView", {
override: "Ext.view.AbstractView",
loadingText: "ກຳລັງໂຫລດ..."
});
Ext.define("Ext.locale.lo.picker.Date", {
override: "Ext.picker.Date",
todayText: "ມື້ນີ້",
minText: "ວັນທີນີ້ກ່ອນວັນທີທີ່ກຳນົດໄວ້ຕ່ຳສຸດ",
maxText: "ວັນທີນີ້ກາຍວັນທີທີ່ກຳນົດໄວ້ສູງສຸດ",
disabledDaysText: "ປິດໃຊ້ງານ",
disabledDatesText: "ປິດໃຊ້ງານ",
nextText: 'ເດືອນຕໍ່ໄປ (Control+ຂວາ)',
prevText: 'ເດືອນກ່ອນ (Control+ຊ້າຍ)',
monthYearText: 'ເລືອກເດືອນ (ເລືອກປີ: Control+ຂຶ້ນ/ລົງ)',
todayTip: "{0} (ຍະຫວ່າງ)",
format: "d/m/y",
startDay: 1
});
Ext.define("Ext.locale.lo.picker.Month", {
override: "Ext.picker.Month",
okText: "ຕົກລົງ",
cancelText: "ຍົກເລີກ"
});
Ext.define("Ext.locale.lo.toolbar.Paging", {
override: "Ext.PagingToolbar",
beforePageText: "ໜ້າ",
afterPageText: "ຈາກ {0}",
firstText: "ໜ້າທຳອິດ",
prevText: "ໜ້າກ່ອນໜ້າ",
nextText: "ໜ້າຕໍ່ໄປ",
lastText: "ໜ້າສຸດທ້າຍ",
refreshText: "ໂຫລດຄືນໃໝ່",
displayMsg: "ສະແດງ {0} - {1} ຈາກທັງໝົດ {2}",
emptyMsg: 'ບໍ່ມີຂໍ້ມູນທີ່ຈະສະແດງ'
});
Ext.define("Ext.locale.lo.form.field.Text", {
override: "Ext.form.field.Text",
minLengthText: "ຄວາມຍາວຕ່ຳສຸດຂອງຫ້ອງນີ້ຄື {0}",
maxLengthText: "ຄວາມຍາວສູງສຸດຂອງຫ້ອງນີ້ຄື {0}",
blankText: "ຫ້ອງນີ້ຕ້ອງໄດ້ປ້ອນຂໍ້ມູນ",
regexText: "",
emptyText: null
});
Ext.define("Ext.locale.lo.form.field.Number", {
override: "Ext.form.field.Number",
minText: "ຄ່າໃນຫ້ອງນີ້ຕ້ອງບໍ່ໜ້ອຍກວ່າ {0}",
maxText: "ຄ່າໃນຫ້ອງນີ້ຕ້ອງບໍ່ເກີນ {0}",
nanText: "{0} ບໍ່ແມ່ນຕົວເລກທີ່ຖືກຕ້ອງ",
negativeText: "ຄ່າຕ້ອງບໍ່ເປັນຄ່າລົບ"
});
Ext.define("Ext.locale.lo.form.field.Date", {
override: "Ext.form.field.Date",
disabledDaysText: "ບໍ່ສາມາດໃຊ້ງານໄດ້",
disabledDatesText: "ບໍ່ສາມາດໃຊ້ງານໄດ້",
minText: "ວັນທີໃນຫ້ອງນີ້ຕ້ອງບໍ່ກ່ອນວັນທີ {0}",
maxText: "ວັນທີໃນຫ້ອງນີ້ຕ້ອງບໍ່ກາຍວັນທີ {0}",
invalidText: "{0} ບໍ່ແມ່ນວັນທີທີ່ຖືກຕ້ອງ. ຮູບແບບທີ່ຖືກຕ້ອງຄື {1}",
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.lo.form.field.ComboBox", {
override: "Ext.form.field.ComboBox",
valueNotFoundText: undefined
}, function() {
Ext.apply(Ext.form.field.ComboBox.prototype.defaultListConfig, {
loadingText: "ກຳລັງໂຫລດ..."
});
});
Ext.define("Ext.locale.lo.form.field.VTypes", {
override: "Ext.form.field.VTypes",
emailText: 'ຫ້ອງນີ້ຄວນເປັນທີ່ຢູ່ອີເມລໃນຮູບແບບ "user@example.com"',
urlText: 'ຫ້ອງນີ້ຄວນເປັນ URL ໃນຮູບແບບ "http:/' + '/www.example.com"',
alphaText: 'ຫ້ອງນີ້ຄວນມີແຕ່ຕົວອັກສອນ ແລະ ຂີດກ້ອງ "_" ເທົ່ານັ້ນ',
alphanumText: 'ຫ້ອງນີ້ຄວນມີແຕ່ຕົວອັກສອນ, ຕົວເລກ ແລະ ຂີດກ້ອງ "_" ເທົ່ານັ້ນ'
});
Ext.define("Ext.locale.lo.form.field.HtmlEditor", {
override: "Ext.form.field.HtmlEditor",
createLinkText: 'ກະລຸນາປ້ອນທີ່ຢູ່ URL:'
}, 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: 'ເຮັດໃຫ້ຂໍ້ຄວາມທີ່ເລືອກເປັນລີ້ງ.',
cls: Ext.baseCSSPrefix + 'html-editor-tip'
},
sourceedit: {
title: 'ແກ້ໄຂຊອດໂຄ້ດ',
text: 'ປ່ຽນໄປເປັນໂໝດແກ້ໄຂຊອດໂຄ້ດ.',
cls: Ext.baseCSSPrefix + 'html-editor-tip'
}
}
});
});
Ext.define("Ext.locale.lo.form.Basic", {
override: "Ext.form.Basic",
waitTitle: "ກະລຸນາລໍຖ້າ..."
});
Ext.define("Ext.locale.lo.grid.header.Container", {
override: "Ext.grid.header.Container",
sortAscText: "ຈັດລຽງຈາກໜ້ອຍໄປຫາຫຼາຍ",
sortDescText: "ຈັດລຽງຈາກຫຼາຍໄປຫາໜ້ອຍ",
lockText: "ລັອກຖັນ",
unlockText: "ປົດລັອກຖັນ",
columnsText: "ຖັນ"
});
Ext.define("Ext.locale.lo.grid.GroupingFeature", {
override: "Ext.grid.feature.Grouping",
emptyGroupText: '(ຫວ່າງເປົ່າ)',
groupByText: 'ຈັດກຸ່ມດ້ວຍຫ້ອງນີ້',
showGroupsText: 'ສະແດງເປັນກຸ່ມ'
});
Ext.define("Ext.locale.lo.grid.PropertyColumnModel", {
override: "Ext.grid.PropertyColumnModel",
nameText: "ຊື່",
valueText: "ຄ່າ",
dateFormat: "d/m/Y"
});
Ext.define("Ext.locale.lo.window.MessageBox", {
override: "Ext.window.MessageBox",
buttonText: {
ok: "ຕົກລົງ",
cancel: "ຍົກເລີກ",
yes: "ແມ່ນ",
no: "ບໍ່"
}
});
Ext.define("Ext.locale.lo.form.field.File", {
override: "Ext.form.field.File",
buttonText: "ເລືອກໄຟລ໌..."
});
// This is needed until we can refactor all of the locales into individual files
Ext.define("Ext.locale.lo.Component", {
override: "Ext.Component"
});

File diff suppressed because one or more lines are too long