Correct comments in translations

Bug #523794 reported by Adi Roiban
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ground Control
Confirmed
Low
Unassigned

Bug Description

While translating Ground Control I have discovered a couple or unrelated comments appering in the PO template, while for some messages the comments were missing:

Missleading comments:
https://translations.edge.launchpad.net/groundcontrol/trunk/+pots/groundcontrol/ro/4/+translate
https://translations.edge.launchpad.net/groundcontrol/trunk/+pots/groundcontrol/ro/30/+translate

When the translation includes a couple of %s, it would be nice to hint translators about their usage and how the final translation will look like.
Missing comments:
https://translations.edge.launchpad.net/groundcontrol/trunk/+pots/groundcontrol/ro/129/+translate
https://translations.edge.launchpad.net/groundcontrol/trunk/+pots/groundcontrol/ro/130/+translate
https://translations.edge.launchpad.net/groundcontrol/trunk/+pots/groundcontrol/ro/137/+translate
https://translations.edge.launchpad.net/groundcontrol/trunk/+pots/groundcontrol/ro/72/+translate

Also, in many langauges the translation of None depends on the context, and it would be nice to see a hint regarding the context where this message is used:
https://translations.edge.launchpad.net/groundcontrol/trunk/+pots/groundcontrol/ro/60/+translate

Adi Roiban (adiroiban)
description: updated
Revision history for this message
Martin Owens (doctormo) wrote :

I had no idea the comments in the code actually went into the translation files. Huh.

Changed in groundcontrol:
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
Adi Roiban (adiroiban) wrote :

Yep... the comment block just before a gettext call will be interpreted by xgettext as a „translation” comment...

It is a nice feature if you want to help translators... but sometimes it can be a real pain :)

You should try to move the comment one line above .. as xgettext will concatenate all previous comments blocks

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.