From f6024cc11748d3e4e6600bee3daaefbd94afad7e Mon Sep 17 00:00:00 2001 From: Felipe Mateus Date: Wed, 9 Nov 2022 13:17:42 -0300 Subject: [PATCH] guess translate --- resources/lang/en/auth.php | 27 +++++++++++++++++-- resources/lang/en/privacy.php | 0 resources/lang/en/site.php | 4 ++- resources/lang/pt/auth.php | 26 ++++++++++++++++-- resources/lang/pt/site.php | 4 ++- resources/views/auth/login.blade.php | 12 ++++----- .../views/auth/passwords/email.blade.php | 8 +++--- .../views/auth/passwords/reset.blade.php | 10 +++---- resources/views/auth/register.blade.php | 26 +++++++++--------- resources/views/layouts/app.blade.php | 2 +- resources/views/layouts/partial/nav.blade.php | 4 +-- resources/views/site/index.blade.php | 18 ++++++------- 12 files changed, 95 insertions(+), 46 deletions(-) create mode 100644 resources/lang/en/privacy.php diff --git a/resources/lang/en/auth.php b/resources/lang/en/auth.php index 6ef1a7330..885902c99 100644 --- a/resources/lang/en/auth.php +++ b/resources/lang/en/auth.php @@ -13,7 +13,30 @@ return [ | */ - 'failed' => 'These credentials do not match our records.', - 'throttle' => 'Too many login attempts. Please try again in :seconds seconds.', + 'loginTitle' => 'Account Login', + 'failed' => 'These credentials do not match our records.', + 'throttle' => 'Too many login attempts. Please try again in :seconds seconds.', + 'password' => 'Password' , + 'remember' => 'Remember Me', + 'forgot' => 'Forgot Password', + 'login' => 'Login', + + 'register' => 'Register', + 'reset' => 'Password Reset', + + 'name' => 'Name', + 'username' => 'Username', + 'confirm-password' => 'Confirm Password', + + 'age' => 'I am at least 16 years old', + 'terms' => "By signing up, you agree to our Terms of Use and Privacy Policy.", + + 'emailAddress' => "E-Mail Address", + + 'registerTitle' => 'Register a new account', + + 'sendReset' => 'Send Password Reset Link', + 'backLogin' => 'Back to Login' + ]; diff --git a/resources/lang/en/privacy.php b/resources/lang/en/privacy.php new file mode 100644 index 000000000..e69de29bb diff --git a/resources/lang/en/site.php b/resources/lang/en/site.php index bb8a408ba..44cd6da2a 100644 --- a/resources/lang/en/site.php +++ b/resources/lang/en/site.php @@ -1,7 +1,9 @@ 'Photo Sharing', + 'title2' => 'For Everyone', + 'mainTitle' => 'Photo Sharing. For Everyone', 'about' => 'About', 'help' => 'Help', 'language' => 'Language', diff --git a/resources/lang/pt/auth.php b/resources/lang/pt/auth.php index 222a98439..b161c718b 100644 --- a/resources/lang/pt/auth.php +++ b/resources/lang/pt/auth.php @@ -12,8 +12,30 @@ return [ | these language lines according to your application's requirements. | */ + 'loginTitle' => 'Acessar conta', + 'failed' => 'As credenciais introduzidas não correspondem aos nossos registos.', + 'throttle' => 'Varias tentativas de login. Tente novamente em :seconds segundos.', + 'password' => 'Senha' , + 'remember' => 'Lembrar-Me', + 'forgot' => 'Esqueceu a senha? ', + 'login' => 'Entrar', + 'reset' => 'Recuperar Senha', + 'register' => 'Cadastrar', + + 'name' => 'Nome', + 'username' => 'Usuário', + 'confirm-password' => 'Confrime a senha', + + 'age' => 'Eu tenho pelo menos 16 anos', + + 'terms' => "Ao Cadastrar, você concorda com nossos termos Termos de Uso e Politica de Privacidade.", + + 'emailAddress' => "Endereço de Email", + + 'registerTitle' => 'Cadastrar uma nova conta', + + 'sendReset' => 'Enviar Link de Recuperação de Senha', + 'backLogin' => 'Back to Login' - 'failed' => 'As credenciais introduzidas não correspondem aos nossos registos.', - 'throttle' => 'Demasiadas tentativas de login. Tente novamente em :seconds segundos.', ]; diff --git a/resources/lang/pt/site.php b/resources/lang/pt/site.php index 2418cc337..2f1399671 100644 --- a/resources/lang/pt/site.php +++ b/resources/lang/pt/site.php @@ -1,7 +1,9 @@ 'Partilha de foto', + 'title2' => 'Para todos', + 'mainTitle' => 'Partilha de foto. Para todos', 'about' => 'Sobre', 'help' => 'Ajuda', 'language' => 'Idioma', diff --git a/resources/views/auth/login.blade.php b/resources/views/auth/login.blade.php index 549c55ad6..9fc047a98 100644 --- a/resources/views/auth/login.blade.php +++ b/resources/views/auth/login.blade.php @@ -5,7 +5,7 @@
-
{{ __('Login') }}
+
{{ __('auth.login') }}
@@ -27,7 +27,7 @@
- + @if ($errors->has('password')) @@ -41,9 +41,9 @@
@@ -59,7 +59,7 @@
@@ -70,7 +70,7 @@

- {{ __('Forgot Password') }} + {{ __('auth.forgot') }}

diff --git a/resources/views/auth/passwords/email.blade.php b/resources/views/auth/passwords/email.blade.php index 2b27a5508..9398a5ede 100644 --- a/resources/views/auth/passwords/email.blade.php +++ b/resources/views/auth/passwords/email.blade.php @@ -5,7 +5,7 @@
-
{{ __('Reset Password') }}
+
{{ __('auth.reset') }}
@if (session('status') || $errors->has('email')) @@ -19,14 +19,14 @@
- +
@@ -37,7 +37,7 @@ diff --git a/resources/views/auth/passwords/reset.blade.php b/resources/views/auth/passwords/reset.blade.php index e160f2109..79e3785e2 100644 --- a/resources/views/auth/passwords/reset.blade.php +++ b/resources/views/auth/passwords/reset.blade.php @@ -5,7 +5,7 @@
-
{{ __('Reset Password') }}
+
{{ __('auth.reset') }}
@@ -15,7 +15,7 @@
- + @if ($errors->has('email')) {{ $errors->first('email') }} @@ -26,7 +26,7 @@
- + @if ($errors->has('password')) @@ -38,7 +38,7 @@
- + @if ($errors->has('password_confirmation')) @@ -51,7 +51,7 @@
diff --git a/resources/views/auth/register.blade.php b/resources/views/auth/register.blade.php index 5f3b6e503..497519d69 100644 --- a/resources/views/auth/register.blade.php +++ b/resources/views/auth/register.blade.php @@ -5,7 +5,7 @@
-
{{ __('Register a new account') }}
+
{{ __('auth.registerTitle') }}
@@ -13,7 +13,7 @@
- + @if ($errors->has('name')) @@ -26,8 +26,8 @@
- - + + @if ($errors->has('username')) @@ -40,7 +40,7 @@
- + @if ($errors->has('email')) @@ -52,8 +52,8 @@
- - + + @if ($errors->has('password')) @@ -65,8 +65,8 @@
- - + +
@@ -75,7 +75,7 @@
@@ -87,12 +87,12 @@
@endif -

By signing up, you agree to our Terms of Use and Privacy Policy.

- +

{!! __('auth.terms') !!}

+
diff --git a/resources/views/layouts/app.blade.php b/resources/views/layouts/app.blade.php index 4cd507820..389c7a78e 100644 --- a/resources/views/layouts/app.blade.php +++ b/resources/views/layouts/app.blade.php @@ -87,7 +87,7 @@ @endauth @guest - + diff --git a/resources/views/layouts/partial/nav.blade.php b/resources/views/layouts/partial/nav.blade.php index 1d89902bf..db1ab5784 100644 --- a/resources/views/layouts/partial/nav.blade.php +++ b/resources/views/layouts/partial/nav.blade.php @@ -19,13 +19,13 @@