source: trunk/web/addons/job_monarch/lib/extjs-30/src/locale/ext-lang-vn.js @ 625

Last change on this file since 625 was 625, checked in by ramonb, 15 years ago

lib/extjs-30:

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