Skip to content

Commit

Permalink
fix: password reset translations loading (#43)
Browse files Browse the repository at this point in the history
* fix guest layout translations

* add missing translations
  • Loading branch information
andreiio authored Aug 10, 2022
1 parent b0da28a commit 18f9901
Show file tree
Hide file tree
Showing 11 changed files with 192 additions and 168 deletions.
11 changes: 6 additions & 5 deletions lang/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@
"auth.reset": "Reset password",
"auth.change_password": "Change password",
"auth.forgot": "Forgot your password?",
"auth.forgot_text": "Forgot your password? No problem. Just let us know your email address and we will email you a password reset link.",
"auth.welcome.submit": "Set password",
"auth.welcome.invalid_signature": "This link does not have a valid signature.",
"auth.welcome.no_user": "This is not a valid user.",
Expand Down Expand Up @@ -286,11 +287,11 @@
"pagination.next": "Next",
"pagination.goto": "Go to page :page",

"password.reset": "Your password has been reset!",
"password.sent": "We have emailed your password reset link!",
"password.throttled": "Please wait before retrying.",
"password.token": "This password reset token is invalid.",
"password.user": "We can't find a user with that email address.",
"passwords.reset": "Your password has been reset!",
"passwords.sent": "We have emailed your password reset link!",
"passwords.throttled": "Please wait before retrying.",
"passwords.token": "This password reset token is invalid.",
"passwords.user": "We can't find a user with that email address.",

"person.label": "Person|People",
"person.action.create": "Add person",
Expand Down
59 changes: 37 additions & 22 deletions lang/en/validation.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
*/

'accepted' => 'The :attribute must be accepted.',
'accepted_if' => 'The :attribute must be accepted when :other is :value.',
'active_url' => 'The :attribute is not a valid URL.',
'after' => 'The :attribute must be a date after :date.',
'after_or_equal' => 'The :attribute must be a date after or equal to :date.',
Expand All @@ -26,38 +27,43 @@
'before' => 'The :attribute must be a date before :date.',
'before_or_equal' => 'The :attribute must be a date before or equal to :date.',
'between' => [
'numeric' => 'The :attribute must be between :min and :max.',
'array' => 'The :attribute must have between :min and :max items.',
'file' => 'The :attribute must be between :min and :max kilobytes.',
'numeric' => 'The :attribute must be between :min and :max.',
'string' => 'The :attribute must be between :min and :max characters.',
'array' => 'The :attribute must have between :min and :max items.',
],
'boolean' => 'The :attribute field must be true or false.',
'confirmed' => 'The :attribute confirmation does not match.',
'current_password' => 'The password is incorrect.',
'date' => 'The :attribute is not a valid date.',
'date_equals' => 'The :attribute must be a date equal to :date.',
'date_format' => 'The :attribute does not match the format :format.',
'declined' => 'The :attribute must be declined.',
'declined_if' => 'The :attribute must be declined when :other is :value.',
'different' => 'The :attribute and :other must be different.',
'digits' => 'The :attribute must be :digits digits.',
'digits_between' => 'The :attribute must be between :min and :max digits.',
'dimensions' => 'The :attribute has invalid image dimensions.',
'distinct' => 'The :attribute field has a duplicate value.',
'doesnt_end_with' => 'The :attribute may not end with one of the following: :values.',
'doesnt_start_with' => 'The :attribute may not start with one of the following: :values.',
'email' => 'The :attribute must be a valid email address.',
'ends_with' => 'The :attribute must end with one of the following: :values.',
'enum' => 'The selected :attribute is invalid.',
'exists' => 'The selected :attribute is invalid.',
'file' => 'The :attribute must be a file.',
'filled' => 'The :attribute field must have a value.',
'gt' => [
'numeric' => 'The :attribute must be greater than :value.',
'array' => 'The :attribute must have more than :value items.',
'file' => 'The :attribute must be greater than :value kilobytes.',
'numeric' => 'The :attribute must be greater than :value.',
'string' => 'The :attribute must be greater than :value characters.',
'array' => 'The :attribute must have more than :value items.',
],
'gte' => [
'numeric' => 'The :attribute must be greater than or equal :value.',
'file' => 'The :attribute must be greater than or equal :value kilobytes.',
'string' => 'The :attribute must be greater than or equal :value characters.',
'array' => 'The :attribute must have :value items or more.',
'file' => 'The :attribute must be greater than or equal to :value kilobytes.',
'numeric' => 'The :attribute must be greater than or equal to :value.',
'string' => 'The :attribute must be greater than or equal to :value characters.',
],
'image' => 'The :attribute must be an image.',
'in' => 'The selected :attribute is invalid.',
Expand All @@ -68,54 +74,63 @@
'ipv6' => 'The :attribute must be a valid IPv6 address.',
'json' => 'The :attribute must be a valid JSON string.',
'lt' => [
'numeric' => 'The :attribute must be less than :value.',
'array' => 'The :attribute must have less than :value items.',
'file' => 'The :attribute must be less than :value kilobytes.',
'numeric' => 'The :attribute must be less than :value.',
'string' => 'The :attribute must be less than :value characters.',
'array' => 'The :attribute must have less than :value items.',
],
'lte' => [
'numeric' => 'The :attribute must be less than or equal :value.',
'file' => 'The :attribute must be less than or equal :value kilobytes.',
'string' => 'The :attribute must be less than or equal :value characters.',
'array' => 'The :attribute must not have more than :value items.',
'file' => 'The :attribute must be less than or equal to :value kilobytes.',
'numeric' => 'The :attribute must be less than or equal to :value.',
'string' => 'The :attribute must be less than or equal to :value characters.',
],
'mac_address' => 'The :attribute must be a valid MAC address.',
'max' => [
'numeric' => 'The :attribute must not be greater than :max.',
'array' => 'The :attribute must not have more than :max items.',
'file' => 'The :attribute must not be greater than :max kilobytes.',
'numeric' => 'The :attribute must not be greater than :max.',
'string' => 'The :attribute must not be greater than :max characters.',
'array' => 'The :attribute must not have more than :max items.',
],
'mimes' => 'The :attribute must be a file of type: :values.',
'mimetypes' => 'The :attribute must be a file of type: :values.',
'min' => [
'numeric' => 'The :attribute must be at least :min.',
'array' => 'The :attribute must have at least :min items.',
'file' => 'The :attribute must be at least :min kilobytes.',
'numeric' => 'The :attribute must be at least :min.',
'string' => 'The :attribute must be at least :min characters.',
'array' => 'The :attribute must have at least :min items.',
],
'multiple_of' => 'The :attribute must be a multiple of :value.',
'not_in' => 'The selected :attribute is invalid.',
'not_regex' => 'The :attribute format is invalid.',
'numeric' => 'The :attribute must be a number.',
'password' => 'The password is incorrect.',
'password' => [
'letters' => 'The :attribute must contain at least one letter.',
'mixed' => 'The :attribute must contain at least one uppercase and one lowercase letter.',
'numbers' => 'The :attribute must contain at least one number.',
'symbols' => 'The :attribute must contain at least one symbol.',
'uncompromised' => 'The given :attribute has appeared in a data leak. Please choose a different :attribute.',
],
'present' => 'The :attribute field must be present.',
'prohibited' => 'The :attribute field is prohibited.',
'prohibited_if' => 'The :attribute field is prohibited when :other is :value.',
'prohibited_unless' => 'The :attribute field is prohibited unless :other is in :values.',
'prohibits' => 'The :attribute field prohibits :other from being present.',
'regex' => 'The :attribute format is invalid.',
'required' => 'The :attribute field is required.',
'required_array_keys' => 'The :attribute field must contain entries for: :values.',
'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 are present.',
'required_without' => 'The :attribute field is required when :values is not present.',
'required_without_all' => 'The :attribute field is required when none of :values are present.',
'prohibited' => 'The :attribute field is prohibited.',
'prohibited_if' => 'The :attribute field is prohibited when :other is :value.',
'prohibited_unless' => 'The :attribute field is prohibited unless :other is in :values.',
'same' => 'The :attribute and :other must match.',
'size' => [
'numeric' => 'The :attribute must be :size.',
'array' => 'The :attribute must contain :size items.',
'file' => 'The :attribute must be :size kilobytes.',
'numeric' => 'The :attribute must be :size.',
'string' => 'The :attribute must be :size characters.',
'array' => 'The :attribute must contain :size items.',
],
'starts_with' => 'The :attribute must start with one of the following: :values.',
'string' => 'The :attribute must be a string.',
Expand Down
13 changes: 7 additions & 6 deletions lang/ro.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,15 @@
"app.banner.more": "Află mai multe",

"auth.failed": "Datele de identificare nu pot fi confirmate.",
"auth.password": "The provided password is incorrect.",
"auth.password": "Parola introdusă este incorrectă.",
"auth.throttle": "Prea multe încercări de intrare în cont. Poți încerca din nou peste :seconds secunde.",
"auth.login": "Log in",
"auth.logout": "Log out",
"auth.remember": "Ține-mă minte",
"auth.reset": "Resetează parola",
"auth.change_password": "Schimbă parola",
"auth.forgot": "Ți-ai uitat parola?",
"auth.forgot_text": "Ți-ai uitat parola? Nicio problemă. Spune-ne adresa ta de e-mail și îți vom trimite un link de resetare a parolei.",
"auth.welcome.submit": "Setează parola",
"auth.welcome.invalid_signature": "Acest link nu are o semnătură validă.",
"auth.welcome.no_user": "Acest utilizator nu este valid.",
Expand Down Expand Up @@ -286,11 +287,11 @@
"pagination.next": "Înainte",
"pagination.goto": "Mergi la pagina :page",

"password.reset": "Your password has been reset!",
"password.sent": "We have emailed your password reset link!",
"password.throttled": "Please wait before retrying.",
"password.token": "This password reset token is invalid.",
"password.user": "We can't find a user with that email address.",
"passwords.reset": "Parola ta a fost resetată!",
"passwords.sent": "Ți-am trimis un email cu link-ul de resetare a parolei!",
"passwords.throttled": "Te rugăm să așteptați înainte de a încerca din nou.",
"passwords.token": "Acest token de resetare a parolei este invalid.",
"passwords.user": "Nu am găsit un utilizator cu această adresă de e-mail.",

"person.label": "Persoană|Persoane",
"person.action.create": "Adaugă persoană",
Expand Down
Loading

0 comments on commit 18f9901

Please sign in to comment.