Issue-id: OCS-9
[msb/apigateway.git] / msb-core / apiroute / apiroute-service / src / main / resources / iui-route / js / jquery-validation / localization / messages_sv.js
1 /*
2  * Copyright 2016 2015-2016 ZTE, Inc. and others. All rights reserved.
3  *
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
7  *
8  *     http://www.apache.org/licenses/LICENSE-2.0
9  *
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.
15  *
16  *     Author: Zhaoxing Meng
17  *     email: meng.zhaoxing1@zte.com.cn
18  */
19 (function( factory ) {
20         if ( typeof define === "function" && define.amd ) {
21                 define( ["jquery", "../jquery.validate"], factory );
22         } else {
23                 factory( jQuery );
24         }
25 }(function( $ ) {
26
27 /*
28  * Translated default messages for the jQuery validation plugin.
29  * Locale: SV (Swedish; Svenska)
30  */
31 $.extend($.validator.messages, {
32         required: "Detta fält är obligatoriskt.",
33         maxlength: $.validator.format("Du får ange högst {0} tecken."),
34         minlength: $.validator.format("Du måste ange minst {0} tecken."),
35         rangelength: $.validator.format("Ange minst {0} och max {1} tecken."),
36         email: "Ange en korrekt e-postadress.",
37         url: "Ange en korrekt URL.",
38         date: "Ange ett korrekt datum.",
39         dateISO: "Ange ett korrekt datum (ÅÅÅÅ-MM-DD).",
40         number: "Ange ett korrekt nummer.",
41         digits: "Ange endast siffror.",
42         equalTo: "Ange samma värde igen.",
43         range: $.validator.format("Ange ett värde mellan {0} och {1}."),
44         max: $.validator.format("Ange ett värde som är mindre eller lika med {0}."),
45         min: $.validator.format("Ange ett värde som är större eller lika med {0}."),
46         creditcard: "Ange ett korrekt kreditkortsnummer."
47 });
48
49 }));