2 * Copyright 2016-2017 ZTE, Inc. and others.
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
16 (function( factory ) {
17 if ( typeof define === "function" && define.amd ) {
18 define( ["jquery", "../jquery.validate"], factory );
25 * Translated default messages for the jQuery validation plugin.
26 * Locale: VI (Vietnamese; Tiếng Việt)
28 $.extend($.validator.messages, {
29 required: "Hãy nhập.",
30 remote: "Hãy sửa cho đúng.",
31 email: "Hãy nhập email.",
33 date: "Hãy nhập ngày.",
34 dateISO: "Hãy nhập ngày (ISO).",
35 number: "Hãy nhập số.",
36 digits: "Hãy nhập chữ số.",
37 creditcard: "Hãy nhập số thẻ tín dụng.",
38 equalTo: "Hãy nhập thêm lần nữa.",
39 extension: "Phần mở rộng không đúng.",
40 maxlength: $.validator.format("Hãy nhập từ {0} kí tự trở xuống."),
41 minlength: $.validator.format("Hãy nhập từ {0} kí tự trở lên."),
42 rangelength: $.validator.format("Hãy nhập từ {0} đến {1} kí tự."),
43 range: $.validator.format("Hãy nhập từ {0} đến {1}."),
44 max: $.validator.format("Hãy nhập từ {0} trở xuống."),
45 min: $.validator.format("Hãy nhập từ {1} trở lên.")