2 * Copyright 2016 2015-2016 ZTE, Inc. and others. All rights reserved.
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 * Author: Zhaoxing Meng
17 * email: meng.zhaoxing1@zte.com.cn
19 (function( factory ) {
20 if ( typeof define === "function" && define.amd ) {
21 define( ["jquery", "../jquery.validate"], factory );
28 * Translated default messages for the jQuery validation plugin.
29 * Locale: SK (Slovak; slovenčina, slovenský jazyk)
31 $.extend($.validator.messages, {
32 required: "Povinné zadať.",
33 maxlength: $.validator.format("Maximálne {0} znakov."),
34 minlength: $.validator.format("Minimálne {0} znakov."),
35 rangelength: $.validator.format("Minimálne {0} a Maximálne {1} znakov."),
36 email: "E-mailová adresa musí byť platná.",
37 url: "URL musí byť platný.",
38 date: "Musí byť dátum.",
39 number: "Musí byť číslo.",
40 digits: "Môže obsahovať iba číslice.",
41 equalTo: "Dva hodnoty sa musia rovnať.",
42 range: $.validator.format("Musí byť medzi {0} a {1}."),
43 max: $.validator.format("Nemôže byť viac ako{0}."),
44 min: $.validator.format("Nemôže byť menej ako{0}."),
45 creditcard: "Číslo platobnej karty musí byť platné."