diff options
author | Mike Chen <chagel@gmail.com> | 2009-07-29 00:01:16 +0800 |
---|---|---|
committer | Mike Chen <chagel@gmail.com> | 2009-07-29 00:01:16 +0800 |
commit | b6aa7c847234ed985ec693c53633a7f0f3e2cd9c (patch) | |
tree | 0ec7772b1fa7c1a88bd60c585cc0c8a7adbccc1a /templates/tags.html | |
parent | 0173b3d5978a81d785ec1431f09f325e45114709 (diff) | |
download | askbot-b6aa7c847234ed985ec693c53633a7f0f3e2cd9c.tar.gz askbot-b6aa7c847234ed985ec693c53633a7f0f3e2cd9c.tar.bz2 askbot-b6aa7c847234ed985ec693c53633a7f0f3e2cd9c.zip |
merge Evgeny's English and Botum's Spanish translations
Diffstat (limited to 'templates/tags.html')
-rw-r--r-- | templates/tags.html | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/templates/tags.html b/templates/tags.html index 0d2a972e..6131e527 100644 --- a/templates/tags.html +++ b/templates/tags.html @@ -1,7 +1,8 @@ {% extends "base_content.html" %} +{% load i18n %} {% load extra_tags %} {% load humanize %} -{% block title %}{% spaceless %}标签列表{% endspaceless %}{% endblock %} +{% block title %}{% spaceless %}{% trans "Tag list" %}{% endspaceless %}{% endblock %} {% block forejs %} <script type="text/javascript"> $().ready(function(){ @@ -24,25 +25,25 @@ {% block content %} <!-- Tabs --> <div class="tabBar"> - <div class="headQuestions">标签列表</div> + <div class="headQuestions">{% trans "Tag list" %}</div> <div class="tabsA"> - <a id="sort_name" href="/tags/?sort=name" class="off" title="按名称的字母先后顺序排序">按名称排序</a> - <a id="sort_used" href="/tags/?sort=used" class="off" title="按标签被使用的次数排序">按流行程度排序</a> + <a id="sort_name" href="/tags/?sort=name" class="off" title="{% trans "sorted alphabetically" %}">{% trans "by name" %}</a> + <a id="sort_used" href="/tags/?sort=used" class="off" title="{% trans "sorted by frequency of tag use" %}">{% trans "by popularity" %}</a> </div> </div> <div id="searchtags"> <p> {% if stag %} - 匹配查询 '<span class="darkred"><strong>{{ stag }}</strong></span>' 的所有标签: + {% trans "All tags matching query" %} '<span class="darkred"><strong>{{ stag }}</strong></span>' {% trans "all tags - make this empty in english" %}: {% endif %} {% if not tags.object_list %} - <span >没有找到相关数据。</span> + <span>{% trans "Nothing found" %}</span> {% endif %} </p> <ul class="tagsList tags"> {% for tag in tags.object_list %} <li> - <a href="{% url forum.views.tag tag|urlencode %}" title="查看有关'{{ tag }}'的问题" rel="tag"> + <a href="{% url forum.views.tag tag|urlencode %}" title="{% trans "see questions tagged" %}'{{ tag }}'{% trans "using tags" %}" rel="tag"> {{ tag }} </a> <span class="tag-number">× {{ tag.used_count|intcomma }}</span> @@ -58,4 +59,5 @@ <div class="pager"> {% cnprog_paginator context %} </div> -{% endblock %}
\ No newline at end of file +{% endblock %} +<!-- end tags.html --> |