[packagekit] Python GTK Client

Sebastian Heinlein glatzor at ubuntu.com
Tue Oct 14 00:44:33 PDT 2008


Am Dienstag, den 14.10.2008, 08:16 +0100 schrieb Richard Hughes:
 
> > But I am just reusing your enum-converter from PackageKit to extract the
> > information from gpk-enum.c.
> 
> Might be best for now -- I'm no gettext legend.

I found a bug in gpg-enums.c:

You should make string substitution after making the gettext call,
otherwise the string won't be translatable:

_("The action is not supported by this backend.\n"
  "Please report a bug at " GPK_BUGZILLA_URL " as this should not have
happened.");

Should be:

/* TRANSLATORS: %s is the URL to a bug tracker */
_("The action is not supported by this backend.\n"
  "Please report a bug at %s as this should not have happened.")

and a corresponding g_string_printf call.





More information about the PackageKit mailing list