Plugin source location: <serge_root>/lib/Serge/Engine/Plugin/parse_rc.pm
This plugin is used to parse Windows .RC files (resource definition scripts).
Supported structures are:
CAPTION
records in dialog headers;BEGIN
...END
blocks inside MENU
, DIALOG
, DIALOGEX
, and STRINGTABLE
records.Both record type preceding the translatable string, and string ID that goes after it, are combined into a hint and provided with the string.
IDD_MSG_DLG DIALOGEX ...
STYLE ...
CAPTION "string"
BEGIN
LTEXT "string",IDC_MSGBOX_HEADER,...
LTEXT "string",IDC_MSGBOX_HEADER_TEXT,...
PUSHBUTTON "string",IDC_MSGBOX_BUTTON,...
END
IDM_MAIN_MENU MENU
BEGIN
POPUP "string"
BEGIN
MENUITEM "string", APPCMD_1
MENUITEM SEPARATOR
MENUITEM "string", APPCMD_2
POPUP "string"
BEGIN
MENUITEM "string", APPCMD_3
MENUITEM "string", APPCMD_4
END
END
END
STRINGTABLE
BEGIN
IDS_1 "string"
IDS_2 "string"
...
END