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: IT (Italian; Italiano)
31 $.extend($.validator.messages, {
32 required: "Campo obbligatorio.",
33 remote: "Controlla questo campo.",
34 email: "Inserisci un indirizzo email valido.",
35 url: "Inserisci un indirizzo web valido.",
36 date: "Inserisci una data valida.",
37 dateISO: "Inserisci una data valida (ISO).",
38 number: "Inserisci un numero valido.",
39 digits: "Inserisci solo numeri.",
40 creditcard: "Inserisci un numero di carta di credito valido.",
41 equalTo: "Il valore non corrisponde.",
42 extension: "Inserisci un valore con un'estensione valida.",
43 maxlength: $.validator.format("Non inserire più di {0} caratteri."),
44 minlength: $.validator.format("Inserisci almeno {0} caratteri."),
45 rangelength: $.validator.format("Inserisci un valore compreso tra {0} e {1} caratteri."),
46 range: $.validator.format("Inserisci un valore compreso tra {0} e {1}."),
47 max: $.validator.format("Inserisci un valore minore o uguale a {0}."),
48 min: $.validator.format("Inserisci un valore maggiore o uguale a {0}."),
49 nifES: "Inserisci un NIF valido.",
50 nieES: "Inserisci un NIE valido.",
51 cifES: "Inserisci un CIF valido."