diff options
Diffstat (limited to 'discovery-ui/src/main/resources/iui/microservices/js/jquery-validation/localization/messages_pt_BR.js')
-rw-r--r-- | discovery-ui/src/main/resources/iui/microservices/js/jquery-validation/localization/messages_pt_BR.js | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/discovery-ui/src/main/resources/iui/microservices/js/jquery-validation/localization/messages_pt_BR.js b/discovery-ui/src/main/resources/iui/microservices/js/jquery-validation/localization/messages_pt_BR.js new file mode 100644 index 0000000..d5eba78 --- /dev/null +++ b/discovery-ui/src/main/resources/iui/microservices/js/jquery-validation/localization/messages_pt_BR.js @@ -0,0 +1,52 @@ +/* + * Copyright 2016 ZTE, Inc. and others. + * + * 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. + */ +(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." +}); + +}));
\ No newline at end of file |