touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #08340
[Bug 1354501] Re: Do not use class static translatable messages
** Changed in: unity-scope-click (Ubuntu)
Importance: Undecided => High
** Changed in: unity-scope-click (Ubuntu)
Status: New => Triaged
** Changed in: unity-scope-click (Ubuntu)
Assignee: (unassigned) => Alejandro J. Cura (alecu)
--
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:
Triaged
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