Skip to content

Firefly III: a personal finances manager

Add some translations.

James Cole2e35260bbb61
diff --git a/resources/lang/en_US/validation.php b/resources/lang/en_US/validation.php
index 765085a50b..a1195f6ef5 100644
--- a/resources/lang/en_US/validation.php
+++ b/resources/lang/en_US/validation.php
@@ -35,6 +35,7 @@ return [
"in" => "The selected :attribute is invalid.",
"integer" => "The :attribute must be an integer.",
"ip" => "The :attribute must be a valid IP address.",
+ 'json' => 'The :attribute must be a valid JSON string.',
"max.numeric" => "The :attribute may not be greater than :max.",
"max.file" => "The :attribute may not be greater than :max kilobytes.",
"max.string" => "The :attribute may not be greater than :max characters.",
@@ -49,6 +50,7 @@ return [
"regex" => "The :attribute format is invalid.",
"required" => "The :attribute field is required.",
"required_if" => "The :attribute field is required when :other is :value.",
+ 'required_unless' => 'The :attribute field is required unless :other is in :values.',
"required_with" => "The :attribute field is required when :values is present.",
"required_with_all" => "The :attribute field is required when :values is present.",
"required_without" => "The :attribute field is required when :values is not present.",
@@ -59,6 +61,7 @@ return [
"size.string" => "The :attribute must be :size characters.",
"size.array" => "The :attribute must contain :size items.",
"unique" => "The :attribute has already been taken.",
+ 'string' => 'The :attribute must be a string.',
"url" => "The :attribute format is invalid.",
"timezone" => "The :attribute must be a valid zone.",
];
diff --git a/resources/lang/nl_NL/validation.php b/resources/lang/nl_NL/validation.php
index 1539bca460..b30ad61e17 100644
--- a/resources/lang/nl_NL/validation.php
+++ b/resources/lang/nl_NL/validation.php
@@ -47,6 +47,7 @@ return [
"in" => "The selected :attribute is invalid.",
"integer" => "The :attribute must be an integer.",
"ip" => "The :attribute must be a valid IP address.",
+ 'json' => 'The :attribute must be a valid JSON string.',
"max.numeric" => "The :attribute may not be greater than :max.",
"max.file" => "The :attribute may not be greater than :max kilobytes.",
"max.string" => "The :attribute may not be greater than :max characters.",
@@ -61,6 +62,7 @@ return [
"regex" => "The :attribute format is invalid.",
"required" => "The :attribute field is required.",
"required_if" => "The :attribute field is required when :other is :value.",
+ 'required_unless' => 'The :attribute field is required unless :other is in :values.',
"required_with" => "The :attribute field is required when :values is present.",
"required_with_all" => "The :attribute field is required when :values is present.",
"required_without" => "The :attribute field is required when :values is not present.",
@@ -72,7 +74,7 @@ return [
"size.array" => "The :attribute must contain :size items.",
"unique" => "The :attribute has already been taken.",
"url" => "The :attribute format is invalid.",
+ 'string' => 'The :attribute must be a string.',
"timezone" => "The :attribute must be a valid zone.",
- 'attributes' => [],
];
diff --git a/resources/lang/pt_BR/validation.php b/resources/lang/pt_BR/validation.php
new file mode 100755
index 0000000000..fa3ebc59bc
--- /dev/null
+++ b/resources/lang/pt_BR/validation.php
@@ -0,0 +1,68 @@
+<?php
+
+return [
+ 'invalid_domain' => 'Due to security constraints, you cannot register from this domain.',
+ 'file_already_attached' => 'Uploaded file ":name" is already attached to this object.',
+ 'file_attached' => 'Succesfully uploaded file ":name".',
+ 'file_invalid_mime' => 'File ":name" is of type ":mime" which is not accepted as a new upload.',
+ 'file_too_large' => 'File ":name" is too large.',
+ 'accepted' => 'O campo :attribute deve ser aceito.',
+ 'active_url' => 'O campo :attribute não contém um URL válido.',
+ 'after' => 'O campo :attribute deverá conter uma data posterior a :date.',
+ 'alpha' => 'O campo :attribute deverá conter apenas letras.',
+ 'alpha_dash' => 'O campo :attribute deverá conter apenas letras, números e traços.',
+ 'alpha_num' => 'O campo :attribute deverá conter apenas letras e números .',
+ 'array' => 'O campo :attribute precisa ser um conjunto.',
+ "unique_for_user" => "There already is an entry with this :attribute.",
+ 'before' => 'O campo :attribute deverá conter uma data anterior a :date.',
+ 'unique_object_for_user' => 'This name is already in use',
+ 'unique_account_for_user' => 'This account name is already in use',
+ 'between.numeric' => 'O campo :attribute deverá ter um valor entre :min - :max.',
+ 'between.file' => 'O campo :attribute deverá ter um tamanho entre :min - :max kilobytes.',
+ 'between.string' => 'O campo :attribute deverá conter entre :min - :max caracteres.',
+ 'between.array' => 'O campo :attribute precisar ter entre :min - :max itens.',
+ 'boolean' => 'O campo :attribute deverá ter o valor verdadeiro ou falso.',
+ 'confirmed' => 'A confirmação para o campo :attribute não coincide.',
+ 'date' => 'O campo :attribute não contém uma data válida.',
+ 'date_format' => 'A data indicada para o campo :attribute não respeita o formato :format.',
+ 'different' => 'Os campos :attribute e :other deverão conter valores diferentes.',
+ 'digits' => 'O campo :attribute deverá conter :digits dígitos.',
+ 'digits_between' => 'O campo :attribute deverá conter entre :min a :max dígitos.',
+ 'email' => 'O campo :attribute não contém um endereço de email válido.',
+ 'exists' => 'O valor selecionado para o campo :attribute é inválido.',
+ 'filled' => 'O campo :attribute é obrigatório.',
+ 'image' => 'O campo :attribute deverá conter uma imagem.',
+ 'in' => 'O campo :attribute não contém um valor válido.',
+ 'integer' => 'O campo :attribute deverá conter um número inteiro.',
+ 'ip' => 'O campo :attribute deverá conter um IP válido.',
+ 'json' => 'O campo :attribute deverá conter uma string JSON válida.',
+ 'max.numeric' => 'O campo :attribute não deverá conter um valor superior a :max.',
+ 'max.file' => 'O campo :attribute não deverá ter um tamanho superior a :max kilobytes.',
+ 'max.string' => 'O campo :attribute não deverá conter mais de :max caracteres.',
+ 'max.array' => 'O campo :attribute deve ter no máximo :max itens.',
+ 'mimes' => 'O campo :attribute deverá conter um arquivo do tipo: :values.',
+ 'min.numeric' => 'O campo :attribute deverá ter um valor superior ou igual a :min.',
+ 'min.file' => 'O campo :attribute deverá ter no mínimo :min kilobytes.',
+ 'min.string' => 'O campo :attribute deverá conter no mínimo :min caracteres.',
+ 'min.array' => 'O campo :attribute deve ter no mínimo :min itens.',
+ 'not_in' => 'O campo :attribute contém um valor inválido.',
+ 'numeric' => 'O campo :attribute deverá conter um valor numérico.',
+ 'regex' => 'O formato do valor para o campo :attribute é inválido.',
+ 'required' => 'O campo :attribute é obrigatório.',
+ 'required_if' => 'O campo :attribute é obrigatório quando o valor do campo :other é igual a :value.',
+ 'required_unless' => 'O campo :attribute é obrigatório a menos que :other esteja presente em :values.',
+ 'required_with' => 'O campo :attribute é obrigatório quando :values está presente.',
+ 'required_with_all' => 'O campo :attribute é obrigatório quando um dos :values está presente.',
+ 'required_without' => 'O campo :attribute é obrigatório quanto :values não está presente.',
+ 'required_without_all' => 'O campo :attribute é obrigatório quando nenhum dos :values está presente.',
+ 'same' => 'Os campos :attribute e :other deverão conter valores iguais.',
+ 'size.numeric' => 'O campo :attribute deverá conter o valor :size.',
+ 'size.file' => 'O campo :attribute deverá ter o tamanho de :size kilobytes.',
+ 'size.string' => 'O campo :attribute deverá conter :size caracteres.',
+ 'size.array' => 'O campo :attribute deve ter :size itens.',
+ 'string' => 'O campo :attribute deve ser uma string.',
+ 'timezone' => 'O campo :attribute deverá ter um fuso horário válido.',
+ 'unique' => 'O valor indicado para o campo :attribute já se encontra utilizado.',
+ 'url' => 'O formato do URL indicado para o campo :attribute é inválido.',
+
+];