← Back to team overview

ubuntu-translations-coordinators team mailing list archive

[Bug 1067856] Re: "Open a new window" quicklist menu entries need internationalization

 

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
Translations Coordinators, which is subscribed to Ubuntu Translations.
Matching subscriptions: Ubuntu Translations bug mail
https://bugs.launchpad.net/bugs/1067856

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

Status in WebApps: libunity:
  New
Status in Ubuntu Translations:
  Triaged
Status in “libunity-webapps” package in Ubuntu:
  New

Bug description:
  When shown in the Dash, each webapp icon has got a Unity quicklist
  with several entries, which are (pending an upload that will implement
  this) all localized.

  However, there is one particular quicklist menu entry for all webapps
  whose translations are not loaded, and thus always appear in English:
  "Open a new window". See the attached screenshot.

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


References