[Python-modules-commits] [django-filter] 08/08: Add patch to fix value of Language fields for django.po files.

Michael Fladischer fladi at moszumanska.debian.org
Tue Jul 25 20:37:34 UTC 2017


This is an automated email from the git hooks/post-receive script.

fladi pushed a commit to branch debian/master
in repository django-filter.

commit 831cf0d789c38a4aefa38f750d06652a127beb06
Author: Michael Fladischer <FladischerMichael at fladi.at>
Date:   Tue Jul 25 22:07:03 2017 +0200

    Add patch to fix value of Language fields for django.po files.
---
 debian/changelog                                   |  1 +
 ...ue-of-Language-fields-for-django.po-files.patch | 49 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 3 files changed, 51 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index ed6bd3f..44bb2b9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -16,6 +16,7 @@ django-filter (1.0.4-1) UNRELEASED; urgency=medium
   * Add unique parts to short and long descriptions.
   * Switch to python3-sphinx.
   * Rebuild all django.mo files from source using python3-babel.
+  * Add patch to fix value of Language fields for django.po files.
 
  -- Brian May <bam at debian.org>  Mon, 03 Jul 2017 07:34:00 +1000
 
diff --git a/debian/patches/0001-Fix-value-of-Language-fields-for-django.po-files.patch b/debian/patches/0001-Fix-value-of-Language-fields-for-django.po-files.patch
new file mode 100644
index 0000000..97b08b6
--- /dev/null
+++ b/debian/patches/0001-Fix-value-of-Language-fields-for-django.po-files.patch
@@ -0,0 +1,49 @@
+From: Michael Fladischer <FladischerMichael at fladi.at>
+Date: Tue, 25 Jul 2017 22:06:20 +0200
+Subject: Fix value of Language fields for django.po files.
+
+---
+ django_filters/locale/fr/LC_MESSAGES/django.po    | 2 +-
+ django_filters/locale/pl/LC_MESSAGES/django.po    | 2 +-
+ django_filters/locale/zh_CN/LC_MESSAGES/django.po | 2 +-
+ 3 files changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/django_filters/locale/fr/LC_MESSAGES/django.po b/django_filters/locale/fr/LC_MESSAGES/django.po
+index 8926219..f499608 100644
+--- a/django_filters/locale/fr/LC_MESSAGES/django.po
++++ b/django_filters/locale/fr/LC_MESSAGES/django.po
+@@ -12,7 +12,7 @@ msgstr ""
+ "PO-Revision-Date: 2013-07-05 19:24+0200\n"
+ "Last-Translator: Axel Haustant <noirbizarre at gmail.com>\n"
+ "Language-Team: LANGUAGE <LL at li.org>\n"
+-"Language: French\n"
++"Language: fr\n"
+ "MIME-Version: 1.0\n"
+ "Content-Type: text/plain; charset=UTF-8\n"
+ "Content-Transfer-Encoding: 8bit\n"
+diff --git a/django_filters/locale/pl/LC_MESSAGES/django.po b/django_filters/locale/pl/LC_MESSAGES/django.po
+index 5c78bdd..5130978 100644
+--- a/django_filters/locale/pl/LC_MESSAGES/django.po
++++ b/django_filters/locale/pl/LC_MESSAGES/django.po
+@@ -17,7 +17,7 @@ msgstr ""
+ "Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
+ "|| n%100>=20) ? 1 : 2);\n"
+ "X-Generator: Poedit 1.5.4\n"
+-"Language: pl_PL\n"
++"Language: pl\n"
+ 
+ #: filters.py:56
+ msgid "This is an exclusion filter"
+diff --git a/django_filters/locale/zh_CN/LC_MESSAGES/django.po b/django_filters/locale/zh_CN/LC_MESSAGES/django.po
+index de067b9..a713c6f 100644
+--- a/django_filters/locale/zh_CN/LC_MESSAGES/django.po
++++ b/django_filters/locale/zh_CN/LC_MESSAGES/django.po
+@@ -12,7 +12,7 @@ msgstr ""
+ "PO-Revision-Date: 2016-01-30 17:50+0800\n"
+ "Last-Translator: Kane Blueriver <kxxoling at gmail.com>\n"
+ "Language-Team: LANGUAGE <LL at li.org>\n"
+-"Language: \n"
++"Language: zh_CN\n"
+ "MIME-Version: 1.0\n"
+ "Content-Type: text/plain; charset=UTF-8\n"
+ "Content-Transfer-Encoding: 8bit\n"
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..46884be
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-Fix-value-of-Language-fields-for-django.po-files.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/django-filter.git



More information about the Python-modules-commits mailing list