Scopes are not translatable
Bug #1297889 reported by
David Planella
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
unity-scopes-api |
Fix Released
|
Undecided
|
Michal Hruby | ||
unity-scope-click (Ubuntu) |
Fix Released
|
High
|
dobey | ||
unity-scope-mediascanner (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
unity-scope-scopes (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
After landing the new scopes, we noticed a regression in which all scopes that previously were translated in the old API now appear untranslated. In order to fix this:
- The Unity scopes API should provide some level of support for internationalizing strings that are shared across scopes.
- Individual scopes that we install by default should be i18n-enabled
- Remote scopes should have a way to pass the locale to the corresponding remote scopes server
- The Software Store should return translated metadata for the click scope (bug 1302045)
See bug 1182577 for how to use translation calls from C++
Related branches
lp://qastaging/~dobey/unity-scope-click/translated
- David Planella (community): Approve
- PS Jenkins bot: Approve (continuous-integration)
- Alejandro J. Cura (community): Approve
- Michal Hruby (community): Needs Information
-
Diff: 297 lines (+114/-16)11 files modifiedCMakeLists.txt (+1/-0)
debian/control (+2/-0)
debian/rules (+1/-1)
po/CMakeLists.txt (+36/-0)
po/POTFILES.in (+1/-0)
po/genpotfiles.sh (+6/-0)
scope/click/CMakeLists.txt (+5/-0)
scope/click/click-i18n.h (+37/-0)
scope/click/preview.cpp (+15/-13)
scope/click/query.cpp (+4/-2)
scope/click/scope.cpp (+6/-0)
lp://qastaging/~mhr3/unity-scope-mediascanner/i18n-enablement
- PS Jenkins bot (community): Approve (continuous-integration)
- Paweł Stołowski (community): Approve
-
Diff: 499 lines (+205/-61)15 files modifiedCMakeLists.txt (+6/-0)
data/CMakeLists.txt (+11/-42)
data/mediascanner-music.ini.in.in (+3/-3)
data/mediascanner-video.ini.in.in (+3/-3)
data/musicaggregator.ini.in.in (+3/-3)
data/videoaggregator.ini.in.in (+3/-3)
debian/control (+2/-1)
debian/unity-scope-mediascanner2.install (+1/-0)
po/CMakeLists.txt (+51/-0)
po/unity-scope-mediascanner.pot (+86/-0)
src/i18n.h (+24/-0)
src/music-scope.cpp (+6/-4)
src/musicaggregatorscope.cpp (+1/-0)
src/video-scope.cpp (+4/-2)
src/videoaggregatorscope.cpp (+1/-0)
lp://qastaging/~mhr3/unity-scope-scopes/i18n-enablement
- Paweł Stołowski (community): Approve
-
Diff: 285 lines (+164/-16)8 files modifiedCMakeLists.txt (+6/-0)
debian/control (+1/-0)
po/CMakeLists.txt (+53/-0)
po/unity-scope-scopes.pot (+52/-0)
src/CMakeLists.txt (+12/-4)
src/i18n.h (+25/-0)
src/scopes-scope.cpp (+8/-5)
src/scopes.ini.in.in (+7/-7)
tags: | added: i18n-touch |
description: | updated |
tags: | added: touch-cn |
Changed in unity-scope-click (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → High |
description: | updated |
Changed in unity-scope-click (Ubuntu): | |
status: | Triaged → In Progress |
assignee: | nobody → Rodney Dawes (dobey) |
summary: |
- Add i18n support to scopes + Scopes are not translatable |
Changed in unity-scopes-api: | |
assignee: | nobody → Michal Hruby (mhr3) |
status: | New → In Progress |
Changed in unity-scopes-api: | |
status: | In Progress → Fix Released |
Changed in unity-scope-scopes (Ubuntu): | |
status: | New → Fix Released |
Changed in unity-scope-mediascanner (Ubuntu): | |
status: | New → Fix Released |
To post a comment you must log in.
This bug was fixed in the package unity-scope-click - 0.1+14. 04.20140410. 1-0ubuntu1
--------------- 04.20140410. 1-0ubuntu1) trusty; urgency=low
unity-scope-click (0.1+14.
[ Alejandro J. Cura ] SHOW_DESKTOP_ APPS is set
* Remove code in click::Interface that was not actually being used
* Show desktop applications when CLICK_SCOPE_
(LP: #1300925)
[ Rodney Dawes ]
* Add the _ macro definition. Mark strings for translation. Add build
system support for translating the scope. Add build dependency on
intltool. (LP: #1297889)
-- Ubuntu daily release <email address hidden> Thu, 10 Apr 2014 18:19:55 +0000