← Back to team overview

ubuntu-sdk-bugs team mailing list archive

[Bug 1444908] [NEW] "Build and validate click package" button does not build translations

 

Public bug reported:

I'm using the standard QML app template, which by default has got a
Makefile with a build-translations rule.

$(TRANSLATION_ROOT)/share/locale/%/LC_MESSAGES/$(APP_ID).mo: po/%.po
	mkdir -p $(TRANSLATION_ROOT)/share/locale/$*/LC_MESSAGES && msgfmt -o $(@) $(<)

Expected:
- "Build and validate click package" button runs the build-translations target and translations are built and included in the click package

Actual:
- "Build and validate click package" button does not run the build-translations target. Translations are neither built nor included in the click package

** Affects: qtcreator-plugin-ubuntu (Ubuntu)
     Importance: Undecided
     Assignee: Benjamin Zeller (zeller-benjamin)
         Status: In Progress


** Tags: i18n-qml-tutorial

** Tags added: i18n-qml-tutorial

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

Title:
  "Build and validate click package" button does not build translations

Status in qtcreator-plugin-ubuntu package in Ubuntu:
  In Progress

Bug description:
  I'm using the standard QML app template, which by default has got a
  Makefile with a build-translations rule.

  $(TRANSLATION_ROOT)/share/locale/%/LC_MESSAGES/$(APP_ID).mo: po/%.po
  	mkdir -p $(TRANSLATION_ROOT)/share/locale/$*/LC_MESSAGES && msgfmt -o $(@) $(<)

  Expected:
  - "Build and validate click package" button runs the build-translations target and translations are built and included in the click package

  Actual:
  - "Build and validate click package" button does not run the build-translations target. Translations are neither built nor included in the click package

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


Follow ups

References