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