← Back to team overview

ubuntu-sdk-bugs team mailing list archive

[Bug 1444911] [NEW] Template name when building translations is too generic

 

Public bug reported:

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

po/template.pot: $(QMLJS_FILES)
	mkdir -p $(CURDIR)/po && xgettext -o po/template.pot --qt --c++ --add-comments=TRANSLATORS --keyword=tr --keyword=tr:1,2 $(QMLJS_FILES) --from-code=UTF-8

template.pot is too generic. By convention, it's the project name, so
I'd suggest to follow this naming scheme

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


** 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/1444911

Title:
  Template name when building translations is too generic

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

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

  po/template.pot: $(QMLJS_FILES)
  	mkdir -p $(CURDIR)/po && xgettext -o po/template.pot --qt --c++ --add-comments=TRANSLATORS --keyword=tr --keyword=tr:1,2 $(QMLJS_FILES) --from-code=UTF-8

  template.pot is too generic. By convention, it's the project name, so
  I'd suggest to follow this naming scheme

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


Follow ups

References