ext-lang-vn.js
/**
* List compiled by mystix on the extjs.com forums.
* Thank you Mystix!
*/
// holder
/***
* Vietnamese translation
* By bpmtri
* 12-April-2007 04:06PM
*/
Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">Äang tải...</div>';
if(Ext.View){
Ext.View.prototype.emptyText = "";
}
if(Ext.grid.Grid){
Ext.grid.Grid.prototype.ddText = "{0} dòng ÄÆ°á»£c chá»n";
}
if(Ext.TabPanelItem){
Ext.TabPanelItem.prototype.closeText = "Äóng thẻ nà y";
}
if(Ext.form.Field){
Ext.form.Field.prototype.invalidText = "Giá trá» cá»§a ô nà y không hợp lá».";
}
Date.monthNames = [
"Tháng 1",
"Tháng 2",
"Tháng 3",
"Tháng 4",
"Tháng 5",
"Tháng 6",
"Tháng 7",
"Tháng 8",
"Tháng 9",
"Tháng 10",
"Tháng 11",
"Tháng 12"
];
Date.dayNames = [
"Chá»§ nháºt",
"Thứ hai",
"Thứ ba",
"Thứ tư",
"Thứ nÄm",
"Thứ sáu",
"Thứ bảy"
];
if(Ext.MessageBox){
Ext.MessageBox.buttonText = {
ok : "Äá»ng ý",
cancel : "Há»§y bá»",
yes : "Có",
no : "Không"
};
}
if(Ext.util.Format){
Ext.util.Format.date = function(v, format){
if(!v) return "";
if(!(v instanceof Date)) v = new Date(Date.parse(v));
return v.dateFormat(format || "d/m/Y");
};
}
if(Ext.DatePicker){
Ext.apply(Ext.DatePicker.prototype, {
todayText : "Hôm nay",
minText : "Ngà y nà y nhỠhơn ngà y nhỠnhất",
maxText : "Ngà y nà y lá»n hÆ¡n ngà y lá»n nhất",
disabledDaysText : "",
disabledDatesText : "",
monthNames : Date.monthNames,
dayNames : Date.dayNames,
nextText : 'Tháng sau (Control+Right)',
prevText : 'Tháng trưá»c (Control+Left)',
monthYearText : 'Chá»n má»t tháng (Control+Up/Down Äá» thay Äá»i nÄm)',
todayTip : "{0} (Spacebar - PhÃm trắng)",
format : "d/m/y"
});
}
if(Ext.PagingToolbar){
Ext.apply(Ext.PagingToolbar.prototype, {
beforePageText : "Trang",
afterPageText : "of {0}",
firstText : "Trang Äầu",
prevText : "Trang trưá»c",
nextText : "Trang sau",
lastText : "Trang cuá»i",
refreshText : "Tải lại",
displayMsg : "Hiá»n thá» {0} - {1} cá»§a {2}",
emptyMsg : 'Không có dữ liá»u Äá» hiá»n thá»'
});
}
if(Ext.form.TextField){
Ext.apply(Ext.form.TextField.prototype, {
minLengthText : "Chiá»u dà i tá»i thiá»u cá»§a ô nà y là {0}",
maxLengthText : "Chiá»u dà i tá»i Äa cá»§a ô nà y là {0}",
blankText : "à nà y cần phải nháºp giá trá»",
regexText : "",
emptyText : null
});
}
if(Ext.form.NumberField){
Ext.apply(Ext.form.NumberField.prototype, {
minText : "Giá trỠnhỠnhất của ô nà y là {0}",
maxText : "Giá trá» lá»n nhất cá»§a ô nà y là {0}",
nanText : "{0} hông phải là má»t sá» hợp lá»"
});
}
if(Ext.form.DateField){
Ext.apply(Ext.form.DateField.prototype, {
disabledDaysText : "Vô hiá»u",
disabledDatesText : "Vô hiá»u",
minText : "Ngà y nháºp trong ô nà y phải sau ngà y {0}",
maxText : "Ngà y nháºp trong ô nà y phải trưá»c ngà y {0}",
invalidText : "{0} không phải là má»t ngà y hợp lá» - phải có dạng {1}",
format : "d/m/y"
});
}
if(Ext.form.ComboBox){
Ext.apply(Ext.form.ComboBox.prototype, {
loadingText : "Äang tải...",
valueNotFoundText : undefined
});
}
if(Ext.form.VTypes){
Ext.apply(Ext.form.VTypes, {
emailText : 'Giá trá» cá»§a ô nà y phải là má»t Äá»a chá» email có dạng như "ten@abc.com"',
urlText : 'Giá trá» cá»§a ô nà y phải là má»t Äá»a chá» web(URL) hợp lá», có dạng như "http:/'+'/www.domain.com"',
alphaText : 'à nà y chá» ÄÆ°á»£c nháºp các kà tá»± và gạch dưá»i(_)',
alphanumText : 'à nà y chá» ÄÆ°á»£c nháºp các kà tá»±, sá» và gạch dưá»i(_)'
});
}
if(Ext.grid.GridView){
Ext.apply(Ext.grid.GridView.prototype, {
sortAscText : "TÄng dần",
sortDescText : "Giảm dần",
lockText : "Khóa cá»t",
unlockText : "Bá» khóa cá»t",
columnsText : "Các cá»t"
});
}
if(Ext.grid.PropertyColumnModel){
Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
nameText : "Tên",
valueText : "Giá trá»",
dateFormat : "j/m/Y"
});
}
if(Ext.SplitLayoutRegion){
Ext.apply(Ext.SplitLayoutRegion.prototype, {
splitTip : "Kéo giữ chuá»t Äá» thay Äá»i kÃch thưá»c.",
collapsibleSplitTip : "Kéo giữ chuá»t Äá» thay Äá»i kÃch thưá»c. Nhấp Äúp ÄỠẩn Äi."
});
}
Ext - Copyright © 2006-2007 Ext JS, LLC
All rights reserved.