Make "newer" "older" translatable
authorChristopher Allan Webber <cwebber@dustycloud.org>
Sun, 4 Sep 2011 21:38:12 +0000 (16:38 -0500)
committerChristopher Allan Webber <cwebber@dustycloud.org>
Sun, 4 Sep 2011 21:38:12 +0000 (16:38 -0500)
mediagoblin/templates/mediagoblin/utils/pagination.html

index 7a99880ac0f1e3b0a8553e13907621b95d2b1646..87e15e0f01c4739ecd5ee49ab648d6fca03a7039 100644 (file)
                    base_url, get_params,
                    pagination.page - 1) %}
           <a href="{{ prev_url }}"><img class="pagination_arrow" src="/mgoblin_static/images/pagination_left.png" alt="Previous page" /></a>
-          <a href="{{ prev_url }}">Newer</a>
+          <a href="{{ prev_url }}">{% trans %}Newer{% endtrans %}</a>
         {% endif %}
         {% if pagination.has_next %}
           {% set next_url = pagination.get_page_url_explicit(
                    base_url, get_params,
                    pagination.page + 1) %}
-          <a href="{{ next_url }}">Older</a>
+          <a href="{{ next_url }}">{% trans %}Older{% endtrans %}</a>
           <a href="{{ next_url }}"><img class="pagination_arrow" src="/mgoblin_static/images/pagination_right.png" alt="Next page" /></a>
         {% endif %}
         <br />