Page 1 of 1

keyboard shortcuts for Caravan and Spy action are disabled in 2.6.0 beta0

Posted: Thu Sep 22, 2016 3:54 pm
by fomalhaut
I can't use keyboard shortcuts like "alt+e" on Caravan and Spy action window in ver 2.6.0 beta0 (japanese).
shortcut.png
game.ruleset:
line 194 ; The first %s should be before the mnemonic of the action.

It seems not to be suitable for CJK translations.

Re: keyboard shortcuts for Caravan and Spy action are disabled in 2.6.0 beta0

Posted: Thu Sep 22, 2016 11:23 pm
by sveinung
I'm not familiar with CJK text input. Based on your picture I assume that the Japanese translation uses English letters as mnemonics. Is my interpretation correct? If yes: is this the proper way of doing mnemonics in Japanese or a work around?

If the only problem is that "大使館を設置する (%sE) %s" (I don't know Japanese) will look ugly the solution is relatively simple. If the old solution was a work around I'm interested in learning what the proper way of doing mnemonics is Japanese is.

Re: keyboard shortcuts for Caravan and Spy action are disabled in 2.6.0 beta0

Posted: Sat Sep 24, 2016 6:30 am
by fomalhaut
sveinung wrote:If the only problem is that "大使館を設置する (%sE) %s"
The people are stunned by your technological insight!
Very nice. I have not come up with this idea at all.
Thanks!!

Re: keyboard shortcuts for Caravan and Spy action are disabled in 2.6.0 beta0

Posted: Sun Sep 25, 2016 12:00 am
by sveinung
Glad I could help.
fomalhaut wrote:I have not come up with this idea at all.
In that case I'll improve the documentation. Would patch #7724 (for translators) and patch #7725 (for ruleset authors and translators that checks the ruleset documentation) have helped?