2 * Copyright 2016 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: SK (Slovak; slovenčina, slovenský jazyk)
28 $.extend($.validator.messages, {
29 required: "Povinné zadať.",
30 maxlength: $.validator.format("Maximálne {0} znakov."),
31 minlength: $.validator.format("Minimálne {0} znakov."),
32 rangelength: $.validator.format("Minimálne {0} a Maximálne {1} znakov."),
33 email: "E-mailová adresa musí byť platná.",
34 url: "URL musí byť platný.",
35 date: "Musí byť dátum.",
36 number: "Musí byť číslo.",
37 digits: "Môže obsahovať iba číslice.",
38 equalTo: "Dva hodnoty sa musia rovnať.",
39 range: $.validator.format("Musí byť medzi {0} a {1}."),
40 max: $.validator.format("Nemôže byť viac ako{0}."),
41 min: $.validator.format("Nemôže byť menej ako{0}."),
42 creditcard: "Číslo platobnej karty musí byť platné."