ubuntu-sdk-bugs team mailing list archive
-
ubuntu-sdk-bugs team
-
Mailing list archive
-
Message #01109
[Bug 1322630] Re: Setting i18n.domain breaks translation
This bug was fixed in the package ubuntu-ui-toolkit -
0.1.46+14.10.20140602-0ubuntu1
---------------
ubuntu-ui-toolkit (0.1.46+14.10.20140602-0ubuntu1) utopic; urgency=low
[ Tarmac ]
* [ Christian Dywan ] * Tweak API parsing to include the Button.font
property. (LP: #1322169, #1322630, #1317881)
[ Zoltán Balogh ]
* [ Christian Dywan ] * Tweak API parsing to include the Button.font
property. (LP: #1322169, #1322630, #1317881)
-- Ubuntu daily release <ps-jenkins@xxxxxxxxxxxxxxxxxxx> Mon, 02 Jun 2014 11:33:42 +0000
** Changed in: ubuntu-ui-toolkit (Ubuntu)
Status: Confirmed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
SDK bug tracking, which is subscribed to ubuntu-ui-toolkit in Ubuntu.
https://bugs.launchpad.net/bugs/1322630
Title:
Setting i18n.domain breaks translation
Status in Ubuntu UI Toolkit:
Fix Committed
Status in “ubuntu-ui-toolkit” package in Ubuntu:
Fix Released
Bug description:
Given a file:
import QtQuick 2.0
import Ubuntu.Components 0.1
Item {
Component.onCompleted: {
//i18n.domain = "unity8";
console.debug(i18n.tr("Search"), "vs.", i18n.dtr("unity8", "Search"));
}
}
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-ubuntu-ui-toolkit-plugin 0.1.46+14.10.20140520-0ubuntu1
ProcVersionSignature: Ubuntu 3.15.0-1.5-generic 3.15.0-rc5
Uname: Linux 3.15.0-1-generic x86_64
NonfreeKernelModules: nvidia wl
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)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-ui-toolkit/+bug/1322630/+subscriptions
References