LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL

/////////////////////////////////////////////////////////////////////////////
//
// Menu
//

IDC_DICTPAD MENU DISCARDABLE 
BEGIN
    POPUP "&File"
    BEGIN
        MENUITEM "&New\tCtrl+N",                ID_FILE_NEW
        MENUITEM SEPARATOR
        MENUITEM "&Open...\tCtrl+O",            ID_FILE_OPEN
        MENUITEM "&Save\tCtrl+S",               ID_FILE_SAVE
        MENUITEM "Save &As...",                 ID_FILE_SAVEAS
        MENUITEM SEPARATOR
        MENUITEM "E&xit\tCtrl+X",               IDM_EXIT
    END
    POPUP "&Edit"
    BEGIN
        MENUITEM "Cu&t\tCtrl+X",                ID_EDIT_CUT
        MENUITEM "&Copy\tCtrl+C",               ID_EDIT_COPY
        MENUITEM "&Paste\tCtrl+V",              ID_EDIT_PASTE
    END
    POPUP "&Voice"
    BEGIN
        MENUITEM "Listen for &Dictation",       IDM_DICTATION_MODE, CHECKED
        MENUITEM "Listen for &Commands",        IDM_COMMAND_MODE
        MENUITEM "&Grammars active\tCtrl+M",    IDM_MIC_TOGGLE
        MENUITEM "Play&back\tCtrl+P",           IDM_PLAY
        MENUITEM SEPARATOR
        MENUITEM "&Add/Delete Word(s)...",      IDM_ADDREMOVEWORDS
        MENUITEM SEPARATOR
        MENUITEM "Select &Whole Words",         IDM_WHOLE_WORDS, CHECKED
        MENUITEM "S&hared recognition engine",  IDM_SHAREDENGINE
        MENUITEM SEPARATOR
        MENUITEM "&Voice Training...",          IDM_VOICE_TRAINING
        MENUITEM "Micro&phone Setup...",        IDM_MICROPHONE_SETUP
    END
    POPUP "&Help"
    BEGIN
        MENUITEM "&About ...",                  IDM_ABOUT
    END
END


/////////////////////////////////////////////////////////////////////////////
//
// Accelerator
//

IDC_DICTPAD ACCELERATORS MOVEABLE PURE 
BEGIN
    "/",            IDM_ABOUT,              ASCII,  ALT, NOINVERT
    "?",            IDM_ABOUT,              ASCII,  ALT, NOINVERT
    "C",            ID_EDIT_COPY,           VIRTKEY, CONTROL, NOINVERT
    "C",            IDM_COMMAND_MODE,       VIRTKEY, ALT, NOINVERT
    "D",            IDM_DICTATION_MODE,     VIRTKEY, ALT, NOINVERT
    "M",            IDM_MIC_TOGGLE,         VIRTKEY, CONTROL, NOINVERT
    "N",            ID_FILE_NEW,            VIRTKEY, CONTROL, NOINVERT
    "O",            ID_FILE_OPEN,           VIRTKEY, CONTROL, NOINVERT
    "P",            IDM_PLAY,               VIRTKEY, CONTROL, NOINVERT
    "S",            ID_FILE_SAVE,           VIRTKEY, CONTROL, NOINVERT
    "V",            ID_EDIT_PASTE,          VIRTKEY, CONTROL, NOINVERT
    "X",            ID_EDIT_CUT,            VIRTKEY, CONTROL, NOINVERT
END


/////////////////////////////////////////////////////////////////////////////
//
// Dialog
//

IDD_ABOUTBOX DIALOG DISCARDABLE  22, 17, 230, 113
STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
CAPTION "About"
FONT 8, "System"
BEGIN
    ICON            IDI_DICTPAD,IDC_MYICON,14,9,20,20
    LTEXT           "DictationPad Version",IDC_STATIC,49,10,58,8,SS_NOPREFIX
    LTEXT           "© 2009 Microsoft Corporation. All rights reserved.",
                    IDC_STATIC,49,20,177,11
    DEFPUSHBUTTON   "OK",IDOK,195,6,30,11,WS_GROUP
    LTEXT           "<version>",IDC_ABOUT_DICTPAD_VERSION,107,10,79,8
    PUSHBUTTON      "Components",IDC_ABOUT_COMPONENTS,176,54,49,11,NOT 
                    WS_VISIBLE
END

/////////////////////////////////////////////////////////////////////////////
//
// SRGRAMMAR
//

IDR_COMMAND_MODE_CFG    SRGRAMMAR DISCARDABLE   "cht_cmdmode.cfg"
IDR_DICTATION_MODE_CFG  SRGRAMMAR DISCARDABLE   "cht_dictmode.cfg"

/////////////////////////////////////////////////////////////////////////////
//
// String Table
//

STRINGTABLE DISCARDABLE 
BEGIN
    IDS_APP_TITLE           "DictationPad"
    IDC_DICTPAD             "DictationPad"
    IDM_PLAY                "Play"
END

STRINGTABLE DISCARDABLE 
BEGIN
    IDM_FONT                "Allow selection of a different font "
    IDM_DICTATION_MODE      "Dictation"
    IDM_COMMAND_MODE        "Command"
    IDS_WAITING             "..."
    IDS_INVALIDFILEFORMAT   "Invalid file format"
END

STRINGTABLE DISCARDABLE 
BEGIN
    IDM_MIC_TOGGLE          "Grammars active/inactive"
END

STRINGTABLE DISCARDABLE 
BEGIN
    IDS_CANNOTOPEN          "This file cannot be opened by DictationPad"
    IDS_ERRORSAVING         "DictationPad encountered an error while saving to this file"
    IDS_CANNOTSAVE          "Error saving to file"
    IDS_CONFIRMCLOSE        "The text of this file has changed since the last save.  Do you wish to save this file?"
    IDS_MICROPHONESETUPWIZARD "Microphone Setup Wizard"
    IDS_ACCESSDENIED        "Cannot save to file: Access denied."
    IDS_CANNOTSWITCHMODES   "Error switching modes"
    IDS_CANNOTFILENEW       "A new file could not be opened."
    IDS_UPDATEERROR         "An error occurred updating the DictationPad document.  DictationPad will now exit."
    IDS_UNSUPPORTEDLANG     "Error: The language of the engine is unsupported"
END

