Hotkey editor: Dynamically remove the underscore from the menu entry name
@egmontkob
Submitted by Egmont Koblinger Link to original bug (#757546)
Description
terminal-window.c defines the actual menu entries with mnemonic underscores, e.g. N_("C_lose Terminal").
terminal-accels.c defines (almost) the same ones for the shortcut key editor window, but without the underscores: N_("Close Terminal").
This means translators have to work twice, and is prone to not being consistent (e.g. a synonym word is chosen).
We should send only the mnemonic-aware strings to gettext, and dynamically strip the underscore from the translations (if the Gtk+ widget that we use for editing the shortcuts cannot do it automatically).
Version: git master