1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2025-06-22 18:38:23 +02:00

Update mail translation

This commit is contained in:
Yohann D'ANELLO
2020-04-09 22:03:26 +02:00
parent e067b19d41
commit fc511689b0
7 changed files with 228 additions and 146 deletions

View File

@ -2,15 +2,14 @@
{% load i18n %}
{% block content %}
<h2>{% trans Activation %}</h2>
{% if validlink %}
{% blocktrans trimmed %}
Your account have successfully been activated. You can now <a href="{{ login_url }}">log in</a>.
{% endblocktrans %}
{% else %}
{% blocktrans trimmed %}
The link was invalid. The token may have expired. Please send us an email to activate your account.
{% endblocktrans %}
{% endif %}
{% if validlink %}
{% trans "Your email have successfully been validated." %}
{% if user.profile.registration_valid %}
{% blocktrans %}You can now <a href="{{ login_url }}">log in</a>.{% endblocktrans %}
{% else %}
{% trans "You must pay now your membership in the Kfet to complete your registration." %}
{% endif %}
{% else %}
{% trans "The link was invalid. The token may have expired. Please send us an email to activate your account." %}
{% endif %}
{% endblock %}

View File

@ -1,11 +0,0 @@
Hi {{ user.username }},
Welcome to {{ site_name }}. Please click on the link below to confirm your registration.
{{ protocol }}://{{ domain }}{% url 'registration:email_validation' uidb64=uid token=token %}
This link is only valid for a couple of days, after that you will need to contact us to validate your email.
Thanks,
{{ site_name }} team.

View File

@ -0,0 +1,15 @@
{% load i18n %}
{% trans "Hi" %} {{ user.username }},
{% trans "You recently registered on the Note Kfet. Please click on the link below to confirm your registration." %}
https://{{ domain }}{% url 'registration:email_validation' uidb64=uid token=token %}
{% trans "This link is only valid for a couple of days, after that you will need to contact us to validate your email." %}
{% trans "After that, you'll have to wait that someone validates your account before you can log in. You will need to pay your membership in the Kfet." %}
{% trans "Thanks" %},
{% trans "The Note Kfet team." %}