[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#604554: unblock: software-center/2.0.7debian6



retitle 604554 unblock: software-center/2.0.7debian7
thanks

On Di, 2010-11-23 at 18:56 +0100, Mehdi Dogguy wrote:
> On 22/11/2010 20:57, Julian Andres Klode wrote:
> > Package: release.debian.org Severity: normal User: 
> > release.debian.org@packages.debian.org Usertags: freeze-exception
> > 
> > Please unblock package software-center
> > 
> > One small fix to show icons, a heavy update of translations, and the 
> > final deubuntufication of the help (and two translations for the
> > help). I also detected that help did not build correctly, which I fixed
> > by marking the .omf as translatable and hacking setup.py to replace 
> > relevant occurrences of 'C' in the .omf using the correct language
> > (for each language).
> > 
> > The translations for French, German, and Brazilian Portuguese are 
> > complete, all the others contain at least 4 fuzzy strings. The 
> > translations were synced from Launchpad, the three complete ones have 
> > been hand-edited.
> > 
> 
> The translation for French says "Logithèque Ubuntu" (which means "Ubuntu
> Software Center") … I didn't check for other languages.
> 
> Could you please fix that?
I fixed that and two others of that kind. I also fixed all fuzzy
"Provided by Debian" translations where the translation meant "Provided
by Ubuntu", resulting in a fully translated program for most languages
(program, the .desktop comment and the about dialog may still have one
untranslated string).

I also fixed two other bugs, one hard-coded check and one missing call
to gettext.gettext(), see the filtered diff below.

== modified file 'softwarecenter/view/appdetailsview.py'
--- softwarecenter/view/appdetailsview.py	2010-04-29 15:51:11 +0000
+++ softwarecenter/view/appdetailsview.py	2010-11-24 16:15:58 +0000
@@ -150,3 +150,3 @@
         for origin in pkg.candidate.origins:
-            if (origin.origin == "Ubuntu" and 
+            if (origin.origin == self.distro.get_distro_channel_name() and 
                 origin.trusted and 

=== modified file 'softwarecenter/view/catview.py'
--- softwarecenter/view/catview.py	2010-11-03 15:58:01 +0000
+++ softwarecenter/view/catview.py	2010-11-24 16:08:10 +0000
@@ -227,2 +227,4 @@
             name = gettext.dgettext(gettext_domain, untranslated_name)
+        if name == untranslated_name:
+            name = gettext.gettext(untranslated_name)
         return (untranslated_name, name, gettext_domain, icon)


> 
> Regards,
> 

-- 
Julian Andres Klode  - Debian Developer, Ubuntu Member

See http://wiki.debian.org/JulianAndresKlode and http://jak-linux.org/.





Reply to: