GTG

unnecessary use of formatting tags in translation strings

Bug #492713 reported by Lucian Adrian Grijincu
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
GTG
Fix Released
Low
Paul Natsuo Kishimoto

Bug Description

In some strings you use formatting tags even though the formatting can be done in another way.
An example: https://translations.edge.launchpad.net/gtg/trunk/+pots/gtg/ro/9/+translate

See https://bugzilla.gnome.org/show_bug.cgi?id=97061.
The last comments say that you can use an <attributes> tag to set formatting to let translations as simple as possible.

Related branches

Revision history for this message
Luca Invernizzi (invernizzi) wrote :

Thanks for the information and the bug report!

Changed in gtg:
importance: Undecided → Medium
importance: Medium → Low
status: New → Confirmed
milestone: none → 0.3
Revision history for this message
Lionel Dricot (ploum-deactivatedaccount) wrote :

what are the affected translations ? Provided link is not really helpful.

Revision history for this message
Lucian Adrian Grijincu (lucian.grijincu) wrote :

Sorry, strings got reordered. The link used to be good.

 #: GTG/taskbrowser/taskbrowser.glade.h:3
msgid ""
"<span weight=\"bold\" size=\"large\">Are you sure you want delete this "
"task?</span>\n"
"\n"
"Deleting a task cannot be undone, and will delete the following tasks: "
msgstr ""

Split this into two strings and use the <attributes> glade tag to set bold+large

----

#: GTG/plugins/rtm_sync/rtm_sync.py:193
msgid "<b>Authentication failed</b>.Please retry."
msgstr ""

There's no space between "." and "Please".
Split this into two strings and make one bold with <attributes>

----

#: GTG/plugins/geolocalized_tasks/geolocalized.glade.h:1
msgid "<b>Location Determination Method</b>"

#: GTG/plugins/geolocalized_tasks/geolocalized.glade.h:2
msgid "<b>Proximity Factor</b>"

#: GTG/plugins/geolocalized_tasks/geolocalized.glade.h:3
msgid ""
"<small>Distance in kilometers from \n"
"the current location.</small>"

#: GTG/core/plugins/pluginmanager.glade.h:1
msgid "<b>No Plugin Selected</b>"

#: GTG/taskeditor/taskeditor.glade.h:1
msgid "<span weight=\"bold\">Due for</span>"

#: GTG/taskeditor/taskeditor.glade.h:2
msgid "<span weight=\"bold\">Starting on</span>"

Get the tags out of all of these, use <attributes> to set small or
bold property.

Revision history for this message
Lucian Adrian Grijincu (lucian.grijincu) wrote :

Just search for "<" in the .pot file to find such strings.

Changed in gtg:
assignee: nobody → Paul Kishimoto (khaeru)
status: Confirmed → In Progress
Changed in gtg:
status: In Progress → Fix Committed
Changed in gtg:
milestone: 0.3 → 0.2.2
Changed in gtg:
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.