Correct comments in translations

Bug #523794 reported by Adi Roiban on 2010-02-18
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ground Control
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) on 2010-02-18
description: updated
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
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  Edit
Everyone can see this information.

Other bug subscribers