X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/ee06f37b0f6f6d94cd05a6ffae556660f7c4a2bc..c930e9176a5a85509c5b0230e2bff5c22a591432:/src/locale/ext-lang-vn.js
diff --git a/src/locale/ext-lang-vn.js b/src/locale/ext-lang-vn.js
new file mode 100644
index 00000000..1b11de11
--- /dev/null
+++ b/src/locale/ext-lang-vn.js
@@ -0,0 +1,181 @@
+/*!
+ * Ext JS Library 3.0.0
+ * Copyright(c) 2006-2009 Ext JS, LLC
+ * licensing@extjs.com
+ * http://www.extjs.com/license
+ */
+/**
+ * List compiled by mystix on the extjs.com forums.
+ * Thank you Mystix!
+ */
+
+/**
+ * Vietnamese translation
+ * By bpmtri
+ * 12-April-2007 04:06PM
+ */
+
+Ext.UpdateManager.defaults.indicatorText = '
Äang tải...
';
+
+if(Ext.View){
+ Ext.View.prototype.emptyText = "";
+}
+
+if(Ext.grid.GridPanel){
+ Ext.grid.GridPanel.prototype.ddText = "{0} dòng Äược chá»n";
+}
+
+if(Ext.TabPanelItem){
+ Ext.TabPanelItem.prototype.closeText = "Äóng thẻ nà y";
+}
+
+if(Ext.form.Field){
+ Ext.form.Field.prototype.invalidText = "Giá trá» của ô nà y không hợp lá».";
+}
+
+if(Ext.LoadMask){
+ Ext.LoadMask.prototype.msg = "Äang tải...";
+}
+
+Date.monthNames = [
+ "Tháng 1",
+ "Tháng 2",
+ "Tháng 3",
+ "Tháng 4",
+ "Tháng 5",
+ "Tháng 6",
+ "Tháng 7",
+ "Tháng 8",
+ "Tháng 9",
+ "Tháng 10",
+ "Tháng 11",
+ "Tháng 12"
+];
+
+Date.dayNames = [
+ "Chủ nháºt",
+ "Thứ hai",
+ "Thứ ba",
+ "Thứ tư",
+ "Thứ nÄm",
+ "Thứ sáu",
+ "Thứ bảy"
+];
+
+if(Ext.MessageBox){
+ Ext.MessageBox.buttonText = {
+ ok : "Äá»ng ý",
+ cancel : "Hủy bá»",
+ yes : "Có",
+ no : "Không"
+ };
+}
+
+if(Ext.util.Format){
+ Ext.util.Format.date = function(v, format){
+ if(!v) return "";
+ if(!(v instanceof Date)) v = new Date(Date.parse(v));
+ return v.dateFormat(format || "d/m/Y");
+ };
+}
+
+if(Ext.DatePicker){
+ Ext.apply(Ext.DatePicker.prototype, {
+ todayText : "Hôm nay",
+ minText : "Ngà y nà y nhỠhơn ngà y nhỠnhất",
+ maxText : "Ngà y nà y lá»n hÆ¡n ngà y lá»n nhất",
+ disabledDaysText : "",
+ disabledDatesText : "",
+ monthNames : Date.monthNames,
+ dayNames : Date.dayNames,
+ nextText : 'Tháng sau (Control+Right)',
+ prevText : 'Tháng trÆ°á»c (Control+Left)',
+ monthYearText : 'Chá»n má»t tháng (Control+Up/Down Äá» thay Äá»i nÄm)',
+ todayTip : "{0} (Spacebar - PhÃm trắng)",
+ format : "d/m/y"
+ });
+}
+
+if(Ext.PagingToolbar){
+ Ext.apply(Ext.PagingToolbar.prototype, {
+ beforePageText : "Trang",
+ afterPageText : "of {0}",
+ firstText : "Trang Äầu",
+ prevText : "Trang trÆ°á»c",
+ nextText : "Trang sau",
+ lastText : "Trang cuá»i",
+ refreshText : "Tải lại",
+ displayMsg : "Hiá»n thá» {0} - {1} của {2}",
+ emptyMsg : 'Không có dữ liá»u Äá» hiá»n thá»'
+ });
+}
+
+if(Ext.form.TextField){
+ Ext.apply(Ext.form.TextField.prototype, {
+ minLengthText : "Chiá»u dà i tá»i thiá»u của ô nà y là {0}",
+ maxLengthText : "Chiá»u dà i tá»i Äa của ô nà y là {0}",
+ blankText : "à nà y cần phải nháºp giá trá»",
+ regexText : "",
+ emptyText : null
+ });
+}
+
+if(Ext.form.NumberField){
+ Ext.apply(Ext.form.NumberField.prototype, {
+ minText : "Giá trỠnhỠnhất của ô nà y là {0}",
+ maxText : "Giá trá» lá»n nhất của ô nà y là {0}",
+ nanText : "{0} hông phải là má»t sá» hợp lá»"
+ });
+}
+
+if(Ext.form.DateField){
+ Ext.apply(Ext.form.DateField.prototype, {
+ disabledDaysText : "Vô hiá»u",
+ disabledDatesText : "Vô hiá»u",
+ minText : "Ngà y nháºp trong ô nà y phải sau ngà y {0}",
+ maxText : "Ngà y nháºp trong ô nà y phải trÆ°á»c ngà y {0}",
+ invalidText : "{0} không phải là má»t ngà y hợp lá» - phải có dạng {1}",
+ format : "d/m/y"
+ });
+}
+
+if(Ext.form.ComboBox){
+ Ext.apply(Ext.form.ComboBox.prototype, {
+ loadingText : "Äang tải...",
+ valueNotFoundText : undefined
+ });
+}
+
+if(Ext.form.VTypes){
+ Ext.apply(Ext.form.VTypes, {
+ emailText : 'Giá trá» của ô nà y phải là má»t Äá»a chá» email có dạng nhÆ° "ten@abc.com"',
+ 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"',
+ alphaText : 'à nà y chá» Äược nháºp các kà tá»± và gạch dÆ°á»i(_)',
+ alphanumText : 'à nà y chá» Äược nháºp các kà tá»±, sá» và gạch dÆ°á»i(_)'
+ });
+}
+
+if(Ext.grid.GridView){
+ Ext.apply(Ext.grid.GridView.prototype, {
+ sortAscText : "TÄng dần",
+ sortDescText : "Giảm dần",
+ lockText : "Khóa cá»t",
+ unlockText : "Bá» khóa cá»t",
+ columnsText : "Các cá»t"
+ });
+}
+
+if(Ext.grid.PropertyColumnModel){
+ Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
+ nameText : "Tên",
+ valueText : "Giá trá»",
+ dateFormat : "j/m/Y"
+ });
+}
+
+if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
+ Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
+ splitTip : "Kéo giữ chuá»t Äá» thay Äá»i kÃch thÆ°á»c.",
+ collapsibleSplitTip : "Kéo giữ chuá»t Äá» thay Äá»i kÃch thÆ°á»c. Nhấp Äúp ÄỠẩn Äi."
+ });
+}