From kde-i18n-doc Fri Jan 08 20:29:28 2016 From: Karl Ove Hufthammer Date: Fri, 08 Jan 2016 20:29:28 +0000 To: kde-i18n-doc Subject: =?UTF-8?Q?Translating_keyboard_shortcut_for_=e2=80=98Space=e2=80=99?= Message-Id: <56901C28.60509 () huftis ! org> X-MARC-Message: https://marc.info/?l=kde-i18n-doc&m=145228499221505 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--------------030304090103030506050900" This is a multi-part message in MIME format. --------------030304090103030506050900 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: quoted-printable In the KDE game Killbots it is possible to translate the various default=20 keyboard shortcuts: https://quickgit.kde.org/?p=3Dkillbots.git&a=3Dblob&f=3DREADME.translator= s&o=3Dplain However, I can=92t manage to get the translation to use the keyboard=20 shortcut =91Space=92. This is used for the =91teleport safely=92 action. = It=92s=20 possible to translate the string, but the translation doesn=92t work. I=20 have tried the following: =96 Using the English name =91Space=92, like in the original string. =96 = Using=20 the translated name (=91Mellomrom=92 in the =91nn=92 translation). Both cases result in the keyboard shortcut being listed as empty. So=20 which string should I use to make the shortcut key be the space key? Using single-letters keys (e.g. M) in the translations works fine, so=20 the translatable string seems to correctly associated with the teleport=20 safely=92 action. It=92s just using the =91Space=92 string that doesn=92t= work. Note that the keyboard shortcuts are listed in the file=20 ~/.local/share/kxmlgui5/killbots/killbotsui.rc When testing, I updated=20 the translation (place the .mo file where it belongs), deleted the=20 killbotsui.rc file and then started the game. -- Karl Ove Hufthammer --------------030304090103030506050900 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable In the KDE game Killbots it is possible to translate the various default keyboard shortcuts:

https= ://quickgit.kde.org/?p=3Dkillbots.git&a=3Dblob&f=3DREADME.transla= tors&o=3Dplain

However, I can=92t manage to get the translation to use the keyboard shortcut =91Space=92. This is used for the =91teleport safely=92 acti= on. It=92s possible to translate the string, but the translation doesn=92= t work. I have tried the following:

=96 Using the English name =91Space=92, like in the original string. =96 Using the translated name (=91Mellomrom=92 in the =91nn=92 translat= ion).

Both cases result in the keyboard shortcut being listed as empty. So whic= h string should I use to make the shortcut key be the space key?

Using single-letters keys (e.g. M) in the translations works fine, so the= translatable string seems to correctly associated with the teleport safe= ly=92 action. It=92s just using the =91Space=92 string that doesn=92t wor= k.

Note that the keyboard shortcuts are listed in the file ~/.local/share/kx= mlgui5/killbots/killbotsui.rc When testing, I updated the translation (place the .mo file where it belo= ngs), deleted the killbotsui.rc file and then started the game.

--=20 Karl Ove Hufthammer

--------------030304090103030506050900--