On Thu, Mar 05, 2015 at 02:26:26PM -0000, WPB wrote: > Couldn't the messages in the UI messages file contain a special > character to denote the start of a keyboard shortcut? Something that > wouldn't make sense for a menu item, like a CR? I suppose that's not > very friendly in terms of the messages file itself, so maybe > something else, like a forward slash. > > The ro_gui_translate() (if that is the right function - I haven't > looked) could be passed an extra parameter to either truncate the > string at that point, or remove the special character from the > string.
I think the strings are handed around as const char *; processing them would involve making copies in memory. B.