fix i18n integration in qmake template
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
qtcreator-plugin-ubuntu (Ubuntu) |
Fix Released
|
High
|
Unassigned |
Bug Description
In addition to bug #1443351 for desktop file translations, other issues plague this template:
* if you rename the hook (which we do know by default), the qml, js files are not taken for translation. This is due to, in the .pro:
$$files(
$$files(
with "app" being hardcoded.
Note as well that the same issue exists below for unit and autopilot tools test.
* template.pot is then created, this one should rather be:
- <appdomain name>.pot
- charset should be set to "UTF-8" (otherwise, this trigger an error when merging back)
* .mo files are only created when you run manually qmake . && make, not when you run your application. Maybe it should be hooked in at some point in the release process?
Related branches
- Zoltan Balogh: Approve
-
Diff: 409 lines (+122/-42)12 files modifiedshare/qtcreator/templates/wizards/ubuntu/backend-app-qmake/appName/appName.desktop (+1/-1)
share/qtcreator/templates/wizards/ubuntu/backend-app-qmake/appName/appName.pro (+9/-3)
share/qtcreator/templates/wizards/ubuntu/backend-app-qmake/projectName.pro (+6/-5)
share/qtcreator/templates/wizards/ubuntu/qtquick-app-qmake/appName/appName.desktop (+1/-1)
share/qtcreator/templates/wizards/ubuntu/qtquick-app-qmake/appName/appName.pro (+9/-2)
share/qtcreator/templates/wizards/ubuntu/qtquick-app-qmake/projectName.pro (+7/-6)
share/qtcreator/templates/wizards/ubuntu/simple-app-qmake/appName/appName.desktop (+1/-1)
share/qtcreator/templates/wizards/ubuntu/simple-app-qmake/appName/appName.pro (+9/-3)
share/qtcreator/templates/wizards/ubuntu/simple-app-qmake/projectName.pro (+7/-6)
share/qtcreator/ubuntu/scripts/qtc_device_applaunch.py (+8/-3)
src/ubuntu/ubuntupackagestep.cpp (+1/-1)
ubuntu-click-tools.prf (+63/-10)
- PS Jenkins bot: Approve (continuous-integration)
- Zoltan Balogh: Approve
-
Diff: 525 lines (+160/-47)16 files modifiedshare/qtcreator/templates/wizards/ubuntu/backend-app-qmake/appName/appName.desktop (+1/-1)
share/qtcreator/templates/wizards/ubuntu/backend-app-qmake/appName/appName.pro (+9/-3)
share/qtcreator/templates/wizards/ubuntu/backend-app-qmake/projectName.pro (+6/-5)
share/qtcreator/templates/wizards/ubuntu/qtquick-app-qmake/appName/appName.desktop (+1/-1)
share/qtcreator/templates/wizards/ubuntu/qtquick-app-qmake/appName/appName.pro (+9/-2)
share/qtcreator/templates/wizards/ubuntu/qtquick-app-qmake/projectName.pro (+7/-6)
share/qtcreator/templates/wizards/ubuntu/simple-app-qmake/appName/appName.desktop (+1/-1)
share/qtcreator/templates/wizards/ubuntu/simple-app-qmake/appName/appName.pro (+9/-3)
share/qtcreator/templates/wizards/ubuntu/simple-app-qmake/projectName.pro (+7/-6)
share/qtcreator/ubuntu/scripts/qtc_device_applaunch.py (+8/-3)
share/qtcreator/ubuntu/scripts/qtc_launch_gallery (+16/-2)
src/ubuntu/ubuntupackagestep.cpp (+1/-1)
src/ubuntu/ubuntupackagingmodel.cpp (+2/-2)
src/ubuntu/ubuntusecuritypolicypickerdialog.cpp (+7/-1)
src/ubuntu/ubuntusecuritypolicypickerdialog.ui (+13/-0)
ubuntu-click-tools.prf (+63/-10)
summary: |
- qmake template doesn't handle pot translation + qmake template doesn't handle intltool translation |
summary: |
- qmake template doesn't handle intltool translation + fix i18n integration in qmake template |
description: | updated |
Changed in qtcreator-plugin-ubuntu (Ubuntu): | |
status: | New → Triaged |
status: | Triaged → In Progress |
importance: | Undecided → High |
This bug was fixed in the package qtcreator- plugin- ubuntu - 3.5.0+15. 10.20150902- 0ubuntu1
--------------- plugin- ubuntu (3.5.0+ 15.10.20150902- 0ubuntu1) wily; urgency=medium
qtcreator-
[ Benjamin Zeller ]
* Fixes Bug lp:1488085 "Navigating in the Add Security Policies window
is broken with keyboard" Fixes Bug lp:1489344 "Install on device is
broken" Fixes Bug lp:1489567 "Ubuntu gallery can not be openend"
Catch "permission denied" error if opening syslog is not allowed Fix
Bug lp:1480771 "Wrong directory used for translation" Fix Bug
lp:1443351 ".desktop file is not translated for qmake based
projects" Fix Bug lp:1479581 "Debug helper is disabled by default"
Fix Bug lp:1481325 "fix i18n integration in qmake template" (LP:
#1489344, #1480771, #1481325, #1488085, #1443351, #1479581,
#1489567)
-- CI Train Bot <email address hidden> Wed, 02 Sep 2015 15:32:19 +0000