From: floguy Date: Sat, 30 Aug 2008 18:16:54 +0000 (+0000) Subject: Added German locale. Thanks, Bela Hausmann! This fixes #9. X-Git-Tag: 1.0.6~28 X-Git-Url: https://git.mdrn.pl/django-pagination.git/commitdiff_plain/51e9175b2f6d178d743cf05ccdd597891117a537?ds=inline Added German locale. Thanks, Bela Hausmann! This fixes #9. git-svn-id: https://django-pagination.googlecode.com/svn/trunk@29 7f1efe38-554e-0410-b69d-834cb44da2d5 --- diff --git a/pagination/locale/de/LC_MESSAGES/django.po b/pagination/locale/de/LC_MESSAGES/django.po new file mode 100644 index 0000000..10657fe --- /dev/null +++ b/pagination/locale/de/LC_MESSAGES/django.po @@ -0,0 +1,27 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR , YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2008-07-28 13:26+0200\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: templates/pagination/pagination.html:5 +#: templates/pagination/pagination.html:7 +msgid "previous" +msgstr "zurück" + +#: templates/pagination/pagination.html:21 +#: templates/pagination/pagination.html:23 +msgid "next" +msgstr "weiter" diff --git a/pagination/templates/pagination/pagination.html b/pagination/templates/pagination/pagination.html index 3799314..37cef40 100644 --- a/pagination/templates/pagination/pagination.html +++ b/pagination/templates/pagination/pagination.html @@ -1,9 +1,10 @@ {% if is_paginated %} +{% load i18n %} {% endif %} diff --git a/pagination/tests.py b/pagination/tests.py index 837e55c..21ec9d2 100644 --- a/pagination/tests.py +++ b/pagination/tests.py @@ -43,10 +43,10 @@ # ENDWARNING >>> t.render(Context({'var': range(21), 'request': RequestProxy()})) -u'\\n