[i18n] The .pot file generator should provide relative paths
Bug #1180325 reported by
David Planella
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
qtcreator-plugin-ubuntu |
Fix Released
|
Undecided
|
Juhapekka Piiroinen |
Bug Description
When I generate a .pot file through the Tools > Ubuntu Touch > Translations > Export ".pot" file menu entry, the file created has entries of this type:
#: /home/dpm/
msgid "To-do"
msgstr ""
We should not add absolute paths, but rather relative:
#: ./calendar.qml:29
msgid "To-do"
msgstr ""
Related branches
lp:~juhapekka-piiroinen/qtcreator-plugin-ubuntu/fix-bug-1232213
- Zoltan Balogh: Approve
- PS Jenkins bot: Approve (continuous-integration)
- Timo Jyrinki: Needs Fixing
-
Diff: 300 lines (+102/-49)9 files modifieddebian/changelog (+6/-0)
share/qtcreator/ubuntu/menu.json (+28/-29)
share/qtcreator/ubuntu/scripts/i18n_update_template (+42/-0)
share/qtcreator/ubuntu/scripts/qtc_project_click_create (+2/-2)
src/ubuntu/ubuntumenu.cpp (+3/-2)
src/ubuntu/ubuntupolicygroupinfo.cpp (+1/-1)
src/ubuntu/ubuntupolicygroupinfo.h (+2/-2)
src/ubuntu/ubuntusecuritypolicypickerdialog.cpp (+8/-3)
src/ubuntu/ubuntusecuritypolicypickerdialog.ui (+10/-10)
Changed in ubuntu-qtcreator-plugins: | |
status: | New → Confirmed |
affects: | ubuntu-qtcreator-plugins → qtcreator-plugin-ubuntu |
Changed in qtcreator-plugin-ubuntu: | |
assignee: | nobody → Juhapekka Piiroinen (juhapekka-piiroinen) |
status: | Confirmed → Fix Committed |
Changed in qtcreator-plugin-ubuntu: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
It should be as easy as invoking xgettext with the -D option, and passing it the list of files to inspect as relative paths.