Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[1.x] A few more strings that should be translatable #192

Merged
merged 3 commits into from
Sep 14, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
<div class="flex items-center">
@if ($token->last_used_at)
<div class="text-sm text-gray-400">
Last used {{ $token->last_used_at->diffForHumans() }}
{{ __('Last used') }} {{ $token->last_used_at->diffForHumans() }}
</div>
@endif

Expand Down
2 changes: 1 addition & 1 deletion stubs/resources/views/auth/forgot-password.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
@csrf

<div class="block">
<x-jet-label value="Email" />
<x-jet-label value="{{ __('Email') }}" />
<x-jet-input class="block mt-1 w-full" type="email" name="email" :value="old('email')" required autofocus />
</div>

Expand Down
4 changes: 2 additions & 2 deletions stubs/resources/views/auth/login.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@
@csrf

<div>
<x-jet-label value="Email" />
<x-jet-label value="{{ __('Email') }}" />
<x-jet-input class="block mt-1 w-full" type="email" name="email" :value="old('email')" required autofocus />
</div>

<div class="mt-4">
<x-jet-label value="Password" />
<x-jet-label value="{{ __('Password') }}" />
<x-jet-input class="block mt-1 w-full" type="password" name="password" required autocomplete="current-password" />
</div>

Expand Down
8 changes: 4 additions & 4 deletions stubs/resources/views/auth/register.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,22 +10,22 @@
@csrf

<div>
<x-jet-label value="Name" />
<x-jet-label value="{{ __('Name') }}" />
<x-jet-input class="block mt-1 w-full" type="text" name="name" :value="old('name')" required autofocus autocomplete="name" />
</div>

<div class="mt-4">
<x-jet-label value="Email" />
<x-jet-label value="{{ __('Email') }}" />
<x-jet-input class="block mt-1 w-full" type="email" name="email" :value="old('email')" required />
</div>

<div class="mt-4">
<x-jet-label value="Password" />
<x-jet-label value="{{ __('Password') }}" />
<x-jet-input class="block mt-1 w-full" type="password" name="password" required autocomplete="new-password" />
</div>

<div class="mt-4">
<x-jet-label value="Confirm Password" />
<x-jet-label value="{{ __('Confirm Password') }}" />
<x-jet-input class="block mt-1 w-full" type="password" name="password_confirmation" required autocomplete="new-password" />
</div>

Expand Down
6 changes: 3 additions & 3 deletions stubs/resources/views/auth/reset-password.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,17 @@
<input type="hidden" name="token" value="{{ $request->route('token') }}">

<div class="block">
<x-jet-label value="Email" />
<x-jet-label value="{{ __('Email') }}" />
<x-jet-input class="block mt-1 w-full" type="email" name="email" :value="old('email', $request->email)" required autofocus />
</div>

<div class="mt-4">
<x-jet-label value="Password" />
<x-jet-label value="{{ __('Password') }}" />
<x-jet-input class="block mt-1 w-full" type="password" name="password" required autocomplete="new-password" />
</div>

<div class="mt-4">
<x-jet-label value="Confirm Password" />
<x-jet-label value="{{ __('Confirm Password') }}" />
<x-jet-input class="block mt-1 w-full" type="password" name="password_confirmation" required autocomplete="new-password" />
</div>

Expand Down
4 changes: 2 additions & 2 deletions stubs/resources/views/auth/two-factor-challenge.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@
@csrf

<div class="mt-4" x-show="! recovery">
<x-jet-label value="Code" />
<x-jet-label value="{{ __('Code') }}" />
<x-jet-input class="block mt-1 w-full" type="text" name="code" autofocus x-ref="code" autocomplete="one-time-code" />
</div>

<div class="mt-4" x-show="recovery">
<x-jet-label value="Recovery Code" />
<x-jet-label value="{{ __('Recovery Code') }}" />
<x-jet-input class="block mt-1 w-full" type="text" name="recovery_code" x-ref="recovery_code" autocomplete="one-time-code" />
</div>

Expand Down