Setting i18n.domain breaks translation
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu UI Toolkit |
Fix Released
|
Critical
|
Cris Dywan | ||
ubuntu-ui-toolkit (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Vivid |
New
|
Undecided
|
Unassigned |
Bug Description
Given a file:
import QtQuick 2.0
import Ubuntu.Components 0.1
Item {
Component.
}
}
The output is (provided you have unity8 installed):
$ LANG=pl_PL.UTF-8 qmlscene test.qml
Search vs. Szukaj
But if you uncomment the commented line:
$ LANG=pl_PL.UTF-8 qmlscene test.qml
Search vs. Search
This, more or less, means that translations are broken in the current Ubuntu SDK...
ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: qtdeclarative5-
ProcVersionSign
Uname: Linux 3.15.0-1-generic x86_64
NonfreeKernelMo
ApportVersion: 2.14.2-0ubuntu4
Architecture: amd64
CurrentDesktop: Unity
Date: Fri May 23 15:45:09 2014
SourcePackage: ubuntu-ui-toolkit
UpgradeStatus: No upgrade log present (probably fresh install)
Related branches
- PS Jenkins bot: Approve (continuous-integration)
- Tim Peeters: Approve
- David Planella (community): Approve
-
Diff: 22 lines (+6/-5)1 file modifiedmodules/Ubuntu/Components/plugin/i18n.cpp (+6/-5)
tags: | added: touch-cn |
Changed in ubuntu-ui-toolkit: | |
status: | New → Confirmed |
Changed in ubuntu-ui-toolkit: | |
status: | Fix Committed → Fix Released |
My guess is that it broke here:
http:// bazaar. launchpad. net/~ubuntu- sdk-team/ ubuntu- ui-toolkit/ staging/ revision/ 1053
so the fix for click apps made it not work for unity8.