add languages

This commit is contained in:
Benjamin Takats
2022-12-18 21:15:23 +01:00
parent 31c9a66244
commit cf6afdcb43
489 changed files with 589 additions and 36883 deletions

View File

@@ -12,9 +12,9 @@
<div wire:ignore>
<textarea placeholder="{{ $placeholder ?? '' }}"></textarea>
</div>
<div class="comments-form-editor-tip">
You can use <a href="https://spatie.be/markdown" target="_blank" rel="nofollow noopener noreferrer">Markdown</a>
{!! __('You can use <a href="https://spatie.be/markdown" target="_blank" rel="nofollow noopener noreferrer">Markdown</a>') !!}
</div>
</div>

View File

@@ -18,7 +18,7 @@
@endcomponent
@if($unsubscribeUrl = $commentator->unsubscribeFromCommentNotificationsUrl($comment))
<a href="{{ $unsubscribeUrl }}">Unsubscribe from receive notification about {{ $topLevelComment->commentable->commentableName() }}</a>
<a href="{{ $unsubscribeUrl }}">{{ __('Unsubscribe from receive notification about :commentableName', ['commentableName' => $topLevelComment->commentable->commentableName()]) }}</a>
@endif
@endcomponent

View File

@@ -1,5 +1,5 @@
<x-comments::signed-layout>
The comment has been approved.
{{ __('The comment has been approved.') }}
</x-comments::signed-layout>

View File

@@ -1,10 +1,10 @@
<x-comments::signed-layout>
Do you want to approve the comment?
{{ __('Do you want to approve the comment?') }}
<form class="form" method="POST">
@csrf
<button id="confirmationButton" class="button" type="submit">Approve</button>
<button id="confirmationButton" class="button" type="submit">{{ __('Approve') }}</button>
</form>
</x-comments::signed-layout>

View File

@@ -1,5 +1,5 @@
<x-comments::signed-layout>
The comment has been rejected.
{{ __('The comment has been rejected.') }}
</x-comments::signed-layout>

View File

@@ -1,6 +1,6 @@
<x-comments::signed-layout>
Do you want to reject the comment?
{{ __('Do you want to reject the comment?') }}
<form class="form" method="POST">
@csrf

View File

@@ -1,5 +1,5 @@
<x-comments::signed-layout>
You have been unsubscribed.
{{ __('You have been unsubscribed.') }}
</x-comments::signed-layout>

View File

@@ -1,5 +1,5 @@
<x-comments::signed-layout>
You have been unsubscribed from every comment notification.
{{ __('You have been unsubscribed from every comment notification.') }}
</x-comments::signed-layout>

View File

@@ -1,10 +1,10 @@
<x-comments::signed-layout>
Do you want to unsubscribe from every comment notification?
{{ __('Do you want to unsubscribe from every comment notification?') }}
<form class="form" method="POST">
@csrf
<button id="confirmationButton" class="button" type="submit">Approve</button>
<button id="confirmationButton" class="button" type="submit">{{ __('Approve') }}</button>
</form>
</x-comments::signed-layout>

View File

@@ -1,10 +1,10 @@
<x-comments::signed-layout>
Do you want to unsubscribe?
{{ __('Do you want to unsubscribe?') }}
<form class="form" method="POST">
@csrf
<button id="confirmationButton" class="button" type="submit">Approve</button>
<button id="confirmationButton" class="button" type="submit">{{ __('Approve') }}</button>
</form>
</x-comments::signed-layout>

View File

@@ -34,7 +34,7 @@
type="button"
class="-mr-1 flex p-2 rounded-md focus:outline-none sm:-mr-2 transition"
:class="{ 'hover:bg-indigo-600 focus:bg-indigo-600': style == 'success', 'hover:bg-red-600 focus:bg-red-600': style == 'danger' }"
aria-label="Dismiss"
aria-label="{{ __('Dismiss') }}"
x-on:click="show = false">
<svg class="h-5 w-5 text-white" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12" />

View File

@@ -43,7 +43,7 @@
<button class="{{ $dialog }}-button-close focus:outline-none p-1 focus:ring-2 focus:ring-secondary-200 rounded-full text-secondary-300"
x-on:click="close"
type="button">
<span class="sr-only">close</span>
<span class="sr-only">{{ __('close') }}</span>
<x-dynamic-component
:component="WireUi::component('icon')"
class="w-5 h-5"

View File

@@ -102,7 +102,7 @@
<button class="rounded-md inline-flex text-secondary-400 hover:text-secondary-500 focus:outline-none"
x-show="notification.closeButton"
x-on:click="closeNotification(notification)">
<span class="sr-only">Close</span>
<span class="sr-only">{{ __('Close') }}</span>
<x-dynamic-component
:component="WireUi::component('icon')"
class="h-5 w-5"