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: SV (Swedish; Svenska)
28 $.extend($.validator.messages, {
29 required: "Detta fält är obligatoriskt.",
30 maxlength: $.validator.format("Du får ange högst {0} tecken."),
31 minlength: $.validator.format("Du måste ange minst {0} tecken."),
32 rangelength: $.validator.format("Ange minst {0} och max {1} tecken."),
33 email: "Ange en korrekt e-postadress.",
34 url: "Ange en korrekt URL.",
35 date: "Ange ett korrekt datum.",
36 dateISO: "Ange ett korrekt datum (ÅÅÅÅ-MM-DD).",
37 number: "Ange ett korrekt nummer.",
38 digits: "Ange endast siffror.",
39 equalTo: "Ange samma värde igen.",
40 range: $.validator.format("Ange ett värde mellan {0} och {1}."),
41 max: $.validator.format("Ange ett värde som är mindre eller lika med {0}."),
42 min: $.validator.format("Ange ett värde som är större eller lika med {0}."),
43 creditcard: "Ange ett korrekt kreditkortsnummer."