From kde-i18n-doc Sat Jan 09 19:26:19 2016 From: "Yuri Chornoivan" Date: Sat, 09 Jan 2016 19:26:19 +0000 To: kde-i18n-doc Subject: Re: =?utf-8?B?VHJhbnNsYXRpbmcga2V5Ym9hcmQgc2hvcnRjdXQgZm9yIOKAmFNwYWNl?= Message-Id: X-MARC-Message: https://marc.info/?l=kde-i18n-doc&m=145236759604131 =D0=BD=D0=B0=D0=BF=D0=B8=D1=81=D0=B0=D0=BD=D0=B5 Sat, 09 Jan 2016 20:24:= 02 +0200, Karl Ove Hufthammer = : > Albert Astals Cid skreiv 08. jan. 2016 23:40: >> 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=3Dkillbots.git&a=3Dblob&f=3DREADME.trans= lators&o=3Dplain >>> >>> However, I can=E2=80=99t manage to get the translation to use the ke= yboard >>> shortcut =E2=80=98Space=E2=80=99. This is used for the =E2=80=98tele= port safely=E2=80=99 action. It=E2=80=99s >>> possible to translate the string, but the translation doesn=E2=80=99= t work. I >>> have tried the following: >>> >>> =E2=80=93 Using the English name =E2=80=98Space=E2=80=99, like in th= e original string. =E2=80=93 Using >>> the translated name (=E2=80=98Mellomrom=E2=80=99 in the =E2=80=98nn=E2= =80=99 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->config= ure >> shortcuts and try to set the space key for any shortcut? > > The string is displayed in English, i.e. as =E2=80=98Space=E2=80=99. W= hich is strange, = > since I remember this being displayed as =E2=80=98Mellomrom=E2=80=99 i= n earlier versions = > of KDE (KDE 4). =E2=80=98Space=E2=80=99 *is* translated as =E2=80=98Me= llomrom=E2=80=99 in the following = > three files (and also in a few other files, which didn=E2=80=99t seem = as = > relevant): > > frameworks/ki18n5.po > frameworks/kio5.po > qt/kdeqt.po > > Which file(s) do we need to translate to get the names of keys to show= = > up translated? Hi, Just a wild guess: it's from Qt. http://l10n-files.qt.io/l10n-files/ KF 5 does not use kdeqt.po translations. Hope this helps. Best regards, Yuri