[i18n] The .pot file generator should provide relative paths

Bug #1180325 reported by David Planella
10
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/dev/coreapps/ubuntu-calendar-app/calendar.qml:29
msgid "To-do"
msgstr ""

We should not add absolute paths, but rather relative:

#: ./calendar.qml:29
msgid "To-do"
msgstr ""

Tags: i18n

Related branches

Olivier Tilloy (osomon)
Changed in ubuntu-qtcreator-plugins:
status: New → Confirmed
Revision history for this message
Olivier Tilloy (osomon) wrote :

It should be as easy as invoking xgettext with the -D option, and passing it the list of files to inspect as relative paths.

Zoltan Balogh (bzoltan)
affects: ubuntu-qtcreator-plugins → qtcreator-plugin-ubuntu
Changed in qtcreator-plugin-ubuntu:
assignee: nobody → Juhapekka Piiroinen (juhapekka-piiroinen)
status: Confirmed → Fix Committed
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

Fix committed into lp:qtcreator-plugin-ubuntu at revision 47, scheduled for release in qtcreator-plugin-ubuntu, milestone Unknown

Zoltan Balogh (bzoltan)
Changed in qtcreator-plugin-ubuntu:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.