Ubuntu>Translations>Make translations doesn't work
Bug #1257313 reported by
Cris Dywan
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
qtcreator-plugin-ubuntu (Ubuntu) |
Fix Released
|
High
|
Niklas Wenzel |
Bug Description
I don't know where the code for it is, but I only see msgfmt errors and it doesn't work:
msgfmt: Failed to open po/*.po: File not found
I wrote a little script that gets gets the app id and po files from the current folder and makes a folder "locale" in the way that will work when packaged/ run/ installed as .click package via QtCreator.
Note: I used music-app as an example. But it's vital to rename *.desktop and update applicationName to match the click package name that QtCreator uses.
Also: the dash won't localize the app name. That's bug 1237992.
Related branches
lp://staging/~nikwen/qtcreator-plugin-ubuntu/translation-build-fix
- Zoltan Balogh: Approve
-
Diff: 134 lines (+52/-7)4 files modifiedshare/qtcreator/ubuntu/menu.json (+5/-7)
share/qtcreator/ubuntu/scripts/i18n_build_translations (+33/-0)
src/ubuntu/ubuntuconstants.h (+1/-0)
src/ubuntu/ubuntumenu.cpp (+13/-0)
Changed in qtcreator-plugin-ubuntu: | |
importance: | Undecided → High |
status: | New → Confirmed |
Changed in qtcreator-plugin-ubuntu: | |
status: | Confirmed → Fix Committed |
status: | Fix Committed → Confirmed |
tags: | added: qa-daily-testing rtm14 |
Changed in qtcreator-plugin-ubuntu (Ubuntu): | |
importance: | Undecided → High |
status: | New → Confirmed |
no longer affects: | qtcreator-plugin-ubuntu |
Changed in qtcreator-plugin-ubuntu (Ubuntu): | |
assignee: | nobody → Niklas Wenzel (nikwen) |
Changed in qtcreator-plugin-ubuntu (Ubuntu): | |
status: | Confirmed → In Progress |
To post a comment you must log in.
This bug was fixed in the package qtcreator- plugin- ubuntu - 3.1.1+15. 10.20150616- 0ubuntu1
--------------- plugin- ubuntu (3.1.1+ 15.10.20150616- 0ubuntu1) wily; urgency=medium
qtcreator-
[ Benjamin Zeller ]
* Fix Bug lp:1362028 "SDK not able to provide further hint about
missing apparmor policy" (LP: #1362028)
* Fix Bug lp:1455566 "ubuntu sdk references obsolete system-image
channel names" (LP: #1455566)
* Fix bug lp:1456627 "Almost unusuable while non-Ubuntu device
connected through adb" (LP: #1456627)
[ Marcus Tomlinson ]
* Split scope template into "14.10" and "Current" variations (LP:
#1464108)
[ Nicholas Skaggs ]
* Update qml based templates to best practicies
[ Niklas Wenzel ]
* Allow parallel builds using "dpkg-buildpackage -jN", reducing build
time on multi-core CPUs (LP: #1465018)
* Fix building translations (LP: #1257313)
[ nskaggs ]
* Update qml based templates to best practicies
-- CI Train Bot <email address hidden> Tue, 16 Jun 2015 14:48:19 +0000