Currently Online

Latest Posts

Topic: Untranslatable strings

SirVer
Joined: 2009-02-19, 15:18
Posts: 1438
Ranking
One Elder of Players
Location: Germany - Munich
Posted at: 2013-10-23, 07:52

yes, you are right. the set_textdomain call is cheap though, so I see no problem pushing it closer to the callsite. Whenever a coroutine sleeps, another one can grab another textdomain. When sleep() is not called, a coroutine cannot be interrupted and therefore not loose focus.

I just pushed a new lua_xgettext.py extractor into our branch that can deal with ngettext. Unless you run into problems or I forgot something I think you are all set to fix the translation issues in this branch now, right? If so, I will focus my attention on other things now - there are some unfinished branches that need attention.


Top Quote
GunChleoc
Avatar
Joined: 2013-10-07, 15:56
Posts: 2811
Ranking
One Elder of Players
Location: RenderedRect
Posted at: 2013-10-23, 10:09

Yes, I think that's it face-smile.png


Busy indexing nil values

Top Quote
GunChleoc
Avatar
Joined: 2013-10-07, 15:56
Posts: 2811
Ranking
One Elder of Players
Location: RenderedRect
Posted at: 2014-02-09, 12:59

I gave the smugglers map the usual treatment, but I have put it into a separate branch, because I don't know how to test this (can't play a scenario against AIs)

https://code.launchpad.net/~gunchleoc/widelands/smugglers-i18n/

I have commented in the commit message accordingly.

Edited: 2014-02-09, 13:00

Busy indexing nil values

Top Quote