Skip to content

Commit cf109fe

Browse files
askdkcJubeki
andauthored
Add missing translations (#39)
* Add missing translations * Update resources/views/livewire/auth/forgot-password.blade.php Co-authored-by: Julius Kiekbusch <[email protected]> * Update resources/views/livewire/auth/login.blade.php Co-authored-by: Julius Kiekbusch <[email protected]> * Update resources/views/livewire/auth/register.blade.php Co-authored-by: Julius Kiekbusch <[email protected]> * fix indent style * Fix indentation * add indent --------- Co-authored-by: Julius Kiekbusch <[email protected]>
1 parent 7fd0723 commit cf109fe

File tree

5 files changed

+14
-14
lines changed

5 files changed

+14
-14
lines changed

resources/views/livewire/auth/confirm-password.blade.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ public function confirmPassword(): void
3434

3535
<div class="flex flex-col gap-6">
3636
<x-auth-header
37-
title="Confirm password"
38-
description="This is a secure area of the application. Please confirm your password before continuing."
37+
:title="__('Confirm password')"
38+
:description="__('This is a secure area of the application. Please confirm your password before continuing.')"
3939
/>
4040

4141
<!-- Session Status -->

resources/views/livewire/auth/forgot-password.blade.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public function sendPasswordResetLink(): void
2323
}; ?>
2424

2525
<div class="flex flex-col gap-6">
26-
<x-auth-header title="Forgot password" description="Enter your email to receive a password reset link" />
26+
<x-auth-header :title="__('Forgot password')" :description="__('Enter your email to receive a password reset link')" />
2727

2828
<!-- Session Status -->
2929
<x-auth-session-status class="text-center" :status="session('status')" />
@@ -43,7 +43,7 @@ public function sendPasswordResetLink(): void
4343
</form>
4444

4545
<div class="space-x-1 text-center text-sm text-zinc-400">
46-
Or, return to
47-
<flux:link :href="route('login')" wire:navigate>log in</flux:link>
46+
{{ __('Or, return to') }}
47+
<flux:link :href="route('login')" wire:navigate>{{ __('log in') }}</flux:link>
4848
</div>
4949
</div>

resources/views/livewire/auth/login.blade.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ protected function throttleKey(): string
7474
}; ?>
7575

7676
<div class="flex flex-col gap-6">
77-
<x-auth-header title="Log in to your account" description="Enter your email and password below to log in" />
77+
<x-auth-header :title="__('Log in to your account')" :description="__('Enter your email and password below to log in')" />
7878

7979
<!-- Session Status -->
8080
<x-auth-session-status class="text-center" :status="session('status')" />
@@ -118,9 +118,9 @@ protected function throttleKey(): string
118118
</form>
119119

120120
@if (Route::has('register'))
121-
<div class="space-x-1 text-center text-sm text-zinc-600 dark:text-zinc-400">
122-
Don't have an account?
123-
<flux:link :href="route('register')" wire:navigate>Sign up</flux:link>
124-
</div>
121+
<div class="space-x-1 text-center text-sm text-zinc-600 dark:text-zinc-400">
122+
{{ __('Don\'t have an account?') }}
123+
<flux:link :href="route('register')" wire:navigate>{{ __('Sign up') }}</flux:link>
124+
</div>
125125
@endif
126126
</div>

resources/views/livewire/auth/register.blade.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public function register(): void
3636
}; ?>
3737

3838
<div class="flex flex-col gap-6">
39-
<x-auth-header title="Create an account" description="Enter your details below to create your account" />
39+
<x-auth-header :title="__('Create an account')" :description="__('Enter your details below to create your account')" />
4040

4141
<!-- Session Status -->
4242
<x-auth-session-status class="text-center" :status="session('status')" />
@@ -91,7 +91,7 @@ public function register(): void
9191
</form>
9292

9393
<div class="space-x-1 text-center text-sm text-zinc-600 dark:text-zinc-400">
94-
Already have an account?
95-
<flux:link :href="route('login')" wire:navigate>Log in</flux:link>
94+
{{ __('Already have an account?') }}
95+
<flux:link :href="route('login')" wire:navigate>{{ __('Log in') }}</flux:link>
9696
</div>
9797
</div>

resources/views/livewire/auth/reset-password.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ function ($user) {
6969
}; ?>
7070

7171
<div class="flex flex-col gap-6">
72-
<x-auth-header title="Reset password" description="Please enter your new password below" />
72+
<x-auth-header :title="__('Reset password')" :description="__('Please enter your new password below')" />
7373

7474
<!-- Session Status -->
7575
<x-auth-session-status class="text-center" :status="session('status')" />

0 commit comments

Comments
 (0)