← Back to team overview

ubuntu-sdk-bugs team mailing list archive

[Bug 1494534] [NEW] default template generates broken translations

 

Public bug reported:

Testing ubuntu-sdk-ide version 3.5.0+15.10.20150829-0ubuntu1~0vivid4
from ppa:ubuntu-sdk-team/tools-development creates broken translations
templates. This is because the default app name has changed to be the
same as the project name instead of "app".

Steps to reproduce:
* Create a new "QtQuick App with QML UI (qmake)"
* enter some name (the default "untitledX" is ok)
* click next
* Do not touch the App name field, click next and finish the wizard
* build

expected:
translations are generated

actual:
no translatable files found

Reason is:

UBUNTU_TRANSLATION_SOURCES+= \
    $$files(app/*.qml,true) \
    $$files(app/*.js,true)

The "app" in here should be "untitledX" or whatever the project name is.

** Affects: qtcreator-plugin-ubuntu (Ubuntu)
     Importance: Undecided
         Status: New

-- 
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/1494534

Title:
  default template generates broken translations

Status in qtcreator-plugin-ubuntu package in Ubuntu:
  New

Bug description:
  Testing ubuntu-sdk-ide version 3.5.0+15.10.20150829-0ubuntu1~0vivid4
  from ppa:ubuntu-sdk-team/tools-development creates broken translations
  templates. This is because the default app name has changed to be the
  same as the project name instead of "app".

  Steps to reproduce:
  * Create a new "QtQuick App with QML UI (qmake)"
  * enter some name (the default "untitledX" is ok)
  * click next
  * Do not touch the App name field, click next and finish the wizard
  * build

  expected:
  translations are generated

  actual:
  no translatable files found

  Reason is:

  UBUNTU_TRANSLATION_SOURCES+= \
      $$files(app/*.qml,true) \
      $$files(app/*.js,true)

  The "app" in here should be "untitledX" or whatever the project name
  is.

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


Follow ups