[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-i18n-doc
Subject:    Re: Translating keyboard shortcut for =?UTF-8?B?4oCYU3BhY2XigJk=?=
From:       Albert Astals Cid <aacid () kde ! org>
Date:       2016-01-08 22:40:53
Message-ID: 2613060.XaJ4z59LC7 () xps
[Download RAW message or body]

El Friday 08 January 2016, a les 21:29:28, Karl Ove Hufthammer va escriure:
> In the KDE game Killbots it is possible to translate the various default
> keyboard shortcuts:
> 
> https://quickgit.kde.org/?p=killbots.git&a=blob&f=README.translators&o=plain
> 
> However, I can't manage to get the translation to use the keyboard
> shortcut ‘Space'. This is used for the ‘teleport safely' action. It's
> possible to translate the string, but the translation doesn't work. I
> have tried the following:
> 
> – Using the English name ‘Space', like in the original string. – Using
> the translated name (‘Mellomrom' in the ‘nn' translation).
> 
> Both cases result in the keyboard shortcut being listed as empty. So
> which string should I use to make the shortcut key be the space key?

Works fine here, it's translated to "Espai" in Catalan and works fine.

What is the text that appears if you go to killbots->settings->configure 
shortcuts and try to set the space key for any shortcut?

Cheers,
  Albert

> 
> Using single-letters keys (e.g. M) in the translations works fine, so
> the translatable string seems to correctly associated with the teleport
> safely' action. It's just using the ‘Space' string that doesn't work.
> 
> Note that the keyboard shortcuts are listed in the file
> ~/.local/share/kxmlgui5/killbots/killbotsui.rc When testing, I updated
> the translation (place the .mo file where it belongs), deleted the
> killbotsui.rc file and then started the game.
> 
> -- Karl Ove Hufthammer

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic