From 9ddc17616f4dc9955533623e01f0635581adee40 Mon Sep 17 00:00:00 2001 From: Mike Chen Date: Wed, 15 Jul 2009 21:55:03 +0800 Subject: translate questions page --- templates/paginator.html | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'templates/paginator.html') diff --git a/templates/paginator.html b/templates/paginator.html index 3e8bd856..ae8329cb 100644 --- a/templates/paginator.html +++ b/templates/paginator.html @@ -1,7 +1,8 @@ {% spaceless %} +{% load i18n %} {% if is_paginated %}
-{% if has_previous %}« 上一页{% endif %} +{% if has_previous %}« <% trans "Previous" %>{% endif %} {% if not in_leading_range %} {% for num in pages_outside_trailing_range %} @@ -14,17 +15,17 @@ {% ifequal num page %} {% ifequal pages 1 %} {% else %} - {{ num }} + {{ num }} {% endifequal %} {% else %} - {{ num }} + {{ num }} {% endifequal %} {% endfor %} {% if not in_trailing_range %} ... {% for num in pages_outside_leading_range reversed %} - {{ num }} + {{ num }} {% endfor %} {% endif %} @@ -32,4 +33,4 @@
{% endif %} -{% endspaceless %} \ No newline at end of file +{% endspaceless %} -- cgit v1.2.3-1-g7c22