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