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: DA (Danish; dansk)
28 $.extend($.validator.messages, {
29 required: "Dette felt er påkrævet.",
30 maxlength: $.validator.format("Indtast højst {0} tegn."),
31 minlength: $.validator.format("Indtast mindst {0} tegn."),
32 rangelength: $.validator.format("Indtast mindst {0} og højst {1} tegn."),
33 email: "Indtast en gyldig email-adresse.",
34 url: "Indtast en gyldig URL.",
35 date: "Indtast en gyldig dato.",
36 number: "Indtast et tal.",
37 digits: "Indtast kun cifre.",
38 equalTo: "Indtast den samme værdi igen.",
39 range: $.validator.format("Angiv en værdi mellem {0} og {1}."),
40 max: $.validator.format("Angiv en værdi der højst er {0}."),
41 min: $.validator.format("Angiv en værdi der mindst er {0}."),
42 creditcard: "Indtast et gyldigt kreditkortnummer."