Not sure how this is a translation bug... however, the code at line 920
in /usr/bin/gnome-about can be improved.
File "/usr/bin/gnome-about", line 920, in make_info_label
label.set_markup (_("<b>%(name)s:</b> %(value)s") % infos_dict)
There's no need to have the variable inside of the gettext function.
Assume param = "foo". If you use _("some %s string" %param) then you
will be looking up the interpolated string "some foo string" in the
message catalog. The message catalog should have "some %s string"
translated. Therefore, % should always be outside of _().
--
gnome-about crashed with KeyError in make_info_label()
https://bugs.launchpad.net/bugs/199965
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs