diff --git a/.gitignore b/.gitignore index 72364f9..9d3b25f 100644 --- a/.gitignore +++ b/.gitignore @@ -46,7 +46,6 @@ coverage.xml .hypothesis/ # Translations -*.mo *.pot # Django stuff: @@ -87,3 +86,6 @@ ENV/ # Rope project settings .ropeproject + +# Translate +.tx diff --git a/rangefilter/locale/en_US/LC_MESSAGES/django.mo b/rangefilter/locale/en_US/LC_MESSAGES/django.mo new file mode 100644 index 0000000..ecd6fe0 Binary files /dev/null and b/rangefilter/locale/en_US/LC_MESSAGES/django.mo differ diff --git a/rangefilter/locale/en_US/LC_MESSAGES/django.po b/rangefilter/locale/en_US/LC_MESSAGES/django.po new file mode 100644 index 0000000..8a21584 --- /dev/null +++ b/rangefilter/locale/en_US/LC_MESSAGES/django.po @@ -0,0 +1,46 @@ +# 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: 2019-01-31 12:09+0300\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: apps.py:11 +msgid "Range Filter" +msgstr "" + +#: filter.py:133 filter.py:180 +msgid "From date" +msgstr "" + +#: filter.py:139 filter.py:186 +msgid "To date" +msgstr "" + +#: templates/rangefilter/date_filter.html:2 +#: templates/rangefilter/date_filter_1_8.html:2 +#, python-format +msgid "By %(filter_title)s" +msgstr "" + +#: templates/rangefilter/date_filter.html:133 +#: templates/rangefilter/date_filter_1_8.html:89 +msgid "Search" +msgstr "" + +#: templates/rangefilter/date_filter.html:134 +#: templates/rangefilter/date_filter_1_8.html:90 +msgid "Reset" +msgstr "" diff --git a/rangefilter/locale/ru/LC_MESSAGES/django.mo b/rangefilter/locale/ru/LC_MESSAGES/django.mo new file mode 100644 index 0000000..8843673 Binary files /dev/null and b/rangefilter/locale/ru/LC_MESSAGES/django.mo differ diff --git a/rangefilter/locale/ru/LC_MESSAGES/django.po b/rangefilter/locale/ru/LC_MESSAGES/django.po new file mode 100644 index 0000000..9e912b2 --- /dev/null +++ b/rangefilter/locale/ru/LC_MESSAGES/django.po @@ -0,0 +1,50 @@ +# 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. +# +# Translators: +# Dmitriy Sokolov , 2019 +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2019-01-31 12:09+0300\n" +"PO-Revision-Date: 2019-01-31 09:16+0000\n" +"Last-Translator: Sardorbek Imomaliev , 2019\n" +"Language-Team: Russian (https://www.transifex.com/django-admin-rangefilter/teams/95736/ru/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: ru\n" +"Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);\n" + +#: apps.py:11 +msgid "Range Filter" +msgstr "Фильтр диапазона" + +#: filter.py:133 filter.py:180 +msgid "From date" +msgstr "С даты" + +#: filter.py:139 filter.py:186 +msgid "To date" +msgstr "По дату" + +#: templates/rangefilter/date_filter.html:2 +#: templates/rangefilter/date_filter_1_8.html:2 +#, python-format +msgid "By %(filter_title)s" +msgstr "%(filter_title)s" + +#: templates/rangefilter/date_filter.html:133 +#: templates/rangefilter/date_filter_1_8.html:89 +msgid "Search" +msgstr "Поиск" + +#: templates/rangefilter/date_filter.html:134 +#: templates/rangefilter/date_filter_1_8.html:90 +msgid "Reset" +msgstr "Сбросить" diff --git a/rangefilter/templates/rangefilter/date_filter.html b/rangefilter/templates/rangefilter/date_filter.html index b33fec5..56540a9 100644 --- a/rangefilter/templates/rangefilter/date_filter.html +++ b/rangefilter/templates/rangefilter/date_filter.html @@ -1,5 +1,5 @@ {% load i18n rangefilter_compat %} -

{% blocktrans with filter_title=title %} By {{ filter_title }} {% endblocktrans %}

+

{% blocktrans with filter_title=title %}By {{ filter_title }}{% endblocktrans %}