[Python-apps-commits] r11490 - in packages/subdownloader/trunk/debian (3 files)

e2jk-guest at users.alioth.debian.org e2jk-guest at users.alioth.debian.org
Mon Oct 27 22:45:31 UTC 2014


    Date: Monday, October 27, 2014 @ 22:45:30
  Author: e2jk-guest
Revision: 11490

d/patches/load-translations.patch: Corrects Debian's program folder to load the translations correctly (Closes: #767036).

Added:
  packages/subdownloader/trunk/debian/patches/load-translations.patch
Modified:
  packages/subdownloader/trunk/debian/changelog
  packages/subdownloader/trunk/debian/patches/series

Modified: packages/subdownloader/trunk/debian/changelog
===================================================================
--- packages/subdownloader/trunk/debian/changelog	2014-10-27 22:26:03 UTC (rev 11489)
+++ packages/subdownloader/trunk/debian/changelog	2014-10-27 22:45:30 UTC (rev 11490)
@@ -1,3 +1,10 @@
+subdownloader (2.0.18-2) UNRELEASED; urgency=low
+
+  * d/patches/load-translations.patch: Corrects Debian's program folder to
+      load the translations correctly (Closes: #767036).
+
+ -- Emilien Klein <emilien+debian at klein.st>  Mon, 27 Oct 2014 23:26:06 +0100
+
 subdownloader (2.0.18-1) unstable; urgency=low
 
   * New upstream release (Closes: #687126, #751920).

Added: packages/subdownloader/trunk/debian/patches/load-translations.patch
===================================================================
--- packages/subdownloader/trunk/debian/patches/load-translations.patch	                        (rev 0)
+++ packages/subdownloader/trunk/debian/patches/load-translations.patch	2014-10-27 22:45:30 UTC (rev 11490)
@@ -0,0 +1,16 @@
+Description: Corrects Debian's program folder to load the translations correctly.
+ Fixes Debian issue #767036.
+Forwarded: not-needed
+Author: Emilien Klein <emilien+debian at klein.st>
+Last-Update: 2014-10-27
+--- a/gui/main.py
++++ b/gui/main.py
+@@ -307,7 +307,7 @@
+ 
+     def SetupInterfaceLang(self):
+         if platform.system() == "Linux":
+-            if self.programFolder == '/usr/share/subdownloader':
++            if self.programFolder == '/usr/share/pyshared/subdownloader':
+                 localedir = '/usr/share/locale/'
+             else:
+                 localedir = 'locale'

Modified: packages/subdownloader/trunk/debian/patches/series
===================================================================
--- packages/subdownloader/trunk/debian/patches/series	2014-10-27 22:26:03 UTC (rev 11489)
+++ packages/subdownloader/trunk/debian/patches/series	2014-10-27 22:45:30 UTC (rev 11490)
@@ -1,3 +1,4 @@
+load-translations.patch
 resize-icon.patch
 desktop-file-remove-path.patch
 no-mime-type-in-desktop-file.patch




More information about the Python-apps-commits mailing list