mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-13 03:44:36 +02:00
Added german translations for password reset dialogs and email
This commit is contained in:
parent
12b3107188
commit
9cdf31492a
8 changed files with 259 additions and 24 deletions
|
@ -21,7 +21,7 @@
|
|||
|
||||
<row>
|
||||
<columns>
|
||||
<p><small>This email was send automatically by <a href="{{ url('homepage') }}">Part-DB</a>. Dont answer to this email.</small></p>
|
||||
<p><small>{% trans %}mail.footer.email_sent_by{% endtrans %} <a href="{{ url('homepage') }}">Part-DB</a>. {% trans %}mail.footer.dont_reply{% endtrans %}</small></p>
|
||||
</columns>
|
||||
</row>
|
||||
|
||||
|
|
|
@ -3,27 +3,25 @@
|
|||
{% block content %}
|
||||
<row>
|
||||
<columns>
|
||||
<h4>Hi {{ user.fullName }},</h4>
|
||||
somebody (hopefully you) requested an reset of your password.
|
||||
If this request was not made by you, ignore this email.
|
||||
<h4>{% trans with {'%name%': user.fullName} %}email.hi %name%{% endtrans %},</h4>
|
||||
{% trans %}email.pw_reset.message{% endtrans %}
|
||||
<br>
|
||||
<button class="large expand" href="{{ url('pw_reset_new_pw', {user: user.name, token: token}) }}">Click here to reset password</button>
|
||||
<button class="large expand" href="{{ url('pw_reset_new_pw', {user: user.name, token: token}) }}">{% trans %}email.pw_reset.button{% endtrans %}</button>
|
||||
<br>
|
||||
If this dont work for you. Go to <a href="{{ url('pw_reset_new_pw') }}">{{ url('pw_reset_new_pw') }}</a>
|
||||
and enter the following info:
|
||||
{% trans with {'%url%': url('pw_reset_new_pw') } %}email.pw_reset.fallback{% endtrans %}:
|
||||
<callout class="secondary">
|
||||
<row>
|
||||
<columns>
|
||||
<p>
|
||||
<b>Username: </b> {{ user.name }}
|
||||
<b>{% trans %}email.pw_reset.username{% endtrans %}: </b> {{ user.name }}
|
||||
</p>
|
||||
<p>
|
||||
<b>Token:</b> {{ token }}
|
||||
<b>{% trans %}email.pw_reset.token{% endtrans %}:</b> {{ token }}
|
||||
</p>
|
||||
</columns>
|
||||
</row>
|
||||
</callout>
|
||||
The reset token will be valid until <i>{{ expiration_date|format_datetime }}</i>.
|
||||
{% trans with {'%date%' : expiration_date|format_datetime} %}email.pw_reset.valid_unit %date%{% endtrans %}
|
||||
</columns>
|
||||
</row>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue