After a conversation with pitti, it seems that for packages using
python-distutils-extra there is no easy way of adding the X-Ubuntu-
Gettext-Domain key. The langpack.mk rule assumes there is a po/Makefile
file where to obtain the domain name from, which is not the case with
apps using the p-d-e build system. Here's an extract of the conversation
on #ubuntu-desktop:

<pitti> dpm: hmm -- the current build system doesn't even know about which 
gettext domain it's using
<pitti> dpm: if we know, or would assume that it's the same as the project 
name, we might just create a po/Makefile with GETTEXT_PACKAGE=$projectname in 
python-mkdebian perhaps

The best approach seems to be for now to add the X-Ubuntu-GNOME-Domain
key to the upstream sources. This will have the benefit that it will
work both for Ubuntu and for OpenSUSE. That's what the linked branch
does.

** Branch linked: lp:~dpm/gwibber/bug-538851

-- 
Translations should be stripped from the gwibber.desktop file
https://bugs.launchpad.net/bugs/538851
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to