The translations in webapps-applications, as with most Ubuntu packages,
are not shipped in the package itself, but in the language packs
instead. In this case, the translations for libunity-webapps are shipped
in /usr/share/locale-langpack/$LANGUAGECODE/LC_MESSAGES/unity_webapps.mo

However, they are not loaded even though they are present.

Looking at the code, the only thing that strikes me is:

configure.ac:GETTEXT_PACKAGE=unity_webapps
data/com.canonical.unity.webapps.gschema.xml:  <schema 
id="com.canonical.unity.webapps" path="/com/canonical/unity/webapps/" 
gettext-domain="unity-webapps">

So it seems that the domain in the .gschema.xml file does not match the
domain specified at build time. While this needs to be fixed, I believe
it only affects translations of schema files, and I'm not sure it's
related to translations not being loaded on the desktop file.

Another thing that I've noticed is that the webapps desktop files are
missing the "X-Ubuntu-Gettext-Domain=unity_webapps" entry, which might
be the root of the cause.

However, I don't seem to be able to manually add the entry to the
webapps .desktop files to test it, as every time they are loaded in the
launcher, my manually written entry seems to disappear. Any ideas?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1067856

Title:
  "Open a new window" quicklist menu entry translations are not loaded

To manage notifications about this bug go to:
https://bugs.launchpad.net/libunity-webapps/+bug/1067856/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to