Skip to content

Commit 94dc1fa

Browse files
Adds French translation.
1 parent 9effe9e commit 94dc1fa

File tree

4 files changed

+49
-5
lines changed

4 files changed

+49
-5
lines changed

MANIFEST.in

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
include README.rst
22
recursive-include django_tables2/templates *
33
recursive-include django_tables2/static *
4+
recursive-include django_tables2/locale *
45
recursive-include example/app/fixtures *
56
recursive-include example/templates *

django_tables2/locale/en/LC_MESSAGES/django.po

+10-4
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,29 @@ msgid ""
44
msgstr ""
55
"Project-Id-Version: django-tables2\n"
66
"Report-Msgid-Bugs-To: \n"
7-
"POT-Creation-Date: 2011-11-06 10:41+1000\n"
7+
"POT-Creation-Date: 2012-09-18 03:12+0200\n"
88
"PO-Revision-Date: 2011-11-06 10:41+1000\n"
99
"Last-Translator: Bradley Ayers <bradley.ayers@gmail.com>\n"
1010
"Language-Team: English <en@li.org>\n"
11+
"Language: en\n"
1112
"MIME-Version: 1.0\n"
1213
"Content-Type: text/plain; charset=UTF-8\n"
1314
"Content-Transfer-Encoding: 8bit\n"
1415

15-
#: templates/django_tables2/table.html:37
16+
#: templates/django_tables2/table.html:55
1617
msgid "Previous"
1718
msgstr ""
1819

19-
#: templates/django_tables2/table.html:39
20+
#: templates/django_tables2/table.html:59
2021
#, python-format
2122
msgid "Page %(current)s of %(total)s"
2223
msgstr ""
2324

24-
#: templates/django_tables2/table.html:41
25+
#: templates/django_tables2/table.html:63
2526
msgid "Next"
2627
msgstr ""
28+
29+
#: templates/django_tables2/table.html:66
30+
#, python-format
31+
msgid "%(count)s of %(total)s"
32+
msgstr ""
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# SOME DESCRIPTIVE TITLE.
2+
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
3+
# This file is distributed under the same license as the PACKAGE package.
4+
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5+
#
6+
#, fuzzy
7+
msgid ""
8+
msgstr ""
9+
"Project-Id-Version: PACKAGE VERSION\n"
10+
"Report-Msgid-Bugs-To: \n"
11+
"POT-Creation-Date: 2012-09-18 03:09+0200\n"
12+
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13+
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14+
"Language-Team: LANGUAGE <LL@li.org>\n"
15+
"Language: \n"
16+
"MIME-Version: 1.0\n"
17+
"Content-Type: text/plain; charset=UTF-8\n"
18+
"Content-Transfer-Encoding: 8bit\n"
19+
"Plural-Forms: nplurals=2; plural=(n > 1)\n"
20+
21+
#: templates/django_tables2/table.html:55
22+
msgid "Previous"
23+
msgstr "Précédent"
24+
25+
#: templates/django_tables2/table.html:59
26+
#, python-format
27+
msgid "Page %(current)s of %(total)s"
28+
msgstr "Page %(current)s sur %(total)s"
29+
30+
#: templates/django_tables2/table.html:63
31+
msgid "Next"
32+
msgstr "Suivant"
33+
34+
#: templates/django_tables2/table.html:66
35+
#, python-format
36+
msgid "%(count)s of %(total)s"
37+
msgstr "%(count)s des %(total)s"

django_tables2/templates/django_tables2/table.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
{% nospaceless %}{% block pagination.next %}<li class="next"><a href="{% querystring table.prefixed_page_field=table.page.next_page_number %}">{% trans "Next" %}</a></li>{% endblock pagination.next %}{% endnospaceless %}
6464
{% endif %}
6565

66-
{% nospaceless %}{% block pagination.cardinality %}<li class="cardinality">{% if total != count %}{{ table.page|length }} of {% endif %}{{ total }} {% if total == 1 %}{{ table.data.verbose_name }}{% else %}{{ table.data.verbose_name_plural }}{% endif %}</li>{% endblock pagination.cardinality %}{% endnospaceless %}
66+
{% nospaceless %}{% block pagination.cardinality %}<li class="cardinality">{% if total != count %}{% blocktrans %}{{ count }} of {{ total }}{% endblocktrans %}{% else %}{{ total }}{% endif %} {% if total == 1 %}{{ table.data.verbose_name }}{% else %}{{ table.data.verbose_name_plural }}{% endif %}</li>{% endblock pagination.cardinality %}{% endnospaceless %}
6767
</ul>
6868
{% endblock pagination %}
6969
{% endwith %}

0 commit comments

Comments
 (0)