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/users.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/users.html')
-rw-r--r-- | templates/users.html | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/templates/users.html b/templates/users.html index 16a83b21..c3c9f790 100644 --- a/templates/users.html +++ b/templates/users.html @@ -1,9 +1,11 @@ {% extends "base_content.html" %} {% load extra_tags %} {% load humanize %} -{% block title %}{% spaceless %}用户列表{% endspaceless %}{% endblock %} +{% load i18n %} +{% block title %}{% spaceless %}{% trans "Users" %}{% endspaceless %}{% endblock %} {% block forejs %} <script type="text/javascript"> + //todo move javascript out $().ready(function(){ $("#nav_users").attr('className',"on"); $("#type-user").attr('checked',true); @@ -14,27 +16,26 @@ Hilite.elementid = "main-body"; Hilite.debug_referrer = location.href; }); - </script> {% endblock %} {% block content %} <div class="tabBar"> - <div class="headUsers">用户列表</div> + <div class="headUsers">{% trans "Users" %}</div> <div class="tabsA"> - <a id="sort_reputation" href="?sort=reputation" class="off" title="积分">积分</a> - <a id="sort_newest" href="?sort=newest" class="off" title="最新加入">最新加入</a> - <a id="sort_last" href="?sort=last" class="off" title="最先加入">最先加入</a> - <a id="sort_user" href="?sort=user" class="off" title="用户名">用户名</a> + <a id="sort_reputation" href="?sort=reputation" class="off" title="{% trans "reputation" %}">{% trans "reputation" %}</a> + <a id="sort_newest" href="?sort=newest" class="off" title="{% trans "recent" %}">{% trans "recent" %}</a> + <a id="sort_last" href="?sort=last" class="off" title="{% trans "oldest" %}">{% trans "oldest" %}</a> + <a id="sort_user" href="?sort=user" class="off" title="{% trans "by username" %}">{% trans "by username" %}</a> </div> </div> <div id="main-body" style="width:100%"> <p> {% if suser %} - 匹配查询 '<span class="darkred"><strong>{{ suser }}</strong></span>' 的所有用户名: + {% blocktrans %}users matching query {{suser}}:{% endblocktrans %} {% endif %} {% if not users.object_list %} - <span >没有找到相关数据。</span> + <span>{% trans "Nothing found." %}</span> {% endif %} </p> <div class="userList"> @@ -67,4 +68,5 @@ <div class="pager"> {% cnprog_paginator context %} </div> -{% endblock %}
\ No newline at end of file +{% endblock %} +<!-- end users.html --> |