source: pro-violet-viettel/www/deploy/20150304/assets/js/jqGrid/i18n/grid.locale-vi.js @ 794

Last change on this file since 794 was 780, checked in by dungnv, 10 years ago
File size: 7.1 KB
Line 
1;(function($){
2/**
3 * jqGrid Vietnamese Translation
4 * Lê Đình DÅ©ng dungtdc@gmail.com
5 * http://trirand.com/blog/
6 * Dual licensed under the MIT and GPL licenses:
7 * http://www.opensource.org/licenses/mit-license.php
8 * http://www.gnu.org/licenses/gpl.html
9**/
10$.jgrid = $.jgrid || {};
11$.extend($.jgrid,{
12        defaults : {
13                recordtext: "View {0} - {1} of {2}",
14                emptyrecords: "KhÃŽng có dữ liệu",
15                loadtext: "Đang nạp dữ liệu...",
16                pgtext : "Trang {0} trong tổng số {1}"
17        },
18        search : {
19                caption: "Tìm kiếm...",
20                Find: "Tìm",
21                Reset: "Khởi tạo lại",
22                odata: [{ oper:'eq', text:"bằng"},{ oper:'ne', text:"khÃŽng bằng"},{ oper:'lt', text:"bé hÆ¡n"},{ oper:'le', text:"bé hÆ¡n hoặc bằng"},{ oper:'gt', text:"lớn hÆ¡n"},{ oper:'ge', text:"lớn hÆ¡n hoặc bằng"},{ oper:'bw', text:"bắt đầu với"},{ oper:'bn', text:"khÃŽng bắt đầu với"},{ oper:'in', text:"trong"},{ oper:'ni', text:"khÃŽng nằm trong"},{ oper:'ew', text:"kết thúc với"},{ oper:'en', text:"khÃŽng kết thúc với"},{ oper:'cn', text:"chứa"},{ oper:'nc', text:"khÃŽng chứa"}],
23                groupOps: [     { op: "VÀ", text: "tất cả" },      { op: "HOẶC",  text: "bất kỳ" }   ]
24        },
25        edit : {
26                addCaption: "Thêm bản ghi",
27                editCaption: "Sá»­a bản ghi",
28                bSubmit: "Gá»­i",
29                bCancel: "Há»§y bỏ",
30                bClose: "Đóng",
31                saveData: "Dữ liệu đã thay đổi! Có lưu thay đổi khÃŽng?",
32                bYes : "Có",
33                bNo : "KhÃŽng",
34                bExit : "Há»§y bỏ",
35                msg: {
36                        required:"Trường dữ liệu bắt buộc có",
37                        number:"Hãy điền đúng số",
38                        minValue:"giá trị phải lớn hÆ¡n hoặc bằng với ",
39                        maxValue:"giá trị phải bé hÆ¡n hoặc bằng",
40                        email: "khÃŽng phải là một email đúng",
41                        integer: "Hãy điền đúng số nguyên",
42                        date: "Hãy điền đúng ngày tháng",
43                        url: "khÃŽng phải là URL. Khởi đầu bắt buộc là ('http://' hoặc 'https://')",
44                        nodefined : " chưa được định nghÄ©a!",
45                        novalue : " giá trị trả về bắt buộc phải có!",
46                        customarray : "Hàm nên trả về một mảng!",
47                        customfcheck : "Custom function should be present in case of custom checking!"
48                       
49                }
50        },
51        view : {
52                caption: "Xem bản ghi",
53                bClose: "Đóng"
54        },
55        del : {
56                caption: "Xóa",
57                msg: "Xóa bản ghi đã chọn?",
58                bSubmit: "Xóa",
59                bCancel: "Há»§y bỏ"
60        },
61        nav : {
62                edittext: "",
63                edittitle: "Sá»­a dòng đã chọn",
64                addtext:"",
65                addtitle: "Thêm mới 1 dòng",
66                deltext: "",
67                deltitle: "Xóa dòng đã chọn",
68                searchtext: "",
69                searchtitle: "Tìm bản ghi",
70                refreshtext: "",
71                refreshtitle: "Nạp lại lưới",
72                alertcap: "Cảnh báo",
73                alerttext: "Hãy chọn một dòng",
74                viewtext: "",
75                viewtitle: "Xem dòng đã chọn"
76        },
77        col : {
78                caption: "Chọn cột",
79                bSubmit: "OK",
80                bCancel: "Há»§y bỏ"
81        },
82        errors : {
83                errcap : "Lỗi",
84                nourl : "khÃŽng url được đặt",
85                norecords: "KhÃŽng có bản ghi để xá»­ lÜ",
86                model : "Chiều dài cá»§a colNames <> colModel!"
87        },
88        formatter : {
89                integer : {thousandsSeparator: ".", defaultValue: '0'},
90                number : {decimalSeparator:",", thousandsSeparator: ".", decimalPlaces: 2, defaultValue: '0'},
91                currency : {decimalSeparator:",", thousandsSeparator: ".", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0'},
92                date : {
93                        dayNames:   [
94                                "CN", "T2", "T3", "T4", "T5", "T6", "T7",
95                                "Chá»§ nhật", "Thứ hai", "Thứ ba", "Thứ tư", "Thứ năm", "Thứ sáu", "Thứ bảy"
96                        ],
97                        monthNames: [
98                                "Th1", "Th2", "Th3", "Th4", "Th5", "Th6", "Th7", "Th8", "Th9", "Th10", "Th11", "Th12",
99                                "Tháng một", "Tháng hai", "Tháng ba", "Tháng tư", "Tháng năm", "Tháng sáu", "Tháng bảy", "Tháng tám", "Tháng chín", "Tháng mười", "Tháng mười một", "Tháng mười hai"
100                        ],
101                        AmPm : ["sáng","chiều","SÁNG","CHIỀU"],
102                        S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th';},
103                        srcformat: 'Y-m-d',
104                        newformat: 'n/j/Y',
105                        parseRe : /[Tt\\\/:_;.,\t\s-]/,
106                        masks : {
107                                // see http://php.net/manual/en/function.date.php for PHP format used in jqGrid
108                                // and see http://docs.jquery.com/UI/Datepicker/formatDate
109                                // and https://github.com/jquery/globalize#dates for alternative formats used frequently
110                                // one can find on https://github.com/jquery/globalize/tree/master/lib/cultures many
111                                // information about date, time, numbers and currency formats used in different countries
112                                // one should just convert the information in PHP format
113                                ISO8601Long:"Y-m-d H:i:s",
114                                ISO8601Short:"Y-m-d",
115                                // short date:
116                                //    n - Numeric representation of a month, without leading zeros
117                                //    j - Day of the month without leading zeros
118                                //    Y - A full numeric representation of a year, 4 digits
119                                // example: 3/1/2012 which means 1 March 2012
120                                ShortDate: "n/j/Y", // in jQuery UI Datepicker: "M/d/yyyy"
121                                // long date:
122                                //    l - A full textual representation of the day of the week
123                                //    F - A full textual representation of a month
124                                //    d - Day of the month, 2 digits with leading zeros
125                                //    Y - A full numeric representation of a year, 4 digits
126                                LongDate: "l, F d, Y", // in jQuery UI Datepicker: "dddd, MMMM dd, yyyy"
127                                // long date with long time:
128                                //    l - A full textual representation of the day of the week
129                                //    F - A full textual representation of a month
130                                //    d - Day of the month, 2 digits with leading zeros
131                                //    Y - A full numeric representation of a year, 4 digits
132                                //    g - 12-hour format of an hour without leading zeros
133                                //    i - Minutes with leading zeros
134                                //    s - Seconds, with leading zeros
135                                //    A - Uppercase Ante meridiem and Post meridiem (AM or PM)
136                                FullDateTime: "l, F d, Y g:i:s A", // in jQuery UI Datepicker: "dddd, MMMM dd, yyyy h:mm:ss tt"
137                                // month day:
138                                //    F - A full textual representation of a month
139                                //    d - Day of the month, 2 digits with leading zeros
140                                MonthDay: "F d", // in jQuery UI Datepicker: "MMMM dd"
141                                // short time (without seconds)
142                                //    g - 12-hour format of an hour without leading zeros
143                                //    i - Minutes with leading zeros
144                                //    A - Uppercase Ante meridiem and Post meridiem (AM or PM)
145                                ShortTime: "g:i A", // in jQuery UI Datepicker: "h:mm tt"
146                                // long time (with seconds)
147                                //    g - 12-hour format of an hour without leading zeros
148                                //    i - Minutes with leading zeros
149                                //    s - Seconds, with leading zeros
150                                //    A - Uppercase Ante meridiem and Post meridiem (AM or PM)
151                                LongTime: "g:i:s A", // in jQuery UI Datepicker: "h:mm:ss tt"
152                                SortableDateTime: "Y-m-d\\TH:i:s",
153                                UniversalSortableDateTime: "Y-m-d H:i:sO",
154                                // month with year
155                                //    Y - A full numeric representation of a year, 4 digits
156                                //    F - A full textual representation of a month
157                                YearMonth: "F, Y" // in jQuery UI Datepicker: "MMMM, yyyy"
158                        },
159                        reformatAfterEdit : false
160                },
161                baseLinkUrl: '',
162                showAction: '',
163                target: '',
164                checkbox : {disabled:true},
165                idName : 'id'
166        }
167});
168})(jQuery);
Note: See TracBrowser for help on using the repository browser.