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: IS (Icelandic; íslenska)
31 $.extend($.validator.messages, {
32 required: "Þessi reitur er nauðsynlegur.",
33 remote: "Lagaðu þennan reit.",
34 maxlength: $.validator.format("Sláðu inn mest {0} stafi."),
35 minlength: $.validator.format("Sláðu inn minnst {0} stafi."),
36 rangelength: $.validator.format("Sláðu inn minnst {0} og mest {1} stafi."),
37 email: "Sláðu inn gilt netfang.",
38 url: "Sláðu inn gilda vefslóð.",
39 date: "Sláðu inn gilda dagsetningu.",
40 number: "Sláðu inn tölu.",
41 digits: "Sláðu inn tölustafi eingöngu.",
42 equalTo: "Sláðu sama gildi inn aftur.",
43 range: $.validator.format("Sláðu inn gildi milli {0} og {1}."),
44 max: $.validator.format("Sláðu inn gildi sem er minna en eða jafnt og {0}."),
45 min: $.validator.format("Sláðu inn gildi sem er stærra en eða jafnt og {0}."),
46 creditcard: "Sláðu inn gilt greiðslukortanúmer."