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 / Closed Bug report #452 menu_team.ufo breaks 'make update-po'
Go to the next issue (open or closed)
Go to the next open issue
This issue has been closed with status "Closed" and resolution "Not determined".
Issue basics
  • Type of issue
    Bug report
  • Category
    User interface
  • Targetted for
    Not determined
  • Status
    Closed
  • Priority
    3. Normal
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
  • Estimated time
    Not estimated
Issue details
  • Resolution
    Not determined
  • Reproducability
    Not determined
  • Severity
    Not determined
  • Complexity
    Not determined
  • Platform
    Not determined
  • Architecture
    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/bugs/452 Item 452] imported from sourceforge.net tracker on 2013-01-28 18:21:29

base/ufos/menu_team.ufo in lines 132 to 170 mess up regeneration of po files.
ufoai.ufo.po contain lines like:
#: ../base/ufos/menu_team.ufo:132
msgid "Soldier carries equipment" *bt_equip0 texl "48 16" *bt_equip0 texh "64 32"
msgstr ""
and gettext give up with parse error.
===== Comments Ported from Sourceforge =====

====== tritol (2006-11-22 21:29:01) ======

Logged In: YES
user_id=1020281
Originator: YES

path to fix this (simply split line to two), works for 'make update-po', but don't know if game parser take it :(.
====== cassiterite (2006-11-23 00:54:04) ======

Logged In: YES
user_id=1171370
Originator: NO

Thanks again for the patch.

The game parser is designed to handle line-breaks in sections, so it should be no problem.

I'm not sure what parser make update-po is using, I wouldn't have thought this should have broken it, but evidently it did!

I applied your patch in trunk revision 4872.
====== nobody (2006-11-23 10:06:51) ======

Logged In: NO

ufopo.pl uses simple regexp \"_(.*)\" to get the strings. I tried change it to \"_([^"]*)\" but strings can contain slashed " (\") and this need more complicated regexp :(.
Steps to reproduce this issue
Nothing entered.
Todos (0 / 0)
Issue created
footer_logo.png The Bug Genie 4.3.1 | Support | Feedback spinning_16.gif