diff options
Diffstat (limited to 'templates/authopenid/sendpw.html')
-rw-r--r-- | templates/authopenid/sendpw.html | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/templates/authopenid/sendpw.html b/templates/authopenid/sendpw.html index 237a5cf6..a9488c4c 100644 --- a/templates/authopenid/sendpw.html +++ b/templates/authopenid/sendpw.html @@ -1,17 +1,18 @@ {% extends "base.html" %} -{% block title %}{% spaceless %}发送新密码{% endspaceless %}{% endblock %} +{% load i18n %} +{% block title %}{% spaceless %}{% trans "Send new password" %}{% endspaceless %}{% endblock %} {% block content %} <div id="main-bar" class=""> - <h3 >发送新密码</h3> + <h3>{% trans "Send new password" %}</h3> </div> <div class="paragraph"> -丢失了您的密码? 你可以在这里重设密码。<br> -请输入用户名,新的密码会发送到你注册时候填写的电子邮件。 +{% trans "Lost your password? No problem - here you can reset it." %}<br> +{% trans "Please enter your username below and new password will be sent to your registered e-mail" %} </div> {% if form.errors %} -<p class="errors"><span class="big">请注意以下错误:</span><br> +<p class="errors"><span class="big">{% "Sorry, looks like we have some errors:" %}</span><br> {% if form.username.errors %} <span class="error">{{ form.username.errors|join:", " }}</span> {% endif %} @@ -23,11 +24,11 @@ <div class="aligned"> <form action="." method="post" accept-charset="utf-8"> - <div id="form-row"><label for="id_username">用户名: </label>{{ form.username }}</div> + <div id="form-row"><label for="id_username">{% trans "User name" %}:</label>{{ form.username }}</div> - <p style="padding-top:10px"><input type="submit" value="重设密码"> <a href="{% url user_signin %}">返回登录</a></p> + <p style="padding-top:10px"><input type="submit" value="{% trans "Reset password" %}"> <a href="{% url user_signin %}">{% trans "return to login" %}</a></p> </form> - <span class="darkred">注意: 新的密码只有您在激活邮件中的链接后才会被激活。</span> + <span class="darkred">{% trans "Note: your new password will be activated only after you click the activation link in the email message" %}</span> </div> {% endblock %} |