/* * Copyright 2016 2015-2016 ZTE, Inc. and others. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * * Author: Zhaoxing Meng * email: meng.zhaoxing1@zte.com.cn */ (function( factory ) { if ( typeof define === "function" && define.amd ) { define( ["jquery", "../jquery.validate"], factory ); } else { factory( jQuery ); } }(function( $ ) { /* * Translated default messages for the jQuery validation plugin. * Locale: PT (Portuguese; português) * Region: BR (Brazil) */ $.extend($.validator.messages, { required: "Este campo é requerido.", remote: "Por favor, corrija este campo.", email: "Por favor, forneça um endereço de email válido.", url: "Por favor, forneça uma URL válida.", date: "Por favor, forneça uma data válida.", dateISO: "Por favor, forneça uma data válida (ISO).", number: "Por favor, forneça um número válido.", digits: "Por favor, forneça somente dígitos.", creditcard: "Por favor, forneça um cartão de crédito válido.", equalTo: "Por favor, forneça o mesmo valor novamente.", extension: "Por favor, forneça um valor com uma extensão válida.", maxlength: $.validator.format("Por favor, forneça não mais que {0} caracteres."), minlength: $.validator.format("Por favor, forneça ao menos {0} caracteres."), rangelength: $.validator.format("Por favor, forneça um valor entre {0} e {1} caracteres de comprimento."), range: $.validator.format("Por favor, forneça um valor entre {0} e {1}."), max: $.validator.format("Por favor, forneça um valor menor ou igual a {0}."), min: $.validator.format("Por favor, forneça um valor maior ou igual a {0}."), nifES: "Por favor, forneça um NIF válido.", nieES: "Por favor, forneça um NIE válido.", cifEE: "Por favor, forneça um CIF válido." }); }));