← Back to team overview

ubuntu-sdk-bugs team mailing list archive

[Bug 1480771] Re: Wrong directory used for translation for new projects when app name was changed

 

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 <ci-train-bot@xxxxxxxxxxxxx>  Wed, 02 Sep 2015 15:32:19
+0000

** Changed in: qtcreator-plugin-ubuntu (Ubuntu)
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
SDK bug tracking, which is subscribed to qtcreator-plugin-ubuntu in
Ubuntu.
https://bugs.launchpad.net/bugs/1480771

Title:
  Wrong directory used for translation for new projects when app name
  was changed

Status in qtcreator-plugin-ubuntu package in Ubuntu:
  Fix Released

Bug description:
  I use our SDK "QtQuick app with QML UI" to generate a template
  application. However, when I build my app, it does not generate the
  "po" folder to produce the right files for localization.

  The sample code is at:

  bzr branch lp:~liu-xiao-guo/debiantrial/testquickqt

  # specify the source files that should be included into
  # the translation file, from those files a translation
  # template is created in po/template.pot, to create a
  # translation copy the template to e.g. de.po and edit the sources
  UBUNTU_TRANSLATION_SOURCES+= \
      $$files(app/*.qml,true) \
      $$files(app/*.js,true)

  The correct one should be:

  === modified file 'testquickqt.pro'
  --- testquickqt.pro	2015-08-03 06:51:39 +0000
  +++ testquickqt.pro	2015-08-03 06:55:32 +0000
  @@ -21,8 +21,8 @@
   # template is created in po/template.pot, to create a
   # translation copy the template to e.g. de.po and edit the sources
   UBUNTU_TRANSLATION_SOURCES+= \
  -    $$files(app/*.qml,true) \
  -    $$files(app/*.js,true)
  +    $$files(testquickqt/*.qml,true) \
  +    $$files(testquickqt/*.js,true)
   
   # specifies all translations files and makes sure they are
   # compiled and installed into the right place in the click package

  I tested it on vivid!

  Best regards,
  XiaoGuo

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtcreator-plugin-ubuntu/+bug/1480771/+subscriptions


References