|
|
#include "windows.h" #include "sapilayr.rcv" #include "ids.h"
#ifdef CIC_XPSP1 IDR_SAPILAYER REGISTRY DISCARDABLE "sapilayr.rgs" IDR_SPEECHUISERVER REGISTRY DISCARDABLE "spui.rgs" #endif // CIC_XPSP1
// icons for dictation on/off ID_ICON_DICTON ICON dicton.ico ID_ICON_DICTOFF ICON dictoff.ico
// icons for audio property on/off ID_ICON_AUDIOON ICON audioon.ico ID_ICON_AUDIOOFF ICON audiooff.ico
// icons for dictation on/off ID_ICON_CFGMENU ICON cfgmenu.ico
// icons for dictation on/off ID_ICON_MICROPHONE ICON mic.ico ID_ICON_COMMANDING ICON cmd.ico ID_ICON_DICTATION ICON dict.ico
// icons for tts play/stop, pause/resume ID_ICON_TTSPLAY ICON ttsplay.ico ID_ICON_TTSSTOP ICON ttsstop.ico ID_ICON_TTSPAUSE ICON ttspause.ico
#ifndef CIC_XPSP1 // Icons for Candidate UI Buttons ID_CANDBTN_DELETE ICON delete.ico ID_CANDBTN_PLAY ICON ttsplay.ico #endif
IDD_OPEN_ADD_DELETE DIALOG DISCARDABLE 80, 80, 200, 55 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION CAPTION "Open Add/Delete Word Dialog Window?" FONT 8, "MS Shell Dlg" BEGIN LTEXT "You can add words to the speech engine's dictionary by selecting Add/Delete Word(s) from the speech options menu on the Language Bar", -1,10,5,180,30 DEFPUSHBUTTON "OK",IDOK,40,36,40,14 PUSHBUTTON "Cancel",IDCANCEL,120,36,40,14 END
#ifndef CIC_XPSP1 IDD_PROPERTY_PAGE DIALOG DISCARDABLE 0, 0, 251, 239 STYLE DS_3DLOOK | DS_CONTEXTHELP | WS_CHILD | WS_VISIBLE CAPTION "Dictation" FONT 8, "MS Shell Dlg" BEGIN GROUPBOX "Mode Keys",IDC_GP_MODE_BUTTONS,6,4,240,68 CONTROL "Assign &mode keys",IDC_PP_ASSIGN_BUTTON,"Button", BS_AUTOCHECKBOX | WS_TABSTOP,12,18,80,10 LTEXT "You can assign a button to switch quickly between dictation and voice command modes when using speech recognition software. Click Settings to assign the keyboard or mouse action you want to use to switch between modes.", IDC_DESCRIPT_TEXT,12,34,229,34 PUSHBUTTON "Sett&ings...",IDC_PP_BUTTON_MB_SETTING,179,16,56,14
GROUPBOX "Advanced settings",IDC_GP_ADVANCE_SET,6,78,240,129 CONTROL "Sh&ow speech messages ",IDC_PP_SHOW_BALLOON,"Button", BS_AUTOCHECKBOX | WS_TABSTOP,18,92,92,12 CONTROL "&Automatically recognize new words in documents temporarily ", IDC_PP_LMA,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,18,104, 201,12 CONTROL "Require &high confidence for short words ", IDC_PP_HIGH_CONFIDENCE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,18,116,138,12 CONTROL "&Save speech data with the document in supporting applications ", IDC_PP_SAVE_SPDATA,"Button",BS_AUTOCHECKBOX | WS_TABSTOP, 18,128,215,12 CONTROL "Automatically remove &whitespace for punctuation ", IDC_PP_REMOVE_SPACE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,18,140,170,12 CONTROL "&Disable dictation while typing ", IDC_PP_DIS_DICT_TYPING,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,18,152,103,12 CONTROL "Pla&yback original audio when correcting ", IDC_PP_PLAYBACK,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,18, 164,139,12 CONTROL "Allow dictation when &correction window is open ", IDC_PP_DICT_CANDUI_OPEN,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,18,176,163,12
CONTROL "&Enable commands in dictation mode",IDC_PP_DICTCMDS,"Button", BS_AUTOCHECKBOX | WS_TABSTOP,18,188,146,12
PUSHBUTTON "&Voice Command...",IDC_PP_BUTTON_ADVANCE,6,219,65, 12 PUSHBUTTON "Advanced S&peech ...", IDC_PP_BUTTON_SPCPL, 87, 219, 78, 12 PUSHBUTTON "Language &Bar...",IDC_PP_BUTTON_LANGBAR,182,219,60,12
END
IDD_PP_DIALOG_ADVANCE DIALOG DISCARDABLE 0, 0, 268, 156 STYLE DS_MODALFRAME | DS_3DLOOK | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Voice command settings" FONT 8, "MS Shell Dlg" BEGIN GROUPBOX "Voice Commands",IDC_GP_VOICE_COMMANDS,13,13,242,116 LTEXT "Choose the types of commands you want available when dictating text. Selecting fewer command types can help improve accuracy. Some commands are only available in programs with advanced speech recognition support.", IDC_DESCRIPT_TEXT,17,24,229,35 CONTROL "&Selection and correction",IDC_PP_SELECTION_CMD,"Button", BS_AUTOCHECKBOX | WS_TABSTOP,32,63,92,9 CONTROL "&Navigation",IDC_PP_NAVIGATION_CMD,"Button", BS_AUTOCHECKBOX | WS_TABSTOP,32,73,50,9 CONTROL "&Uppercase and lowercase",IDC_PP_CASING_CMD,"Button", BS_AUTOCHECKBOX | WS_TABSTOP,32,83,97,9 CONTROL "&Editing operations",IDC_PP_EDITING_CMD,"Button", BS_AUTOCHECKBOX | WS_TABSTOP,32,93,71,9 CONTROL "&Keyboard simulation",IDC_PP_KEYBOARD_CMD,"Button", BS_AUTOCHECKBOX | WS_TABSTOP,32,103,79,9 // comment out for Text-to-speech in this version. // CONTROL "&Text-to-speech conversion",IDC_PP_TTS_CMD,"Button", // BS_AUTOCHECKBOX | WS_TABSTOP,32,113,99,9 CONTROL "&Language bar management",IDC_PP_LANGBAR_CMD,"Button", BS_AUTOCHECKBOX | WS_TABSTOP,32,113,101,9 /* LTEXT "Maximum alternates in candidate window:", IDC_DESCRIPT_TEXT,37,131,134,12 LTEXT "Maximum characters in one alternate:",IDC_DESCRIPT_TEXT, 38,146,121,12 EDITTEXT IDC_PP_MAXNUM_ALTERNATES,183,129,29,12,ES_AUTOHSCROLL | ES_NUMBER EDITTEXT IDC_PP_MAXCHARS_ALTERNATE,183,145,29,12,ES_AUTOHSCROLL | ES_NUMBER */ DEFPUSHBUTTON "OK",IDOK,125,136,50,14 PUSHBUTTON "Cancel",IDCANCEL,196,136,50,14 END
IDD_PP_DIALOG_BUTTON_SET DIALOG DISCARDABLE 0, 0, 190, 85 STYLE DS_MODALFRAME | DS_3DLOOK | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Mode button configuration" FONT 8, "MS Shell Dlg" BEGIN GROUPBOX "Mode button settings",IDC_DESCRIPT_TEXT,13,7,164,53 LTEXT "Dictation key:",IDC_DESCRIPT_TEXT,32,23,54,10 COMBOBOX IDC_PP_DICTATION_CMB,102,20,50,120, CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP LTEXT "Command key:",IDC_DESCRIPT_TEXT,32,41,57,10 COMBOBOX IDC_PP_COMMAND_CMB,102,38,50,120, CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
DEFPUSHBUTTON "OK",IDOK,72,67,45,12 PUSHBUTTON "Cancel",IDCANCEL,132,67,45,12 END #endif // CIC_XPSP1
STRINGTABLE DISCARDABLE BEGIN IDS_CMD_FILE "dictcmd.cfg" IDS_NUMMODE_CMD_FILE "smplnum.cfg" #ifndef CIC_XPSP1 IDS_SHARDCMD_FILE "shrdcmd.cfg" #endif // CIC_XPSP1 IDS_INT_NONE " " IDS_INT_NOISE "What was that?" IDS_INT_NOSIGNAL "No signal" IDS_INT_TOOLOUD "Too loud" IDS_INT_TOOQUIET "Too soft" IDS_INT_TOOFAST "Too fast" IDS_INT_TOOSLOW "Too slow"
IDS_INTTOOLTIP_NONE " " IDS_INTTOOLTIP_NOISE "Please repeat" IDS_INTTOOLTIP_NOSIGNAL "There was no signal" IDS_INTTOOLTIP_TOOLOUD "Try speaking more softly" IDS_INTTOOLTIP_TOOQUIET "Try speaking a little louder" IDS_INTTOOLTIP_TOOFAST "Try speaking a little slower" IDS_INTTOOLTIP_TOOSLOW "Try speaking a little faster" IDS_DICTATING "Dictating..." IDS_DICTATING_TOOLTIP "Dictating..." IDS_LISTENING "Listening..." IDS_LISTENING_TOOLTIP "Listening..." IDS_BALLOON_TOOLTIP_TYPING "You are typing or editing"
IDS_BALLOON_DICTAT_PAUSED "Dictation Paused" IDS_BALLOON_TOOLTIP_IP_INSIDE_WORD "Please move the cursor outside of a word"
IDS_UI_TRAINING "Voice Training" IDS_UI_ADDDELETE "Add/Delete Word(s)" IDS_MIC_OPTIONS "&Options..." IDS_MIC_TRAINING "&Training..." IDS_MIC_ADDDELETE "&Add/Delete Word(s)..." IDS_MIC_CURRENTUSER "&Current User" #ifdef CIC_XPSP1 IDS_MIC_SAVEDATA "&Save Speech Data" IDS_MIC_SHOWBALLOON "Show Speech &Messages" IDS_MIC_DIS_DICTCMD "&Disable Dictation Commands" #endif // CIC_XPSP1
IDS_NUI_CFGMENU_TOOLTIP "Speech Tools" IDS_NUI_CFGMENU_TEXT "Tools" IDS_NUI_BALLOON_TOOLTIP "Speech Command" IDS_NUI_BALLOON_TEXT "Speech Command" IDS_NUI_MICROPHONE_TOOLTIP "Microphone" #ifdef CHANGE_MIC_TOOLTIP_ONTHEFLY IDS_NUI_MICROPHONE_ON_TOOLTIP "Turn on microphone" IDS_NUI_MICROPHONE_OFF_TOOLTIP "Turn off microphone" #endif IDS_NUI_MICROPHONE_TEXT "Microphone" IDS_NUI_COMMANDING_TOOLTIP "Voice Command" IDS_NUI_COMMANDING_TEXT "Voice Command" IDS_NUI_DICTATION_TOOLTIP "Dictation" IDS_NUI_DICTATION_TEXT "Dictation" IDS_NUI_STARTINGSPEECH "Starting Speech..." IDS_NUI_BEGINDICTATION "Begin Dictation" IDS_NUI_BEGINVOICECMD "Begin Voice Command"
IDS_NUI_TTSPLAY_TOOLTIP "Speak Text" IDS_NUI_TTSPLAY_TEXT "Speak" IDS_NUI_TTSSTOP_TOOLTIP "Stop Speaking" IDS_NUI_TTSSTOP_TEXT "Stop" IDS_NUI_TTSPAUSE_TOOLTIP "Pause Speaking" IDS_NUI_TTSPAUSE_TEXT "Pause" IDS_NUI_TTSRESUME_TOOLTIP "Resume Speaking" IDS_NUI_TTSRESUME_TEXT "Resume"
IDS_NO_ALTERNATE "No Alternatives"
IDS_DEFAULT_PROFILE "Speech Recognition" END
#ifndef CIC_XPSP1 STRINGTABLE DISCARDABLE BEGIN IDS_GO_TO_SLEEP "Go to sleep" IDS_WAKE_UP "Wake up" IDS_PROPERTYPAGE_TITLE "Speech input settings" #ifdef USE_IPROPERTYPAGE IDS_HELPFILESpPropPage "Help File Name" IDS_DOCSTRINGSpPropPage "Your Help String" #endif
// We want to specially handle these speech commands. // // these string must be same as they are in the shrdcmd.xml // localized JPN and CHS version should be the same as they are in shrdcmdjp.xml and shrdcmdchs.xml // IDS_SPCMD_SELECT_ALL "All" IDS_SPCMD_SELECT_THAT "That"
// Candidate UI strings. IDS_REPLAY "Replay Dictation" IDS_DELETE "Delete" IDS_REDO "Rewrite/Respeak" END #endif // CIC_XPSP1
#ifdef SUPPORT_INTERNAL_WIDGET // widget stuff
///////////////////////////////////////////////////////////////////////////// // // Icon //
// Icon with lowest ID value placed first to ensure application icon // remains consistent on all systems. IDI_INVOKE ICON DISCARDABLE "invoke.ico" IDI_DELETEICON ICON DISCARDABLE "delete.ico" IDI_INVOKECLOSE ICON DISCARDABLE "invokelarge.ico"
///////////////////////////////////////////////////////////////////////////// // // String Table //
STRINGTABLE DISCARDABLE BEGIN IDS_ADDTODICTIONARYPREFIX "Add '" IDS_ADDTODICTIONARYPOSTFIX "' to Recognizer" IDS_DELETESELECTION "Delete" END #endif // SUPPORT_INTERNAL_WIDGET
#ifdef CIC_XPSP1
// LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US LANGUAGE 0x09, 0x01 // // these commands are for English only // we need to have separate sections for other // languages we'll support // ID_DICTATION_COMMAND_CFG SRGRAMMAR DISCARDABLE "dictcmd.cfg" ID_NUMMODE_COMMAND_CFG SRGRAMMAR DISCARDABLE "smplnum.cfg" ID_SPELLING_TOPIC_CFG SRGRAMMAR DISCARDABLE "spell.cfg"
//LANGUAGE LANG_JAPANESE, SUBLANG_DEFAULT LANGUAGE 0x11, 0x01
// These commands are for Japanese
ID_DICTATION_COMMAND_CFG SRGRAMMAR DISCARDABLE "dictcmdjp.cfg" ID_NUMMODE_COMMAND_CFG SRGRAMMAR DISCARDABLE "smplnumjp.cfg" ID_SPELLING_TOPIC_CFG SRGRAMMAR DISCARDABLE "spelljp.cfg"
//LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_SIMPLIFIED LANGUAGE 0x04, 0x02
// These commands are for Simplified Chinese
ID_DICTATION_COMMAND_CFG SRGRAMMAR DISCARDABLE "dictcmdchs.cfg" ID_NUMMODE_COMMAND_CFG SRGRAMMAR DISCARDABLE "smplnumchs.cfg"
#endif // CIC_XPSP1
|