Translations no longer loaded from click packages
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu UI Toolkit |
Fix Released
|
High
|
Cris Dywan | ||
ubuntu-ui-toolkit (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Vivid |
New
|
Undecided
|
Unassigned |
Bug Description
While testing translations for the MAE show, I noticed that no translations are loaded for core apps. This had been fixed a while ago as part of bug 1233071, and worked quite well for a while too.
At some point (not exactly sure when) it regressed and we're no longer loading the translations, thus all click apps with translations appear in English.
To rule out the fact that translations were not installed, the following commands on my system show that we are shipping translations for both the preinstalled click package and for updates from the store, and that the translations exist and are complete for the 'ca' locale, with which I did the test.
$ msgunfmt /usr/share/
$ msgunfmt /opt/click.
My hunch would be that we're no longer pre-setting i18n.textdomain to look at @{CLICK_
Related branches
- David Planella (community): Approve
- Tim Peeters: Approve
- PS Jenkins bot: Approve (continuous-integration)
-
Diff: 94 lines (+13/-28)4 files modifiedmodules/Ubuntu/Components/plugin/i18n.cpp (+6/-10)
tests/unit/tst_i18n/localizedApp/.click/status (+1/-0)
tests/unit/tst_i18n/src/tst_i18n.cpp (+5/-17)
tests/unit/tst_i18n/tst_i18n.pro (+1/-1)
tags: | added: touch-cn |
description: | updated |
description: | updated |
Changed in ubuntu-ui-toolkit: | |
assignee: | nobody → Christian Dywan (kalikiana) |
importance: | Undecided → High |
status: | New → Confirmed |
Changed in ubuntu-ui-toolkit: | |
status: | Fix Committed → Fix Released |
Changed in ubuntu-ui-toolkit (Ubuntu): | |
status: | New → Fix Released |
Fix committed into lp:~ubuntu-sdk-team/ubuntu-ui-toolkit/staging at revision None, scheduled for release in ubuntu-ui-toolkit, milestone Unknown