translations are not updated after calling i18n.bindtextdomain
Bug #1220395 reported by
Sam Segers
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu UI Toolkit |
Fix Released
|
Undecided
|
Unassigned | ||
ubuntu-ui-toolkit (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
When using i18n.tr, the stings don't get updated after you call i18n.bindtextdomain to set the directory for where to search for translations. This is needed to put translations in Click packages.
Related branches
lp:~kalikiana/ubuntu-ui-toolkit/bindtextdomainupdate
- PS Jenkins bot: Approve (continuous-integration)
- Zsombor Egri: Approve
-
Diff: 58 lines (+7/-10)2 files modifiedmodules/Ubuntu/Components/plugin/i18n.cpp (+1/-0)
tests/unit/tst_components/tst_plugin_i18n.qml (+6/-10)
tags: | added: i18n |
Changed in ubuntu-ui-toolkit: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
we monitor signals for when the domain or language is changed, and redraw everything when that happens so new translated strings are used, but this is not the case for the textdomain