🌐 Add translations

This commit is contained in:
Clement 2020-07-29 14:49:01 +02:00
parent db0b5f0953
commit f7bfb6d9e7
4 changed files with 21 additions and 11 deletions

View File

@ -1,6 +1,7 @@
---
subject: "ReadLaterByEmail link"
LOGO: "{{ asset('images/logo.png') }}"
LINK: "{{ __('emails.link') }}"
IMAGE: "{{ $link->image }}"
IMAGE_VAR: "$link->image"
COMMENT: "{{ $link->comment }}"
@ -45,7 +46,7 @@ URL: "{{ $link->url }}"
</p>
<spacer size="16"></spacer>
<center>
<button href="{{{ URL }}}" class="success">Link</button>
<button href="{{{ URL }}}" class="success">{{{ LINK }}}</button>
</center>
</columns>
</row>

View File

@ -1,28 +1,32 @@
---
subject: "ReadLaterByEmail tokens"
TOKEN: "{{ __('emails.token') }}"
TOKENS_QUESTION: "{{ __('emails.tokens_question') }}"
YES: "{{ __('emails.tokens_yes') }}"
NO: "{{ __('emails.tokens_no') }}"
LOGO: "{{ asset('images/logo.png') }}"
LINK: "{{ $resend_link }}"
---
<row>
<columns>
<h5 class="text-center">Token</h5>
<h5 class="text-center">{{{ TOKEN }}}</h5>
</columns>
</row>
<spacer size="16"></spacer>
<row>
<columns small="12">Nous avons reçu une demande de visualisation de Token pour Read Later. Était-ce voulu ?</columns>
<columns small="12">{{{ TOKENS_QUESTION }}}</columns>
</row>
<row>
<columns small="8">
<center>
<button href="{{{ LINK }}}" class="success">Oui (lien valable 1 heure)</button>
<button href="{{{ LINK }}}" class="success">{{{ TOKENS_YES }}}</button>
</center>
</columns>
<columns small="8">
<center>
Non (vous pouvez ignorer et supprimer ce mail)
{{{ TOKENS_NO }}}
</center>
</columns>
</row>

View File

@ -1,15 +1,16 @@
---
subject: "ReadLaterByEmail tokens"
LOGO: "{{ asset('images/logo.png') }}"
YOUR_TOKENS: "{{ __('emails.your_tokens') }}"
TOKEN_NAME: "{{ $token->token_name }}"
API_TOKEN: "{{ $token->api_token }}"
DELETE_URL: "{{ URL::temporarySignedRoute('delete', now()->addHour(), ['token' => $token->api_token, 'email' => $user->email]) }}"
DELETE: "{{ __('delete') }}"
DELETE: "{{ __('emails.delete') }}"
---
<row>
<columns>
<h5 class="text-center">Vos tokens</h5>
<h5 class="text-center">{{{ YOUR_TOKENS }}}</h5>
</columns>
</row>

View File

@ -1,28 +1,32 @@
---
subject: "ReadLaterByEmail tokens"
LOGO: "{{ asset('images/logo.png') }}"
CONFIRMATION: "{{ __('emails.confirmation') }}"
ACCOUNT_QUESTION: "{{ __('emails.account_question') }}"
ACCOUNT_YES: "{{ __('emails.account_yes') }}"
ACCOUNT_NO: "{{ __('emails.account_no') }}"
LINK: "{{ $confirmation_link }}"
---
<row>
<columns>
<h5 class="text-center">Confirmation</h5>
<h5 class="text-center">{{{ CONFIRMATION }}}</h5>
</columns>
</row>
<spacer size="16"></spacer>
<row>
<columns small="12">Nous avons reçu une demande de création de compte pour Read Later. Était-ce voulu ?</columns>
<columns small="12">{{{ ACCOUNT_QUESTION }}}</columns>
</row>
<row>
<columns small="8">
<center>
<button href="{{{ LINK }}}" class="success">Oui (lien valable 1 heure)</button>
<button href="{{{ LINK }}}" class="success">{{{ ACCOUNT_YES }}}</button>
</center>
</columns>
<columns small="8">
<center>
Non (vous pouvez ignorer et supprimer ce mail)
{{{ ACCOUNT_NO }}}
</center>
</columns>
</row>