chromium/tools/grit/grit/testdata/source.rc

IDC_KLONKMENU MENU
BEGIN
    POPUP "&File"
    BEGIN
        MENUITEM "E&xit",                       IDM_EXIT
        MENUITEM "This be ""Klonk"" me like",   ID_FILE_THISBE
        POPUP "gonk"
        BEGIN
            MENUITEM "Klonk && is [good]",           ID_GONK_KLONKIS
        END
    END
    POPUP "&Help"
    BEGIN
        MENUITEM "&About ...",                  IDM_ABOUT
    END
END

IDD_ABOUTBOX DIALOGEX 22, 17, 230, 75
STYLE DS_SETFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
CAPTION "About"
FONT 8, "System", 0, 0, 0x0
BEGIN
    ICON            IDI_KLONK,IDC_MYICON,14,9,20,20
    LTEXT           "klonk Version ""yibbee"" 1.0",IDC_STATIC,49,10,119,8,
                    SS_NOPREFIX
    LTEXT           "Copyright (C) 2005",IDC_STATIC,49,20,119,8
    DEFPUSHBUTTON   "OK",IDOK,195,6,30,11,WS_GROUP
    CONTROL         "Jack ""Black"" Daniels",IDC_RADIO1,"Button",
                    BS_AUTORADIOBUTTON,46,51,84,10
END

IDD_DIFFERENT_LENGTH_IN_TRANSL DIALOGEX 22, 17, 230, 75
STYLE DS_SETFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
CAPTION "Bingobobbi"
FONT 8, "System", 0, 0, 0x0
BEGIN
    LTEXT           "Howdie dodie!",IDC_STATIC,49,10,119,8,SS_NOPREFIX
    LTEXT           "Yo froodie!",IDC_STATIC,49,20,119,8
END

STRINGTABLE
BEGIN
  IDS_SIMPLE "One"
  IDS_PLACEHOLDER "%s birds"
  IDS_PLACEHOLDERS "%d of %d"
  IDS_REORDERED_PLACEHOLDERS "$1 of $2"
  // Won't be in translations list because it has changed
  IDS_CHANGED "This was the old version"
  IDS_TWIN_1 "Hello"
  IDS_TWIN_2 "Hello"
  IDS_NOT_TRANSLATEABLE ":"
  IDS_LONGER_TRANSLATED "Removed document $1"
  // Won't appear in the list of translations because it's not in the .grd file
  IDS_NO_LONGER_USED "Not used"
  IDS_DIFFERENT_TWIN_1 "Howdie"
  IDS_DIFFERENT_TWIN_2 "Howdie"
END