Topic: Untranslatable strings
SirVer |
Posted at: 2013-10-23, 06: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. ![]() ![]() |
GunChleoc![]() Topic Opener |
Posted at: 2013-10-23, 09:09
Yes, I think that's it Busy indexing nil values ![]() ![]() |
GunChleoc![]() Topic Opener |
Posted at: 2014-02-09, 11: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, 12:00
Busy indexing nil values ![]() ![]() |