You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
308 lines
9.9 KiB
308 lines
9.9 KiB
|
|
/*************************************************
|
|
* lctool.rc *
|
|
* *
|
|
* Copyright (C) 1995-1999 Microsoft Inc. *
|
|
* *
|
|
*************************************************/
|
|
|
|
//Microsoft Developer Studio generated resource script.
|
|
//
|
|
// Change log : 1/15/1996
|
|
//
|
|
// @C004 - Add "Phrase(s) will be activated after quiting this program."
|
|
// @C005 - Change IDS_ACTIVATED content
|
|
//
|
|
#include "resource.h"
|
|
|
|
#define APSTUDIO_READONLY_SYMBOLS
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Generated from the TEXTINCLUDE 2 resource.
|
|
//
|
|
#define APSTUDIO_HIDDEN_SYMBOLS
|
|
#include "windows.h"
|
|
#undef APSTUDIO_HIDDEN_SYMBOLS
|
|
#include "winver.h"
|
|
#include "rc.h"
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
#undef APSTUDIO_READONLY_SYMBOLS
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// English (US) resources
|
|
|
|
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT)
|
|
#ifdef _WIN32
|
|
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
|
|
#pragma code_page(1252)
|
|
#endif //_WIN32
|
|
|
|
#ifndef _MAC
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Version
|
|
//
|
|
|
|
#include <ntverp.h>
|
|
|
|
#define VER_FILETYPE VFT_APP
|
|
#define VER_FILESUBTYPE VFT2_UNKNOWN
|
|
#define VER_FILEDESCRIPTION_STR "PHRASE ASSOCIATION TOOL"
|
|
#define VER_INTERNALNAME_STR "PHRASE ASSOCIATION TOOL"
|
|
#define VER_ORIGINALFILENAME_STR "LCTOOL.EXE"
|
|
|
|
#include "common.ver"
|
|
|
|
|
|
#endif // !_MAC
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Icon
|
|
//
|
|
|
|
// Icon with lowest ID value placed first to ensure application icon
|
|
// remains consistent on all systems.
|
|
ALOGICON ICON DISCARDABLE "LCTOOL.ICO"
|
|
IDI_ARROW ICON DISCARDABLE "ARROW.ICO"
|
|
|
|
//////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Cursor
|
|
//
|
|
IDC_DRAG CURSOR DISCARDABLE "DRAG.CUR"
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Menu
|
|
//
|
|
|
|
LCTOOLMENU MENU DISCARDABLE
|
|
BEGIN
|
|
POPUP "&File"
|
|
BEGIN
|
|
MENUITEM "&Save", IDM_SAVE, GRAYED
|
|
#ifdef UNICODE
|
|
MENUITEM "Sa&ve As...", IDM_SAVEAS, GRAYED
|
|
#endif
|
|
MENUITEM SEPARATOR
|
|
MENUITEM "&Append...", IDM_APPEND
|
|
MENUITEM "&Import...", IDM_IMPORT
|
|
MENUITEM "&Export...", IDM_EXPORT
|
|
#ifdef UNICODE
|
|
MENUITEM "Ex&port to BIG5 file...", IDM_EXPORT2BIG5
|
|
#endif
|
|
MENUITEM SEPARATOR
|
|
MENUITEM "&Print...", IDM_PRINT
|
|
MENUITEM SEPARATOR
|
|
MENUITEM "E&xit", IDM_EXIT
|
|
END
|
|
POPUP "&Edit"
|
|
BEGIN
|
|
MENUITEM "&Undo\tCtrl+Z", IDM_UNDO
|
|
MENUITEM "Cu&t\tCtrl+X", IDM_CUT
|
|
MENUITEM "&Copy\tCtrl+C", IDM_COPY
|
|
MENUITEM "&Paste\tCtrl+V", IDM_PASTE
|
|
MENUITEM "C&lear\tDel", IDM_CLEAR
|
|
MENUITEM SEPARATOR
|
|
MENUITEM "&Delete Line\tCtrl+D", IDM_DELETEL
|
|
MENUITEM "&Insert Line\tEnter", IDM_INSERTL
|
|
MENUITEM "C&hange phrases sequence ...", IDM_CHGSEQ
|
|
END
|
|
POPUP "&View"
|
|
BEGIN
|
|
MENUITEM "&Sort", IDM_SORT
|
|
MENUITEM "&Goto...", IDM_GOTO
|
|
MENUITEM "S&earch...", IDM_SEARCH
|
|
MENUITEM "&Next\tF3", IDM_SNEXT
|
|
END
|
|
POPUP "&Help"
|
|
BEGIN
|
|
MENUITEM "&Content", IDM_HELP
|
|
MENUITEM "&About", IDM_ABOUT
|
|
END
|
|
END
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Dialog
|
|
//
|
|
|
|
GOTODIALOG DIALOG DISCARDABLE 50, 30, 186, 70
|
|
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
|
|
CAPTION "GOTO WORD"
|
|
FONT 9, "MS Shell Dlg"
|
|
BEGIN
|
|
LTEXT "GOTO :",-1,9,20,40,12
|
|
EDITTEXT IDD_INDEX_NAME,45,20,14,12
|
|
DEFPUSHBUTTON "OK",IDB_OK,36,50,32,14
|
|
PUSHBUTTON "Cancel",IDB_CANCEL,116,50,32,14
|
|
END
|
|
|
|
IDD_CANCELDLG DIALOG DISCARDABLE 56, 61, 128, 66
|
|
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
|
CAPTION "PHRASE ASSOCIATION TOOL"
|
|
FONT 9, "MS Shell Dlg"
|
|
BEGIN
|
|
RTEXT "Printing",100,2,6,44,8,NOT WS_GROUP
|
|
LTEXT "",IDC_PRINTLINE,51,15,78,8,NOT WS_GROUP
|
|
DEFPUSHBUTTON "Cancel",IDCANCEL,75,46,47,14
|
|
END
|
|
|
|
LINEDIALOG DIALOG DISCARDABLE 50, 30, 186, 70
|
|
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
|
|
CAPTION "Choose Print line number"
|
|
BEGIN
|
|
LTEXT "Lines from:",-1,9,20,60,12
|
|
EDITTEXT IDD_FROM_LINE,55,20,26,12
|
|
LTEXT "to:",-1,85,20,20,12
|
|
EDITTEXT IDD_TO_LINE,95,20,26,12
|
|
DEFPUSHBUTTON "OK",IDOK,36,50,32,14
|
|
PUSHBUTTON "Cancel",IDCANCEL,116,50,32,14
|
|
END
|
|
|
|
SEQDIALOG DIALOG DISCARDABLE 0, 0, 170, 171
|
|
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
|
CAPTION "Change the sequence of phrases"
|
|
CLASS "PrivDlgClass"
|
|
FONT 9, "MS Shell Dlg"
|
|
BEGIN
|
|
PUSHBUTTON "&OK",IDOK,111,11,50,14
|
|
LISTBOX IDD_SOURCELIST,9,9,95,155,WS_VSCROLL | WS_TABSTOP
|
|
PUSHBUTTON "&Cancel",IDCANCEL,111,31,50,14
|
|
PUSHBUTTON "&Help",ID_HELP,111,53,50,14
|
|
END
|
|
|
|
SEARCHDIALOG DIALOG DISCARDABLE 50, 30, 186, 70
|
|
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
|
|
CAPTION "Search content of phrases"
|
|
FONT 9, "MS Shell Dlg"
|
|
BEGIN
|
|
LTEXT "Search:",-1,21,20,28,12
|
|
EDITTEXT IDD_SEARCH_LINE,55,20,92,12
|
|
DEFPUSHBUTTON "OK",IDOK,36,50,32,14
|
|
PUSHBUTTON "Cancel",IDCANCEL,116,50,32,14
|
|
END
|
|
|
|
|
|
#ifdef APSTUDIO_INVOKED
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// TEXTINCLUDE
|
|
//
|
|
|
|
1 TEXTINCLUDE DISCARDABLE
|
|
BEGIN
|
|
"resource.h\0"
|
|
END
|
|
|
|
2 TEXTINCLUDE DISCARDABLE
|
|
BEGIN
|
|
"#define APSTUDIO_HIDDEN_SYMBOLS\r\n"
|
|
"#include ""windows.h""\r\n"
|
|
"#undef APSTUDIO_HIDDEN_SYMBOLS\r\n"
|
|
"#include ""winver.h""\r\n"
|
|
"#include ""rc.h""\r\n"
|
|
"\0"
|
|
END
|
|
|
|
3 TEXTINCLUDE DISCARDABLE
|
|
BEGIN
|
|
"\r\n"
|
|
"\0"
|
|
END
|
|
|
|
#endif // APSTUDIO_INVOKED
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// String Table
|
|
//
|
|
|
|
STRINGTABLE DISCARDABLE
|
|
BEGIN
|
|
IDS_APPNAME "LCTOOL"
|
|
IDS_DESCRIPTION "LC Phrase Tool"
|
|
IDS_MAIN_TITLE "LC Phrase Data Maintenance"
|
|
IDS_MAIN_WORD "Word"
|
|
IDS_MAIN_PHRASE "Associate Phrase"
|
|
IDS_FILEMODIFIED "Content had been modified. \n\nDo you want to Save ?"
|
|
IDS_FILTERSPEC "Text Files (*.txt)"
|
|
IDS_DEFAULTFILEEXT "*.txt"
|
|
IDS_FILTERSPEC_ALL "All Files (*.*)"
|
|
IDS_ALLFILEEXT "*.*"
|
|
IDS_DICTFILTERSPEC "Table Files (*.tbl)"
|
|
IDS_DICTDEFAULTFILEEXT "*.tbl"
|
|
IDS_IMPORTTITLE "Import File"
|
|
END
|
|
|
|
STRINGTABLE DISCARDABLE
|
|
BEGIN
|
|
IDS_EXPORTTITLE "Export File"
|
|
IDS_FONT_NAME "MingLight"
|
|
IDS_APPENDTITLE "Append File"
|
|
IDS_ACTIVATED "Phrase(s) is activated." // @C005
|
|
IDS_WILLBEACTIVATED "Phrase(s) will be activated after quiting this program." // @C004
|
|
IDS_EXPORTBIG5TITLE "Export to BIG5 File"
|
|
IDS_SAVETABLE "Save File"
|
|
END
|
|
|
|
STRINGTABLE DISCARDABLE
|
|
BEGIN
|
|
IDS_ERR_MEMORY_QUIT "Not enough memory available to complete this operation.\n Quit this application!"
|
|
IDS_ERR_MEMORY "Not enough memory available to complete this operation."
|
|
IDS_ERR_NOT_FOUND "Can not found this word."
|
|
IDS_ERR_PHRASE_NOT_FOUND "Can not found this phrase."
|
|
IDS_ERR_SBCS "SBCS character exist, modify it."
|
|
IDS_ERR_LCPTRFILE "Some pointer out of Word or Phrase file length."
|
|
IDS_ERR_SAMECODE "There are the same Chinese Word.\n\nThe last same Chinese is [%c%c]."
|
|
IDS_ERR_FILESAVE "LC Phrase table files are using by application.\n\n Use Export function to save."
|
|
IDS_ERR_OPENBOTH "Both LC Phrase & Word table files are can not open."
|
|
END
|
|
|
|
STRINGTABLE DISCARDABLE
|
|
BEGIN
|
|
IDS_ERR_FILEOPEN "Open %s file failure!"
|
|
IDS_ERR_FILEREAD "Read %s file failure!"
|
|
IDS_ERR_FILEWRITE "Write %s file failure!"
|
|
IDS_ERR_OVERMAX "There are exist over max length Phrase.\n\nTruncat them!"
|
|
IDS_ERR_IMP_SEPRATOR "Import file need a space after Word."
|
|
IDS_ERR_IMP_NOPHRASE "Import file can not process without Phrase."
|
|
IDS_ERR_INPUTSAME "Your input Chinese Word is the same as other."
|
|
IDS_ERR_OVER_MAXLEN "You registered too many phrases over the file boundary!\nYou need delete some phrase!"
|
|
IDS_ERR_SAVESYSTEMTBL "Can't save as system table file."
|
|
END
|
|
|
|
STRINGTABLE DISCARDABLE
|
|
BEGIN
|
|
IDS_PTRCOMMDLGFAILED "Can't create print dialog box, job aborted"
|
|
IDS_CANCELDLGFAILED "Can't create print cancel dialog, job aborted"
|
|
IDS_SETABORTPROCFAILED "Can't set abort proc, job aborted"
|
|
IDS_STARTDOCFAILED "Can't start print job, job aborted"
|
|
IDS_PRINTABORTED "Print aborted"
|
|
IDS_PTRCONFIGFAILED "Default printer undefined, service unavailable"
|
|
IDS_PRINTING "%d to %d line"
|
|
IDS_PRINTINGTITLE " NO. Word Associate Phrase"
|
|
IDS_OVERPHRASELEN "Phrase length exceeds %d, please modify."
|
|
IDS_CHANGEWORDORDER "Change word order" //§ïÅܦrµü¶¶§Ç
|
|
END
|
|
|
|
#endif // Chinese (Taiwan) resources
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef APSTUDIO_INVOKED
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Generated from the TEXTINCLUDE 3 resource.
|
|
//
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
#endif // not APSTUDIO_INVOKED
|
|
|