~mortenoh/+junk/dhis2-detailed-import-export

« back to all changes in this revision

Viewing changes to gis/dhis-gis-geostat/mfbase/ext/source/locale/ext-lang-vn.js

  • Committer: larshelge at gmail
  • Date: 2009-03-03 16:46:36 UTC
  • Revision ID: larshelge@gmail.com-20090303164636-2sjlrquo7ib1gf7r
Initial check-in

Show diffs side-by-side

added added

removed removed

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