3 * Copyright(c) 2006-2010 Ext JS, Inc.
5 * http://www.extjs.com/license
8 * List compiled by mystix on the extjs.com forums.
13 * Vietnamese translation
15 * 12-April-2007 04:06PM
18 Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">Đang tải...</div>';
21 Ext.View.prototype.emptyText = "";
24 if(Ext.grid.GridPanel){
25 Ext.grid.GridPanel.prototype.ddText = "{0} dòng được chọn";
29 Ext.TabPanelItem.prototype.closeText = "Đóng thẻ này";
33 Ext.form.Field.prototype.invalidText = "Giá trị của ô này không hợp lệ.";
37 Ext.LoadMask.prototype.msg = "Đang tải...";
66 Ext.MessageBox.buttonText = {
75 Ext.util.Format.date = function(v, format){
77 if(!(v instanceof Date)) v = new Date(Date.parse(v));
78 return v.dateFormat(format || "d/m/Y");
83 Ext.apply(Ext.DatePicker.prototype, {
84 todayText : "Hôm nay",
85 minText : "Ngày này nhỏ hơn ngày nhỏ nhất",
86 maxText : "Ngày này lớn hơn ngày lớn nhất",
87 disabledDaysText : "",
88 disabledDatesText : "",
89 monthNames : Date.monthNames,
90 dayNames : Date.dayNames,
91 nextText : 'Tháng sau (Control+Right)',
92 prevText : 'Tháng trước (Control+Left)',
93 monthYearText : 'Chọn một tháng (Control+Up/Down để thay đổi năm)',
94 todayTip : "{0} (Spacebar - Phím trắng)",
99 if(Ext.PagingToolbar){
100 Ext.apply(Ext.PagingToolbar.prototype, {
101 beforePageText : "Trang",
102 afterPageText : "of {0}",
103 firstText : "Trang đầu",
104 prevText : "Trang trước",
105 nextText : "Trang sau",
106 lastText : "Trang cuối",
107 refreshText : "Tải lại",
108 displayMsg : "Hiển thị {0} - {1} của {2}",
109 emptyMsg : 'Không có dữ liệu để hiển thị'
113 if(Ext.form.TextField){
114 Ext.apply(Ext.form.TextField.prototype, {
115 minLengthText : "Chiều dài tối thiểu của ô này là {0}",
116 maxLengthText : "Chiều dài tối đa của ô này là {0}",
117 blankText : "Ô này cần phải nhập giá trị",
123 if(Ext.form.NumberField){
124 Ext.apply(Ext.form.NumberField.prototype, {
125 minText : "Giá trị nhỏ nhất của ô này là {0}",
126 maxText : "Giá trị lớn nhất của ô này là {0}",
127 nanText : "{0} hông phải là một số hợp lệ"
131 if(Ext.form.DateField){
132 Ext.apply(Ext.form.DateField.prototype, {
133 disabledDaysText : "Vô hiệu",
134 disabledDatesText : "Vô hiệu",
135 minText : "Ngày nhập trong ô này phải sau ngày {0}",
136 maxText : "Ngày nhập trong ô này phải trước ngày {0}",
137 invalidText : "{0} không phải là một ngày hợp lệ - phải có dạng {1}",
142 if(Ext.form.ComboBox){
143 Ext.apply(Ext.form.ComboBox.prototype, {
144 loadingText : "Đang tải...",
145 valueNotFoundText : undefined
150 Ext.apply(Ext.form.VTypes, {
151 emailText : 'Giá trị của ô này phải là một địa chỉ email có dạng như "ten@abc.com"',
152 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"',
153 alphaText : 'Ô này chỉ được nhập các kí tự và gạch dưới(_)',
154 alphanumText : 'Ô này chỉ được nhập các kí tự, số và gạch dưới(_)'
158 if(Ext.grid.GridView){
159 Ext.apply(Ext.grid.GridView.prototype, {
160 sortAscText : "Tăng dần",
161 sortDescText : "Giảm dần",
162 lockText : "Khóa cột",
163 unlockText : "Bỏ khóa cột",
164 columnsText : "Các cột"
168 if(Ext.grid.PropertyColumnModel){
169 Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
171 valueText : "Giá trị",
176 if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
177 Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
178 splitTip : "Kéo giữ chuột để thay đổi kích thước.",
179 collapsibleSplitTip : "Kéo giữ chuột để thay đổi kích thước. Nhấp đúp để ẩn đi."