X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/0494b8d9b9bb03ab6c22b34dae81261e3cd7e3e6..7a654f8d43fdb43d78b63d90528bed6e86b608cc:/locale/ext-lang-vn.js?ds=sidebyside
diff --git a/locale/ext-lang-vn.js b/locale/ext-lang-vn.js
new file mode 100644
index 00000000..cbe0d921
--- /dev/null
+++ b/locale/ext-lang-vn.js
@@ -0,0 +1,178 @@
+/**
+ * List compiled by mystix on the extjs.com forums.
+ * Thank you Mystix!
+ * Vietnamese translation
+ * By bpmtri
+ * 12-April-2007 04:06PM
+ */
+Ext.onReady(function(){
+ if(Ext.Updater){
+ Ext.Updater.defaults.indicatorText = '
Äang tải...
';
+ }
+
+ if(Ext.view.View){
+ Ext.view.View.prototype.emptyText = "";
+ }
+
+ if(Ext.grid.Panel){
+ Ext.grid.Panel.prototype.ddText = "{0} dòng Äược chá»n";
+ }
+
+ if(Ext.TabPanelItem){
+ Ext.TabPanelItem.prototype.closeText = "Äóng thẻ nà y";
+ }
+
+ if(Ext.form.field.Base){
+ Ext.form.field.Base.prototype.invalidText = "Giá trá» của ô nà y không hợp lá».";
+ }
+
+ if(Ext.LoadMask){
+ Ext.LoadMask.prototype.msg = "Äang tải...";
+ }
+
+ if(Ext.Date){
+ Ext.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"
+ ];
+
+ Ext.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.apply(Ext.util.Format, {
+ thousandSeparator: '.',
+ decimalSeparator: ',',
+ currencySign: '\u20ab', // Vietnamese Dong
+ dateFormat: 'd/m/Y'
+ });
+ }
+
+ if(Ext.picker.Date){
+ Ext.apply(Ext.picker.Date.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 : Ext.Date.monthNames,
+ dayNames : Ext.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.toolbar.Paging){
+ 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.field.Text){
+ Ext.apply(Ext.form.field.Text.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.field.Number){
+ Ext.apply(Ext.form.field.Number.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.field.Date){
+ Ext.apply(Ext.form.field.Date.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.field.ComboBox){
+ Ext.apply(Ext.form.field.ComboBox.prototype, {
+ loadingText : "Äang tải...",
+ valueNotFoundText : undefined
+ });
+ }
+
+ if(Ext.form.field.VTypes){
+ Ext.apply(Ext.form.field.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.example.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.header.Container){
+ Ext.apply(Ext.grid.header.Container.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.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
+ Ext.apply(Ext.layout.BorderLayout.SplitRegion.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."
+ });
+ }
+});
\ No newline at end of file