packages: subdownloader/subdownloader.spec, subdownloader/always-en.patch (...

glen glen at pld-linux.org
Sun Dec 18 17:24:23 CET 2011


Author: glen                         Date: Sun Dec 18 16:24:23 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- add en always to language choices even if no translations installed

---- Files affected:
packages/subdownloader:
   subdownloader.spec (1.11 -> 1.12) , always-en.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/subdownloader/subdownloader.spec
diff -u packages/subdownloader/subdownloader.spec:1.11 packages/subdownloader/subdownloader.spec:1.12
--- packages/subdownloader/subdownloader.spec:1.11	Sun Dec 18 17:23:27 2011
+++ packages/subdownloader/subdownloader.spec	Sun Dec 18 17:24:17 2011
@@ -13,6 +13,7 @@
 Source3:	%{name}.sh
 # site down, and was not in distfiles
 #Source:	http://starowa.one.pl/~uzi/pld/%{name}-locale-pl.tar.gz
+Patch0:		always-en.patch
 URL:		http://www.subdownloader.net/
 BuildRequires:	rpm-pythonprov
 Requires:	python >= 1:2.5
@@ -51,6 +52,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 #tar xzf %{SOURCE3}
 
@@ -122,6 +124,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.12  2011/12/18 16:24:17  glen
+- add en always to language choices even if no translations installed
+
 Revision 1.11  2011/12/18 16:23:27  glen
 - skip packaging .ui sources
 

================================================================
Index: packages/subdownloader/always-en.patch
diff -u /dev/null packages/subdownloader/always-en.patch:1.1
--- /dev/null	Sun Dec 18 17:24:23 2011
+++ packages/subdownloader/always-en.patch	Sun Dec 18 17:24:17 2011
@@ -0,0 +1,11 @@
+--- subdownloader-2.0.14/gui/main.py~	2010-09-14 01:03:05.000000000 +0300
++++ subdownloader-2.0.14/gui/main.py	2011-12-18 18:21:12.094644283 +0200
+@@ -309,6 +309,8 @@
+                 if 'subdownloader.mo' in files:
+                         self.interface_langs.append(_lang)
+ 
++        #Always add english
++        self.interface_langs.append('en')
+         log.debug('Found these translations languages: %r' % self.interface_langs)
+ 
+         #Check the system default locale
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/subdownloader/subdownloader.spec?r1=1.11&r2=1.12&f=u



More information about the pld-cvs-commit mailing list