← Back to team overview

touch-packages team mailing list archive

[Bug 1354501] Re: Do not use class static translatable messages

 

** Branch linked: lp:ubuntu/utopic-proposed/unity-scope-click

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to unity-scope-click in
Ubuntu.
https://bugs.launchpad.net/bugs/1354501

Title:
  Do not use class static translatable messages

Status in “unity-scope-click” package in Ubuntu:
  Fix Committed

Bug description:
  const std::string PreviewStrategy::INFO_LABEL = _("Info");
  const std::string PreviewStrategy::UPDATES_LABEL = _("Updates");
  const std::string PreviewStrategy::WHATS_NEW_LABEL = _("What's new");

  Are wrong because as they are class static they are initialized "at
  the beginning of the times" and thus the language and translation
  domain are not set which means you end up with stuff untranslated even
  if it is correctly translated in the .po file.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unity-scope-click/+bug/1354501/+subscriptions


References