[Github-comments] [geany/geany] keybindings: inconsistent and not translated (#1630)

elextr notifications at xxxxx
Sat Oct 7 13:24:47 UTC 2017


> the key names are not translated (also the dialogs text is translated)

Being an ASCII only person I can't test it, but I checked and the key name strings seem to be marked for translation and they are translated in the random po file I checked (fr.po).  Maybe its just that nobody has translated them for your language.  Which one did you use?

> Ctrl seems to be displayed as Primary. The menu items always use Ctrl.

This is a GTK issue.  Geany gets the key names from GTK and it returns `primary` instead of `ctrl`.  

I think its because which is the primary key depends on the keyboard, and system and keymapping.  For example Macs have all sorts of funny modifier keys.  The use of `primary` is a portable name that works on all systems and so can be portably saved in files, but of course when showing it on the menus GTK knows the particular system its running on and what the real `primary` key is and uses that name, `ctrl` on your system.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/1630#issuecomment-334934898
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20171007/4f1053c5/attachment.html>


More information about the Github-comments mailing list