Leaked source code of windows server 2003
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

  1. /*************************************************
  2. * lctool.rc *
  3. * *
  4. * Copyright (C) 1995-1999 Microsoft Inc. *
  5. * *
  6. *************************************************/
  7. //Microsoft Developer Studio generated resource script.
  8. //
  9. // Change log : 1/15/1996
  10. //
  11. // @C004 - Add "Phrase(s) will be activated after quiting this program."
  12. // @C005 - Change IDS_ACTIVATED content
  13. //
  14. #include "resource.h"
  15. #define APSTUDIO_READONLY_SYMBOLS
  16. /////////////////////////////////////////////////////////////////////////////
  17. //
  18. // Generated from the TEXTINCLUDE 2 resource.
  19. //
  20. #define APSTUDIO_HIDDEN_SYMBOLS
  21. #include "windows.h"
  22. #undef APSTUDIO_HIDDEN_SYMBOLS
  23. #include "winver.h"
  24. #include "rc.h"
  25. /////////////////////////////////////////////////////////////////////////////
  26. #undef APSTUDIO_READONLY_SYMBOLS
  27. /////////////////////////////////////////////////////////////////////////////
  28. // English (US) resources
  29. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT)
  30. #ifdef _WIN32
  31. LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
  32. #pragma code_page(1252)
  33. #endif //_WIN32
  34. #ifndef _MAC
  35. /////////////////////////////////////////////////////////////////////////////
  36. //
  37. // Version
  38. //
  39. #include <ntverp.h>
  40. #define VER_FILETYPE VFT_APP
  41. #define VER_FILESUBTYPE VFT2_UNKNOWN
  42. #define VER_FILEDESCRIPTION_STR "PHRASE ASSOCIATION TOOL"
  43. #define VER_INTERNALNAME_STR "PHRASE ASSOCIATION TOOL"
  44. #define VER_ORIGINALFILENAME_STR "LCTOOL.EXE"
  45. #include "common.ver"
  46. #endif // !_MAC
  47. /////////////////////////////////////////////////////////////////////////////
  48. //
  49. // Icon
  50. //
  51. // Icon with lowest ID value placed first to ensure application icon
  52. // remains consistent on all systems.
  53. ALOGICON ICON DISCARDABLE "LCTOOL.ICO"
  54. IDI_ARROW ICON DISCARDABLE "ARROW.ICO"
  55. //////////////////////////////////////////////////////////////////////////////
  56. //
  57. // Cursor
  58. //
  59. IDC_DRAG CURSOR DISCARDABLE "DRAG.CUR"
  60. /////////////////////////////////////////////////////////////////////////////
  61. //
  62. // Menu
  63. //
  64. LCTOOLMENU MENU DISCARDABLE
  65. BEGIN
  66. POPUP "&File"
  67. BEGIN
  68. MENUITEM "&Save", IDM_SAVE, GRAYED
  69. #ifdef UNICODE
  70. MENUITEM "Sa&ve As...", IDM_SAVEAS, GRAYED
  71. #endif
  72. MENUITEM SEPARATOR
  73. MENUITEM "&Append...", IDM_APPEND
  74. MENUITEM "&Import...", IDM_IMPORT
  75. MENUITEM "&Export...", IDM_EXPORT
  76. #ifdef UNICODE
  77. MENUITEM "Ex&port to BIG5 file...", IDM_EXPORT2BIG5
  78. #endif
  79. MENUITEM SEPARATOR
  80. MENUITEM "&Print...", IDM_PRINT
  81. MENUITEM SEPARATOR
  82. MENUITEM "E&xit", IDM_EXIT
  83. END
  84. POPUP "&Edit"
  85. BEGIN
  86. MENUITEM "&Undo\tCtrl+Z", IDM_UNDO
  87. MENUITEM "Cu&t\tCtrl+X", IDM_CUT
  88. MENUITEM "&Copy\tCtrl+C", IDM_COPY
  89. MENUITEM "&Paste\tCtrl+V", IDM_PASTE
  90. MENUITEM "C&lear\tDel", IDM_CLEAR
  91. MENUITEM SEPARATOR
  92. MENUITEM "&Delete Line\tCtrl+D", IDM_DELETEL
  93. MENUITEM "&Insert Line\tEnter", IDM_INSERTL
  94. MENUITEM "C&hange phrases sequence ...", IDM_CHGSEQ
  95. END
  96. POPUP "&View"
  97. BEGIN
  98. MENUITEM "&Sort", IDM_SORT
  99. MENUITEM "&Goto...", IDM_GOTO
  100. MENUITEM "S&earch...", IDM_SEARCH
  101. MENUITEM "&Next\tF3", IDM_SNEXT
  102. END
  103. POPUP "&Help"
  104. BEGIN
  105. MENUITEM "&Content", IDM_HELP
  106. MENUITEM "&About", IDM_ABOUT
  107. END
  108. END
  109. /////////////////////////////////////////////////////////////////////////////
  110. //
  111. // Dialog
  112. //
  113. GOTODIALOG DIALOG DISCARDABLE 50, 30, 186, 70
  114. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  115. CAPTION "GOTO WORD"
  116. FONT 9, "MS Shell Dlg"
  117. BEGIN
  118. LTEXT "GOTO :",-1,9,20,40,12
  119. EDITTEXT IDD_INDEX_NAME,45,20,14,12
  120. DEFPUSHBUTTON "OK",IDB_OK,36,50,32,14
  121. PUSHBUTTON "Cancel",IDB_CANCEL,116,50,32,14
  122. END
  123. IDD_CANCELDLG DIALOG DISCARDABLE 56, 61, 128, 66
  124. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  125. CAPTION "PHRASE ASSOCIATION TOOL"
  126. FONT 9, "MS Shell Dlg"
  127. BEGIN
  128. RTEXT "Printing",100,2,6,44,8,NOT WS_GROUP
  129. LTEXT "",IDC_PRINTLINE,51,15,78,8,NOT WS_GROUP
  130. DEFPUSHBUTTON "Cancel",IDCANCEL,75,46,47,14
  131. END
  132. LINEDIALOG DIALOG DISCARDABLE 50, 30, 186, 70
  133. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  134. CAPTION "Choose Print line number"
  135. BEGIN
  136. LTEXT "Lines from:",-1,9,20,60,12
  137. EDITTEXT IDD_FROM_LINE,55,20,26,12
  138. LTEXT "to:",-1,85,20,20,12
  139. EDITTEXT IDD_TO_LINE,95,20,26,12
  140. DEFPUSHBUTTON "OK",IDOK,36,50,32,14
  141. PUSHBUTTON "Cancel",IDCANCEL,116,50,32,14
  142. END
  143. SEQDIALOG DIALOG DISCARDABLE 0, 0, 170, 171
  144. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  145. CAPTION "Change the sequence of phrases"
  146. CLASS "PrivDlgClass"
  147. FONT 9, "MS Shell Dlg"
  148. BEGIN
  149. PUSHBUTTON "&OK",IDOK,111,11,50,14
  150. LISTBOX IDD_SOURCELIST,9,9,95,155,WS_VSCROLL | WS_TABSTOP
  151. PUSHBUTTON "&Cancel",IDCANCEL,111,31,50,14
  152. PUSHBUTTON "&Help",ID_HELP,111,53,50,14
  153. END
  154. SEARCHDIALOG DIALOG DISCARDABLE 50, 30, 186, 70
  155. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  156. CAPTION "Search content of phrases"
  157. FONT 9, "MS Shell Dlg"
  158. BEGIN
  159. LTEXT "Search:",-1,21,20,28,12
  160. EDITTEXT IDD_SEARCH_LINE,55,20,92,12
  161. DEFPUSHBUTTON "OK",IDOK,36,50,32,14
  162. PUSHBUTTON "Cancel",IDCANCEL,116,50,32,14
  163. END
  164. #ifdef APSTUDIO_INVOKED
  165. /////////////////////////////////////////////////////////////////////////////
  166. //
  167. // TEXTINCLUDE
  168. //
  169. 1 TEXTINCLUDE DISCARDABLE
  170. BEGIN
  171. "resource.h\0"
  172. END
  173. 2 TEXTINCLUDE DISCARDABLE
  174. BEGIN
  175. "#define APSTUDIO_HIDDEN_SYMBOLS\r\n"
  176. "#include ""windows.h""\r\n"
  177. "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n"
  178. "#include ""winver.h""\r\n"
  179. "#include ""rc.h""\r\n"
  180. "\0"
  181. END
  182. 3 TEXTINCLUDE DISCARDABLE
  183. BEGIN
  184. "\r\n"
  185. "\0"
  186. END
  187. #endif // APSTUDIO_INVOKED
  188. /////////////////////////////////////////////////////////////////////////////
  189. //
  190. // String Table
  191. //
  192. STRINGTABLE DISCARDABLE
  193. BEGIN
  194. IDS_APPNAME "LCTOOL"
  195. IDS_DESCRIPTION "LC Phrase Tool"
  196. IDS_MAIN_TITLE "LC Phrase Data Maintenance"
  197. IDS_MAIN_WORD "Word"
  198. IDS_MAIN_PHRASE "Associate Phrase"
  199. IDS_FILEMODIFIED "Content had been modified. \n\nDo you want to Save ?"
  200. IDS_FILTERSPEC "Text Files (*.txt)"
  201. IDS_DEFAULTFILEEXT "*.txt"
  202. IDS_FILTERSPEC_ALL "All Files (*.*)"
  203. IDS_ALLFILEEXT "*.*"
  204. IDS_DICTFILTERSPEC "Table Files (*.tbl)"
  205. IDS_DICTDEFAULTFILEEXT "*.tbl"
  206. IDS_IMPORTTITLE "Import File"
  207. END
  208. STRINGTABLE DISCARDABLE
  209. BEGIN
  210. IDS_EXPORTTITLE "Export File"
  211. IDS_FONT_NAME "MingLight"
  212. IDS_APPENDTITLE "Append File"
  213. IDS_ACTIVATED "Phrase(s) is activated." // @C005
  214. IDS_WILLBEACTIVATED "Phrase(s) will be activated after quiting this program." // @C004
  215. IDS_EXPORTBIG5TITLE "Export to BIG5 File"
  216. IDS_SAVETABLE "Save File"
  217. END
  218. STRINGTABLE DISCARDABLE
  219. BEGIN
  220. IDS_ERR_MEMORY_QUIT "Not enough memory available to complete this operation.\n Quit this application!"
  221. IDS_ERR_MEMORY "Not enough memory available to complete this operation."
  222. IDS_ERR_NOT_FOUND "Can not found this word."
  223. IDS_ERR_PHRASE_NOT_FOUND "Can not found this phrase."
  224. IDS_ERR_SBCS "SBCS character exist, modify it."
  225. IDS_ERR_LCPTRFILE "Some pointer out of Word or Phrase file length."
  226. IDS_ERR_SAMECODE "There are the same Chinese Word.\n\nThe last same Chinese is [%c%c]."
  227. IDS_ERR_FILESAVE "LC Phrase table files are using by application.\n\n Use Export function to save."
  228. IDS_ERR_OPENBOTH "Both LC Phrase & Word table files are can not open."
  229. END
  230. STRINGTABLE DISCARDABLE
  231. BEGIN
  232. IDS_ERR_FILEOPEN "Open %s file failure!"
  233. IDS_ERR_FILEREAD "Read %s file failure!"
  234. IDS_ERR_FILEWRITE "Write %s file failure!"
  235. IDS_ERR_OVERMAX "There are exist over max length Phrase.\n\nTruncat them!"
  236. IDS_ERR_IMP_SEPRATOR "Import file need a space after Word."
  237. IDS_ERR_IMP_NOPHRASE "Import file can not process without Phrase."
  238. IDS_ERR_INPUTSAME "Your input Chinese Word is the same as other."
  239. IDS_ERR_OVER_MAXLEN "You registered too many phrases over the file boundary!\nYou need delete some phrase!"
  240. IDS_ERR_SAVESYSTEMTBL "Can't save as system table file."
  241. END
  242. STRINGTABLE DISCARDABLE
  243. BEGIN
  244. IDS_PTRCOMMDLGFAILED "Can't create print dialog box, job aborted"
  245. IDS_CANCELDLGFAILED "Can't create print cancel dialog, job aborted"
  246. IDS_SETABORTPROCFAILED "Can't set abort proc, job aborted"
  247. IDS_STARTDOCFAILED "Can't start print job, job aborted"
  248. IDS_PRINTABORTED "Print aborted"
  249. IDS_PTRCONFIGFAILED "Default printer undefined, service unavailable"
  250. IDS_PRINTING "%d to %d line"
  251. IDS_PRINTINGTITLE " NO. Word Associate Phrase"
  252. IDS_OVERPHRASELEN "Phrase length exceeds %d, please modify."
  253. IDS_CHANGEWORDORDER "Change word order" //���ܦr������
  254. END
  255. #endif // Chinese (Taiwan) resources
  256. /////////////////////////////////////////////////////////////////////////////
  257. #ifndef APSTUDIO_INVOKED
  258. /////////////////////////////////////////////////////////////////////////////
  259. //
  260. // Generated from the TEXTINCLUDE 3 resource.
  261. //
  262. /////////////////////////////////////////////////////////////////////////////
  263. #endif // not APSTUDIO_INVOKED