most email notifications translatable

This commit is contained in:
Florian Dupret
2020-05-25 19:24:21 +02:00
parent b54bb20617
commit 37b35661be
29 changed files with 179 additions and 92 deletions

View File

@@ -1,14 +1,13 @@
{% include 'emails.header-html' %}
<p style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;">
Somebody (hopefully you) just created a new Firefly III API OAuth Client for your user account. It's labeled "{{ client.name }}"
and has callback URL <span style="font-family: monospace;">{{ client.redirect }}</span>.
{{ trans('email.oauth_created_body_html', { name:client.name, url:client.redirect})|raw }}
</p>
<p style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;">
With this client, they can access <strong>all</strong> of your financial records through the Firefly III API.
{{ trans('email.oauth_created_explanation_html')|raw }}
</p>
<p style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;">
If this wasn't you, please revoke this client as soon as possible at {{ route('profile.index') }}.
{{ trans('email.oauth_created_undo', { url:route('profile.index')}) }}
</p>
{% include 'emails.footer-html' %}