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