UFO: Alien Invasion Issue Tracker
UFO: Alien Invasion
Go to the previous open issue
Go to the previous issue (open or closed)
star_faded.png
Please log in to bookmark issues
icon_project.png UFO: Alien Invasion / Open Feature request #4123 Sync msgid to msgstr automatically for English translation
action_vote_minus_faded.png
0
Votes
action_vote_plus_faded.png
Go to the next issue (open or closed)
Go to the next open issue
You have been working on this issue since January 28, 2013 (20:49)
Issue basics
  • Type of issue
    Feature request
  • Category
    User interface
  • Targetted for
    Not determined
  • Status
    Accepted
  • Priority
    1. Very low
User pain
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
Affected by this issue (0)
There are no items
People involved
Times and dates
  • Posted at
  • Last updated
Issue details
  • Complexity
    Not determined
Attachments (0)
There is nothing attached to this issue
Duplicate issues (0)
This issue does not have any duplicates
Description
[http://sourceforge.net/p/ufoai/feature-requests/639 Item 639] imported from sourceforge.net tracker on 2013-01-28 20:23:02

In ufoai-en.po there seems to be a few conflict between some msgid's and msgstr's.
Two examples:

==
msgid "Dropship Hangar"
msgstr "Destroy Hangar"
==
If it really means destroying a hangar, the msgid should say so.

==
msgid "Memo: Sam Sites"
msgstr "Memo: Live Aliens"
==
Is it a Sam site or a live Alien?

Tee msgid should not conflict with the msgstr, as it will create errors in translations.
===== Comments Ported from Sourceforge =====

====== geever (2013-01-19 20:29:02.314000) ======

"Tee msgid should not conflict with the msgstr, as it will create errors in translations."

It is not a conflict. It is a translation. Same way as you translate source to Estonian, it is source to English, of course it is incorrect, but:

As I said on IRC already the "conflict" is a natural sideeffect of the translation system that tries to match an existing translation to a newly added string, because is is useful if there was only a little change to the source text, like fixing a typo. Nothing wrong with it, a translator needs checking these translations (which are flagged as fuzzy automagically) and fixing them.

The reason I asked to open a ticket (a Feature Request would have been better) is that English is a special language - as it is the source language. Since we dropped the long_message_id tokens and include the full English text in the msgid the English translation (msgstr) should be the same as the msgid which could be achieved automatically.

There is two ways to do it: the easy way and nice one.

* easy way: Remove translations from English, make msgstr an empty string: "". In case of empty translations, the source text is used by the program.

Pro: Easy, won't break on new strings
Contra: Not nice, stats will show 0% translated strings for English

* hard way: Automatically copy msgid to msgstr in case of English language in update-po run.

Pro: This is the correct solution
Contra: Needs scripting.
====== geever (2013-01-19 20:30:03.583000) ======

- **summary**: Possible translation bugs in the English language file --> FR: Sync msgid to msgstr automatically for English translation

====== solbu (2013-01-19 20:43:15.800000) ======

I know it's also a translation, but it's the translation file we're refered to if there is doubth as to what it says. For instance when translating the "orbital_ufo_activity_txt", we were often told to look in the english language file.

That's why the english language file should be correct, as that's often seen as authorative as to what the various text should mean.
====== geever (2013-01-19 21:06:47.564000) ======

- **labels**: --> feature_request

====== geever (2013-01-26 15:41:45.409000) ======

Ticket moved from /p/ufoai/bugs/3472/
====== geever (2013-01-26 15:43:06.314000) ======

- **summary**: FR: Sync msgid to msgstr automatically for English translation --> Sync msgid to msgstr automatically for English translation
- **milestone**: 2.5 --> UI
Todos (0 / 0)
Issue created
footer_logo.png The Bug Genie 4.3.1 | Support | Feedback spinning_16.gif