From 1f00b20b98cf68c4ccdb3a620c441fd5b5eee392 Mon Sep 17 00:00:00 2001 From: Thiago Coutinho Date: Thu, 20 Mar 2014 10:43:22 -0300 Subject: [PATCH 1/6] Create texts.php --- app/lang/pt_BR/texts.php | 1 + 1 file changed, 1 insertion(+) create mode 100644 app/lang/pt_BR/texts.php diff --git a/app/lang/pt_BR/texts.php b/app/lang/pt_BR/texts.php new file mode 100644 index 000000000000..345e6aef7132 --- /dev/null +++ b/app/lang/pt_BR/texts.php @@ -0,0 +1 @@ +Test From 03a0a07347952131078998748cf6d44ea198e7fd Mon Sep 17 00:00:00 2001 From: Thiago Coutinho Date: Thu, 20 Mar 2014 10:45:59 -0300 Subject: [PATCH 2/6] Update texts.php --- app/lang/pt_BR/texts.php | 29 ++++++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/app/lang/pt_BR/texts.php b/app/lang/pt_BR/texts.php index 345e6aef7132..523f0a85b598 100644 --- a/app/lang/pt_BR/texts.php +++ b/app/lang/pt_BR/texts.php @@ -1 +1,28 @@ -Test + 'Organização', + 'name' => 'Nome', + 'website' => 'Website', + 'work_phone' => 'Telefone', + 'address' => 'Endereço', + 'address1' => 'Rua', + 'address2' => 'Bloco/apto', + 'city' => 'Cidade', + 'state' => 'Estado', + 'postal_code' => 'CEP', + 'country_id' => 'País', + 'contacts' => 'Contatos', + 'first_name' => 'Primeiro Nome', + 'last_name' => 'Último Nome', + 'phone' => 'Telefone', + 'email' => 'Email', + 'additional_info' => 'Informações Adicionais', + 'payment_terms' => 'Termos de Pagamento', + 'currency_id' => 'Moeda', + 'size_id' => 'Tamanho', + 'industry_id' => 'Empresa', + 'private_notes' => 'Notas Privadas', + +); From 3e645b476699ea512bbb15f0b0b47e0f7cb49184 Mon Sep 17 00:00:00 2001 From: Thiago Coutinho Date: Thu, 20 Mar 2014 10:46:58 -0300 Subject: [PATCH 3/6] Create pagination.php --- app/lang/pt_BR/pagination.php | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 app/lang/pt_BR/pagination.php diff --git a/app/lang/pt_BR/pagination.php b/app/lang/pt_BR/pagination.php new file mode 100644 index 000000000000..39b1c02096a4 --- /dev/null +++ b/app/lang/pt_BR/pagination.php @@ -0,0 +1,20 @@ + '« Anterior', + +'next' => 'Próximo »', + +); From 8bd629e93928f333b21f08829a5a4c8501d78bdb Mon Sep 17 00:00:00 2001 From: Thiago Coutinho Date: Thu, 20 Mar 2014 10:51:12 -0300 Subject: [PATCH 4/6] Create reminders.php --- app/lang/pt_BR/reminders.php | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 app/lang/pt_BR/reminders.php diff --git a/app/lang/pt_BR/reminders.php b/app/lang/pt_BR/reminders.php new file mode 100644 index 000000000000..b1af622faf82 --- /dev/null +++ b/app/lang/pt_BR/reminders.php @@ -0,0 +1,24 @@ + "Senhas devem possuir no mínimo seis caracteres e devem ser iguais.", + +"user" => "Não achamos um usuário com o endereço de e-mail informado.", + +"token" => "Este token de redefinição de senha é inválido.", + +"sent" => "Lmebrete de senha enviado!", + +); From 2ca7259840ab082210ba8a10728c6728325ef32c Mon Sep 17 00:00:00 2001 From: Thiago Coutinho Date: Thu, 20 Mar 2014 11:03:06 -0300 Subject: [PATCH 5/6] Create validation.php --- app/lang/pt_BR/validation.php | 102 ++++++++++++++++++++++++++++++++++ 1 file changed, 102 insertions(+) create mode 100644 app/lang/pt_BR/validation.php diff --git a/app/lang/pt_BR/validation.php b/app/lang/pt_BR/validation.php new file mode 100644 index 000000000000..1fd0e64f6344 --- /dev/null +++ b/app/lang/pt_BR/validation.php @@ -0,0 +1,102 @@ + ":attribute deve ser aceito.", +"active_url" => ":attribute não é uma URL válida.", +"after" => ":attribute deve ser uma data maior que :date.", +"alpha" => ":attribute deve conter apenas letras.", +"alpha_dash" => ":attribute pode conter apenas letras, número e traços", +"alpha_num" => ":attribute pode conter apenas letras e números.", +"array" => ":attribute deve ser um array.", +"before" => ":attribute deve ser uma data anterior a :date.", +"between" => array( +"numeric" => ":attribute deve ser entre :min - :max.", +"file" => ":attribute deve ser entre :min - :max kilobytes.", +"string" => ":attribute deve ser entre :min - :max caracteres.", +"array" => ":attribute deve ser entre :min - :max itens.", +), +"confirmed" => ":attribute confirmação não correponde.", +"date" => ":attribute não é uma data válida.", +"date_format" => ":attribute não satisfaz o formato :format.", +"different" => ":attribute e :other devem ser diferentes.", +"digits" => ":attribute deve conter :digits dígitos.", +"digits_between" => "The :attribute must be between :min and :max digits.", +"email" => "The :attribute format is invalid.", +"exists" => "The selected :attribute is invalid.", +"image" => "The :attribute must be an image.", +"in" => "The selected :attribute is invalid.", +"integer" => "The :attribute must be an integer.", +"ip" => "The :attribute must be a valid IP address.", +"max" => array( +"numeric" => "The :attribute may not be greater than :max.", +"file" => "The :attribute may not be greater than :max kilobytes.", +"string" => "The :attribute may not be greater than :max characters.", +"array" => "The :attribute may not have more than :max items.", +), +"mimes" => "The :attribute must be a file of type: :values.", +"min" => array( +"numeric" => "The :attribute must be at least :min.", +"file" => "The :attribute must be at least :min kilobytes.", +"string" => "The :attribute must be at least :min characters.", +"array" => "The :attribute must have at least :min items.", +), +"not_in" => "The selected :attribute is invalid.", +"numeric" => "The :attribute must be a number.", +"regex" => "The :attribute format is invalid.", +"required" => "The :attribute field is required.", +"required_if" => "The :attribute field is required when :other is :value.", +"required_with" => "The :attribute field is required when :values is present.", +"required_without" => "The :attribute field is required when :values is not present.", +"same" => "The :attribute and :other must match.", +"size" => array( +"numeric" => "The :attribute must be :size.", +"file" => "The :attribute must be :size kilobytes.", +"string" => "The :attribute must be :size characters.", +"array" => "The :attribute must contain :size items.", +), +"unique" => "The :attribute has already been taken.", +"url" => "The :attribute format is invalid.", + +"positive" => "The :attribute must be greater than zero.", +"has_credit" => "The client does not have enough credit.", + + +/* +|-------------------------------------------------------------------------- +| Custom Validation Language Lines +|-------------------------------------------------------------------------- +| +| Here you may specify custom validation messages for attributes using the +| convention "attribute.rule" to name the lines. This makes it quick to +| specify a specific custom language line for a given attribute rule. +| +*/ + +'custom' => array(), + +/* +|-------------------------------------------------------------------------- +| Custom Validation Attributes +|-------------------------------------------------------------------------- +| +| The following language lines are used to swap attribute place-holders +| with something more reader friendly such as E-Mail Address instead +| of "email". This simply helps us make messages a little cleaner. +| +*/ + +'attributes' => array(), + +); From 33e69f132a6ab2c5d7629506fbcbec2126218995 Mon Sep 17 00:00:00 2001 From: Thiago Coutinho Date: Thu, 20 Mar 2014 13:12:53 -0300 Subject: [PATCH 6/6] Update validation.php --- app/lang/pt_BR/validation.php | 66 +++++++++++++++++------------------ 1 file changed, 33 insertions(+), 33 deletions(-) diff --git a/app/lang/pt_BR/validation.php b/app/lang/pt_BR/validation.php index 1fd0e64f6344..8123efa69524 100644 --- a/app/lang/pt_BR/validation.php +++ b/app/lang/pt_BR/validation.php @@ -25,52 +25,52 @@ return array( "numeric" => ":attribute deve ser entre :min - :max.", "file" => ":attribute deve ser entre :min - :max kilobytes.", "string" => ":attribute deve ser entre :min - :max caracteres.", -"array" => ":attribute deve ser entre :min - :max itens.", +"array" => ":attribute deve conter entre :min - :max itens.", ), "confirmed" => ":attribute confirmação não correponde.", "date" => ":attribute não é uma data válida.", "date_format" => ":attribute não satisfaz o formato :format.", "different" => ":attribute e :other devem ser diferentes.", "digits" => ":attribute deve conter :digits dígitos.", -"digits_between" => "The :attribute must be between :min and :max digits.", -"email" => "The :attribute format is invalid.", -"exists" => "The selected :attribute is invalid.", -"image" => "The :attribute must be an image.", -"in" => "The selected :attribute is invalid.", -"integer" => "The :attribute must be an integer.", -"ip" => "The :attribute must be a valid IP address.", +"digits_between" => ":attribute deve conter entre :min e :max dígitos.", +"email" => ":attribute está em um formato inválido.", +"exists" => "A opção selecionada :attribute é inválida.", +"image" => ":attribute deve ser uma imagem.", +"in" => "A opção selecionada :attribute é inválida.", +"integer" => ":attribute deve ser um número inteiro.", +"ip" => ":attribute deve ser um endereço IP válido.", "max" => array( -"numeric" => "The :attribute may not be greater than :max.", -"file" => "The :attribute may not be greater than :max kilobytes.", -"string" => "The :attribute may not be greater than :max characters.", -"array" => "The :attribute may not have more than :max items.", +"numeric" => ":attribute não pode ser maior que :max.", +"file" => ":attribute não pode ser maior que :max kilobytes.", +"string" => ":attribute não pode ser maior que :max caracteres.", +"array" => ":attribute não pode conter mais que :max itens.", ), -"mimes" => "The :attribute must be a file of type: :values.", +"mimes" => ":attribute deve ser um arquivo do tipo: :values.", "min" => array( -"numeric" => "The :attribute must be at least :min.", -"file" => "The :attribute must be at least :min kilobytes.", -"string" => "The :attribute must be at least :min characters.", -"array" => "The :attribute must have at least :min items.", +"numeric" => ":attribute não deve ser menor que :min.", +"file" => ":attribute deve ter no mínimo :min kilobytes.", +"string" => ":attribute deve conter no mínimo :min caracteres.", +"array" => ":attribute deve conter ao menos :min itens.", ), -"not_in" => "The selected :attribute is invalid.", -"numeric" => "The :attribute must be a number.", -"regex" => "The :attribute format is invalid.", -"required" => "The :attribute field is required.", -"required_if" => "The :attribute field is required when :other is :value.", -"required_with" => "The :attribute field is required when :values is present.", -"required_without" => "The :attribute field is required when :values is not present.", -"same" => "The :attribute and :other must match.", +"not_in" => "A opção selecionada :attribute é inválida.", +"numeric" => ":attribute deve ser um número.", +"regex" => ":attribute está em um formato inválido.", +"required" => ":attribute é um campo obrigatório.", +"required_if" => ":attribute é necessário quando :other é :value.", +"required_with" => ":attribute é obrigatório quando :values está presente.", +"required_without" => ":attribute é obrigatório quando :values não está presente.", +"same" => ":attribute e :other devem corresponder.", "size" => array( -"numeric" => "The :attribute must be :size.", -"file" => "The :attribute must be :size kilobytes.", -"string" => "The :attribute must be :size characters.", -"array" => "The :attribute must contain :size items.", +"numeric" => ":attribute deve ter :size.", +"file" => ":attribute deve ter :size kilobytes.", +"string" => ":attribute deve conter :size caracteres.", +"array" => ":attribute deve conter :size itens.", ), -"unique" => "The :attribute has already been taken.", -"url" => "The :attribute format is invalid.", +"unique" => ":attribute já está sendo utilizado.", +"url" => ":attribute está num formato inválido.", -"positive" => "The :attribute must be greater than zero.", -"has_credit" => "The client does not have enough credit.", +"positive" => ":attribute deve ser maior que zero.", +"has_credit" => "O cliente não possui crédito suficiente.", /*