Browse Source

🌐 Add translations

main
Clement 1 year ago
parent
commit
f7bfb6d9e7
  1. 3
      src/pages/readlater.html
  2. 12
      src/pages/resend.html
  3. 5
      src/pages/tokens.html
  4. 12
      src/pages/user_confirmation.html

3
src/pages/readlater.html

@ -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>

12
src/pages/resend.html

@ -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>

5
src/pages/tokens.html

@ -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>

12
src/pages/user_confirmation.html

@ -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>

Loading…
Cancel
Save