Create new translations and update existing views.

This commit is contained in:
2024-11-27 12:22:06 +01:00
parent 31454b2980
commit 9d2eddbcf1
17 changed files with 159 additions and 52 deletions

View File

@@ -4,21 +4,21 @@
<!-- Name -->
<div>
<x-input-label for="name" :value="__('Name')" />
<x-input-label for="name" :value="__('common.Name')" />
<x-text-input id="name" class="block mt-1 w-full" type="text" name="name" :value="old('name')" required autofocus autocomplete="name" />
<x-input-error :messages="$errors->get('name')" class="mt-2" />
</div>
<!-- Email Address -->
<div class="mt-4">
<x-input-label for="email" :value="__('Email')" />
<x-input-label for="email" :value="__('common.Email')" />
<x-text-input id="email" class="block mt-1 w-full" type="email" name="email" :value="old('email')" required autocomplete="username" />
<x-input-error :messages="$errors->get('email')" class="mt-2" />
</div>
<!-- Password -->
<div class="mt-4">
<x-input-label for="password" :value="__('Password')" />
<x-input-label for="password" :value="__('common.Password')" />
<x-text-input id="password" class="block mt-1 w-full"
type="password"
@@ -30,7 +30,7 @@
<!-- Confirm Password -->
<div class="mt-4">
<x-input-label for="password_confirmation" :value="__('Confirm Password')" />
<x-input-label for="password_confirmation" :value="__('password.Confirm Password')" />
<x-text-input id="password_confirmation" class="block mt-1 w-full"
type="password"
@@ -41,11 +41,11 @@
<div class="flex items-center justify-end mt-4">
<a class="underline text-sm text-gray-600 dark:text-gray-400 hover:text-gray-900 dark:hover:text-gray-100 rounded-md focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 dark:focus:ring-offset-gray-800" href="{{ route('login') }}">
{{ __('Already registered?') }}
{{ __('user.Already registered?') }}
</a>
<x-primary-button class="ms-4">
{{ __('Register') }}
{{ __('user.Register') }}
</x-primary-button>
</div>
</form>