<form action="{{ request.urlgen('mediagoblin.auth.verify_forgot_password') }}"
method="POST" enctype="multipart/form-data">
- <div class="login_box form_box">
- <h1>Enter your new password</h1>
+ <div class="grid_6 prefix_1 suffix_1 form_box">
+ <h1>{% trans %}Enter your new password{% endtrans %}</h1>
{{ wtforms_util.render_divs(cp_form) }}
<div class="form_submit_buttons">
<form action="{{ request.urlgen('mediagoblin.auth.forgot_password') }}"
method="POST" enctype="multipart/form-data">
- <div class="login_box form_box">
- <h1>Enter your username or email</h1>
+ <div class="grid_6 prefix_1 suffix_1 form_box">
+ <h1>{% trans %}Enter your username or email{% endtrans %}</h1>
{{ wtforms_util.render_divs(fp_form) }}
<div class="form_submit_buttons">
{% block mediagoblin_content %}
<p>
- Your password have been changed. Now you can <a href="{{ request.urlgen('mediagoblin.auth.login') }}">Login</a>
+ {% trans %}
+ Your password has been changed. Try to log in now.
+ {% endtrans %}
</p>
{% endblock %}
{% block mediagoblin_content %}
<p>
- Please check your email. We send an email whit an url to change your password.
+ {% trans %}
+ Check your inbox. We sent an email with a URL for changing your password.
+ {% endtrans %}
</p>
{% endblock %}
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#}
+
+{% trans username=username, verification_url=verification_url|safe -%}
Hi {{ username }},
-to change your GNU MediaGoblin password, open the following URL in your web browser
+to change your GNU MediaGoblin password, open the following URL in
+your web browser:
-{{ verification_url|safe }}
+{{ verification_url }}
-If you think this is an error, just ignore this email and continue being a happy goblin!
+If you think this is an error, just ignore this email and continue being
+a happy goblin!
+{%- endtrans %}
{% trans %}Forgot your password?{% endtrans %}
<br />
<a href="{{ request.urlgen('mediagoblin.auth.forgot_password') }}">
- {%- trans %}Send a reminder!{% endtrans %}</a>
+ {%- trans %}Send yourself a reminder!{% endtrans %}</a>
</p>
{% endif %}
</div>