2 * List compiled by mystix on the extjs.com forums.
7 * Vietnamese translation
9 * 12-April-2007 04:06PM
12 Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">Đang tải...</div>';
15 Ext.View.prototype.emptyText = "";
18 if(Ext.grid.GridPanel){
19 Ext.grid.GridPanel.prototype.ddText = "{0} dòng được chọn";
23 Ext.TabPanelItem.prototype.closeText = "Đóng thẻ này";
27 Ext.form.Field.prototype.invalidText = "Giá trị của ô này không hợp lệ.";
31 Ext.LoadMask.prototype.msg = "Đang tải...";
60 Ext.MessageBox.buttonText = {
69 Ext.util.Format.date = function(v, format){
71 if(!(v instanceof Date)) v = new Date(Date.parse(v));
72 return v.dateFormat(format || "d/m/Y");
77 Ext.apply(Ext.DatePicker.prototype, {
78 todayText : "Hôm nay",
79 minText : "Ngày này nhỏ hơn ngày nhỏ nhất",
80 maxText : "Ngày này lớn hơn ngày lớn nhất",
81 disabledDaysText : "",
82 disabledDatesText : "",
83 monthNames : Date.monthNames,
84 dayNames : Date.dayNames,
85 nextText : 'Tháng sau (Control+Right)',
86 prevText : 'Tháng trước (Control+Left)',
87 monthYearText : 'Chọn một tháng (Control+Up/Down để thay đổi năm)',
88 todayTip : "{0} (Spacebar - Phím trắng)",
93 if(Ext.PagingToolbar){
94 Ext.apply(Ext.PagingToolbar.prototype, {
95 beforePageText : "Trang",
96 afterPageText : "of {0}",
97 firstText : "Trang đầu",
98 prevText : "Trang trước",
99 nextText : "Trang sau",
100 lastText : "Trang cuối",
101 refreshText : "Tải lại",
102 displayMsg : "Hiển thị {0} - {1} của {2}",
103 emptyMsg : 'Không có dữ liệu để hiển thị'
107 if(Ext.form.TextField){
108 Ext.apply(Ext.form.TextField.prototype, {
109 minLengthText : "Chiều dài tối thiểu của ô này là {0}",
110 maxLengthText : "Chiều dài tối đa của ô này là {0}",
111 blankText : "Ô này cần phải nhập giá trị",
117 if(Ext.form.NumberField){
118 Ext.apply(Ext.form.NumberField.prototype, {
119 minText : "Giá trị nhỏ nhất của ô này là {0}",
120 maxText : "Giá trị lớn nhất của ô này là {0}",
121 nanText : "{0} hông phải là một số hợp lệ"
125 if(Ext.form.DateField){
126 Ext.apply(Ext.form.DateField.prototype, {
127 disabledDaysText : "Vô hiệu",
128 disabledDatesText : "Vô hiệu",
129 minText : "Ngày nhập trong ô này phải sau ngày {0}",
130 maxText : "Ngày nhập trong ô này phải trước ngày {0}",
131 invalidText : "{0} không phải là một ngày hợp lệ - phải có dạng {1}",
136 if(Ext.form.ComboBox){
137 Ext.apply(Ext.form.ComboBox.prototype, {
138 loadingText : "Đang tải...",
139 valueNotFoundText : undefined
144 Ext.apply(Ext.form.VTypes, {
145 emailText : 'Giá trị của ô này phải là một địa chỉ email có dạng như "ten@abc.com"',
146 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"',
147 alphaText : 'Ô này chỉ được nhập các kí tự và gạch dưới(_)',
148 alphanumText : 'Ô này chỉ được nhập các kí tự, số và gạch dưới(_)'
152 if(Ext.grid.GridView){
153 Ext.apply(Ext.grid.GridView.prototype, {
154 sortAscText : "Tăng dần",
155 sortDescText : "Giảm dần",
156 lockText : "Khóa cột",
157 unlockText : "Bỏ khóa cột",
158 columnsText : "Các cột"
162 if(Ext.grid.PropertyColumnModel){
163 Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
165 valueText : "Giá trị",
170 if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
171 Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
172 splitTip : "Kéo giữ chuột để thay đổi kích thước.",
173 collapsibleSplitTip : "Kéo giữ chuột để thay đổi kích thước. Nhấp đúp để ẩn đi."