fix i18n integration in qmake template

Bug #1481325 reported by Didier Roche-Tolomelli
12
This bug affects 1 person
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(app/*.qml,true) \
    $$files(app/*.js,true)
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?

Tags: devexp

Related branches

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
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package qtcreator-plugin-ubuntu - 3.5.0+15.10.20150902-0ubuntu1

---------------
qtcreator-plugin-ubuntu (3.5.0+15.10.20150902-0ubuntu1) wily; urgency=medium

  [ 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

Changed in qtcreator-plugin-ubuntu (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.