summaryrefslogtreecommitdiffstats
path: root/templates/question_retag.html
diff options
context:
space:
mode:
authorBruno Sarlo <bruno@bruno-laptop.(none)>2009-08-08 21:44:10 -0300
committerBruno Sarlo <bruno@bruno-laptop.(none)>2009-08-08 21:44:10 -0300
commit0161159eb5b84d11908c16c6c86f93e1a8ac3c18 (patch)
tree871b0856af5e2dd5b816ee419857a38f80cd6b87 /templates/question_retag.html
parent0b80e6ba3fa528df2fc64a1a2e3a9f58dec39ec5 (diff)
parent46da3fdbe80ea1f6b9278d2671757d5fdb8abcfb (diff)
downloadaskbot-0161159eb5b84d11908c16c6c86f93e1a8ac3c18.tar.gz
askbot-0161159eb5b84d11908c16c6c86f93e1a8ac3c18.tar.bz2
askbot-0161159eb5b84d11908c16c6c86f93e1a8ac3c18.zip
Merge branch 'master' of git://github.com/evgenyfadeev/CNPROG
* Merge of Spanish translation, still missing some texts. * Custom colors for preguntalo project Conflicts: locale/es/LC_MESSAGES/django.mo locale/es/LC_MESSAGES/django.po templates/content/style/style.css
Diffstat (limited to 'templates/question_retag.html')
-rw-r--r--templates/question_retag.html25
1 files changed, 11 insertions, 14 deletions
diff --git a/templates/question_retag.html b/templates/question_retag.html
index aebf93a5..c7062e30 100644
--- a/templates/question_retag.html
+++ b/templates/question_retag.html
@@ -1,5 +1,6 @@
{% extends "base.html" %}
-{% block title %}{% spaceless %}修改问题标签{% endspaceless %}{% endblock %}
+<!-- question_retag.html -->
+{% block title %}{% spaceless %}{% trans "Change tags" %}{% endspaceless %}{% endblock %}
{% block forejs %}
<script type='text/javascript' src='/content/js/com.cnprog.editor.js'></script>
<script type='text/javascript' src='/content/js/com.cnprog.post.js'></script>
@@ -34,8 +35,8 @@
},
messages: {
tags: {
- required: " 标签不能为空。",
- maxlength: " 最多5个标签,每个标签长度小于20个字符。"
+ required: "{% trans "tags are required" %}",
+ maxlength: "{% trans "up to 5 tags, less than 20 characters each" %}
}
}
@@ -48,7 +49,7 @@
{% block content %}
<div id="main-bar" class="headNormal">
- 修改标签 [<a href="{{ question.get_absolute_url }}">返回</a>]
+ {% trans "Change tags" %} [<a href="{{ question.get_absolute_url }}">{% trans "back" %}</a>]
</div>
<div id="main-body" class="ask-body">
<div id="askform">
@@ -71,8 +72,8 @@
<br>
<div class="error" ></div>
- <input type="submit" value="现在修改" class="submit" />
- <input type="button" value="取消" class="submit" onclick="history.back(-1);" />
+ <input type="submit" value="{% trans "Save edit" %}" class="submit" />
+ <input type="button" value="{% trans "Cancel" %}" class="submit" onclick="history.back(-1);" />
<br>
<br>
</form>
@@ -82,20 +83,16 @@
{% block sidebar %}
<div class="boxC">
- <p class="subtitle">为什么我只能修改问题标签?</p>
+ <p class="subtitle">{% trans "Why use and modify tags?" %}</p>
<ul class="list-item">
-
<li>
- CNProg用标签来分类系统的信息
-
+ {% trans "tags help us keep Questions organized" %}
</li>
<li>
修改完整问题需要用户的积分达到一定条件(比如:积分 >= 3000分,自己发布的问题除外),而用户积分达到比较低的时候,就可以修改问题的标签(比如:积分 >= 500, 这里指所有问题的标签)。
-
</li>
<li>
- 修改标签的用户将授予特殊的社区奖牌
-
+ {% trans "tag editors receive special awards from the community" %}
</li>
</ul>
<a href="{% url faq %}" style="float:right;position:relative">faq »</a>
@@ -106,4 +103,4 @@
{% block endjs %}
{% endblock %}
-
+<!-- end question_retag.html -->