Resource accelerators discrepancies

Frédéric Delanoy frederic.delanoy at gmail.com
Wed Jan 25 03:23:13 CST 2012


Hi Alexandre,

After your addition of accelerators to po file for winefile (among
others) [fe021a44 winefile: Add message contexts for accelerators that
can be translated], there seems to be some discrepancies:

#: winefile.rc:202
msgctxt "accelerator Fullscreen"
msgid "^S"

vs

#: winefile.rc:70
msgid "F&ull Screen\tCtrl+Shift+S"

and

#: winefile.rc:201 winemine.rc:99
msgctxt "accelerator Exit"
msgid "X"

vs

#: winefile.rc:38 winemine.rc:46
msgid "E&xit\tAlt+X"

winefile.rc contains:
-	"X", ID_FILE_EXIT, VIRTKEY, ALT
-	"S", ID_VIEW_FULLSCREEN, VIRTKEY, SHIFT, CONTROL
+	"#msgctxt#accelerator Exit#X", ID_FILE_EXIT, ALT
+	"#msgctxt#accelerator Fullscreen#^S", ID_VIEW_FULLSCREEN, SHIFT

So,
- is there a way/shouldn't the "label\tshortcut" menu entries be
automated somehow? E.g. so the accelerator is automatically extracted
- is only the Control modifier shown in msgids? E.g. "X" while the
shortcut is Alt-X. That's a bit inconsistent IMHO

Frédéric



More information about the wine-devel mailing list