summaryrefslogtreecommitdiffstats
path: root/templates/user_preferences.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/user_preferences.html')
-rw-r--r--templates/user_preferences.html15
1 files changed, 9 insertions, 6 deletions
diff --git a/templates/user_preferences.html b/templates/user_preferences.html
index 3a760a25..eb7c4761 100644
--- a/templates/user_preferences.html
+++ b/templates/user_preferences.html
@@ -1,20 +1,23 @@
{% extends "user.html" %}
+<!-- user_preferences.html -->
+{% load i18n %}
{% load extra_tags %}
{% load humanize %}
{% block usercontent %}
<div style="padding:5px;">
<fieldset>
- <legend><b>同步Twitter消息</b></legend>
+ <legend><b>{% trans "Connect with Twitter" %}</b></legend>
<form>
- <label for="name">账号:</label>
+ <label for="name">{% trans "Twitter account name:" %}</label>
<input id="name" /><br>
- <label for="password">密码:</label>
+ <label for="password">{% trans "Twitter password:" %}</label>
<input id="password" type="password"/><br>
- <input id="cbMessage" type="checkbox" />发布我的提问到我的Twitter<br>
- <input id="cbReply" type="checkbox" />发布我的回答到我的Twitter<br>
- <input type="submit" value="保存" />
+ <input id="cbMessage" type="checkbox" />{% trans "Send my Questions to Twitter" %}<br>
+ <input id="cbReply" type="checkbox" />{% trans "Send my Answers to Twitter" %}<br>
+ <input type="submit" value="{% trans "Save" %}" />
</form>
</fieldset>
</div>
{% endblock %}
+<!-- end user_preferences.html -->