Upgrade to ExtJS 3.0.0 - Released 07/06/2009
[extjs.git] / docs / source / ext-lang-vn.html
1 <html>\r
2 <head>\r
3   <title>The source code</title>\r
4     <link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />\r
5     <script type="text/javascript" src="../resources/prettify/prettify.js"></script>\r
6 </head>\r
7 <body  onload="prettyPrint();">\r
8     <pre class="prettyprint lang-js"><div id="prop-Ext.data.XmlStore-"></div>/**
9  * List compiled by mystix on the extjs.com forums.
10  * Thank you Mystix!
11  */
12
13 <div id="prop-Ext.data.XmlStore-indicatorText"></div>/**
14  * Vietnamese translation
15  * By bpmtri
16  * 12-April-2007 04:06PM
17  */
18
19 Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">Đang tải...</div>';
20
21 if(Ext.View){
22    Ext.View.prototype.emptyText = "";
23 }
24
25 if(Ext.grid.GridPanel){
26    Ext.grid.GridPanel.prototype.ddText = "{0} dòng được chọn";
27 }
28
29 if(Ext.TabPanelItem){
30    Ext.TabPanelItem.prototype.closeText = "Đóng thẻ này";
31 }
32
33 if(Ext.form.Field){
34    Ext.form.Field.prototype.invalidText = "Giá trị của ô này không hợp lệ.";
35 }
36
37 if(Ext.LoadMask){
38     Ext.LoadMask.prototype.msg = "Đang tải...";
39 }
40
41 Date.monthNames = [
42    "Tháng 1",
43    "Tháng 2",
44    "Tháng 3",
45    "Tháng 4",
46    "Tháng 5",
47    "Tháng 6",
48    "Tháng 7",
49    "Tháng 8",
50    "Tháng 9",
51    "Tháng 10",
52    "Tháng 11",
53    "Tháng 12"
54 ];
55
56 Date.dayNames = [
57    "Chủ nhật",
58    "Thứ hai",
59    "Thứ ba",
60    "Thứ tư",
61    "Thứ năm",
62    "Thứ sáu",
63    "Thứ bảy"
64 ];
65
66 if(Ext.MessageBox){
67    Ext.MessageBox.buttonText = {
68       ok     : "Đồng ý",
69       cancel : "Hủy bỏ",
70       yes    : "Có",
71       no     : "Không"
72    };
73 }
74
75 if(Ext.util.Format){
76    Ext.util.Format.date = function(v, format){
77       if(!v) return "";
78       if(!(v instanceof Date)) v = new Date(Date.parse(v));
79       return v.dateFormat(format || "d/m/Y");
80    };
81 }
82
83 if(Ext.DatePicker){
84    Ext.apply(Ext.DatePicker.prototype, {
85       todayText         : "Hôm nay",
86       minText           : "Ngày này nhỏ hơn ngày nhỏ nhất",
87       maxText           : "Ngày này lớn hơn ngày lớn nhất",
88       disabledDaysText  : "",
89       disabledDatesText : "",
90       monthNames        : Date.monthNames,
91       dayNames          : Date.dayNames,
92       nextText          : 'Tháng sau (Control+Right)',
93       prevText          : 'Tháng trước (Control+Left)',
94       monthYearText     : 'Chọn một tháng (Control+Up/Down để thay đổi năm)',
95       todayTip          : "{0} (Spacebar - Phím trắng)",
96       format            : "d/m/y"
97    });
98 }
99
100 if(Ext.PagingToolbar){
101    Ext.apply(Ext.PagingToolbar.prototype, {
102       beforePageText : "Trang",
103       afterPageText  : "of {0}",
104       firstText      : "Trang đầu",
105       prevText       : "Trang trước",
106       nextText       : "Trang sau",
107       lastText       : "Trang cuối",
108       refreshText    : "Tải lại",
109       displayMsg     : "Hiển thị {0} - {1} của {2}",
110       emptyMsg       : 'Không có dữ liệu để hiển thị'
111    });
112 }
113
114 if(Ext.form.TextField){
115    Ext.apply(Ext.form.TextField.prototype, {
116       minLengthText : "Chiều dài tối thiểu của ô này là {0}",
117       maxLengthText : "Chiều dài tối đa của ô này là {0}",
118       blankText     : "Ô này cần phải nhập giá trị",
119       regexText     : "",
120       emptyText     : null
121    });
122 }
123
124 if(Ext.form.NumberField){
125    Ext.apply(Ext.form.NumberField.prototype, {
126       minText : "Giá trị nhỏ nhất của ô này là {0}",
127       maxText : "Giá trị lớn nhất của ô này là  {0}",
128       nanText : "{0} hông phải là một số hợp lệ"
129    });
130 }
131
132 if(Ext.form.DateField){
133    Ext.apply(Ext.form.DateField.prototype, {
134       disabledDaysText  : "Vô hiệu",
135       disabledDatesText : "Vô hiệu",
136       minText           : "Ngày nhập trong ô này phải sau ngày {0}",
137       maxText           : "Ngày nhập trong ô này phải trước ngày {0}",
138       invalidText       : "{0} không phải là một ngày hợp lệ - phải có dạng {1}",
139       format            : "d/m/y"
140    });
141 }
142
143 if(Ext.form.ComboBox){
144    Ext.apply(Ext.form.ComboBox.prototype, {
145       loadingText       : "Đang tải...",
146       valueNotFoundText : undefined
147    });
148 }
149
150 if(Ext.form.VTypes){
151    Ext.apply(Ext.form.VTypes, {
152       emailText    : 'Giá trị của ô này phải là một địa chỉ email có dạng như "ten@abc.com"',
153       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"',
154       alphaText    : 'Ô này chỉ được nhập các kí tự và gạch dưới(_)',
155       alphanumText : 'Ô này chỉ được nhập các kí tự, số và gạch dưới(_)'
156    });
157 }
158
159 if(Ext.grid.GridView){
160    Ext.apply(Ext.grid.GridView.prototype, {
161       sortAscText  : "Tăng dần",
162       sortDescText : "Giảm dần",
163       lockText     : "Khóa cột",
164       unlockText   : "Bỏ khóa cột",
165       columnsText  : "Các cột"
166    });
167 }
168
169 if(Ext.grid.PropertyColumnModel){
170    Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
171       nameText   : "Tên",
172       valueText  : "Giá trị",
173       dateFormat : "j/m/Y"
174    });
175 }
176
177 if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
178    Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
179       splitTip            : "Kéo giữ chuột để thay đổi kích thước.",
180       collapsibleSplitTip : "Kéo giữ chuột để thay đổi kích thước. Nhấp đúp để ẩn đi."
181    });
182 }
183 </pre>    \r
184 </body>\r
185 </html>