home *** CD-ROM | disk | FTP | other *** search
/ Media Share 9 / MEDIASHARE_09.ISO / progmisc / tde221.zip / PROMPTS.H < prev    next >
C/C++ Source or Header  |  1993-04-01  |  8KB  |  280 lines

  1. /*
  2.  * New editor name:  TDE, the Thomson-Davis Editor.
  3.  * Author:           Frank Davis
  4.  * Date:             June 5, 1992
  5.  *
  6.  * This file contains all user prompts in TDE.  Prompts were gathered into
  7.  *  one file to make the job of translating English into other languages
  8.  *  as easy as possible.
  9.  */
  10.  
  11.  
  12. char *cb      = "Control-Break pressed";
  13.  
  14.  
  15. /*
  16.  * block.c
  17.  */
  18. char *block1  = "a block is already defined in another file";
  19.  
  20. char *ltol    = "Error: line would be too long.";
  21. char *block2  = "can only fill box blocks";
  22. char *block3a = "can only number box blocks";
  23. char *block3b = "can only swap box blocks";
  24. char *block4  = "not enough memory for block";
  25. char *block5  = "can only overlay blocks";
  26.  
  27. char *block6  = "File name: ";
  28. char *block7  = "File exists. Overwrite or Append? (o/a): ";
  29. char *block8  = "writing block to '";
  30. char *block9  = "could not write block";
  31. char *block10 = "appending block to '";
  32. char *block11 = "could not append block";
  33. char *block12 = "writing block to '";
  34.  
  35. char *block13 = "Print file or block? (f/b): ";
  36. char *block14 = "Printing line         of         Press Control-Break to cancel.";
  37.  
  38. char *block15 = "Enter character to fill block (ESC to exit): ";
  39.  
  40. char *block16 = "Enter starting number: ";
  41. char *block17 = "Enter increment: ";
  42. char *block18 = "Left or Right justify numbers in block (l/r)? ";
  43.  
  44. char *block20 = "can only expand tabs in line blocks";
  45. char *block26 = "can only expand tabs in line blocks";
  46.  
  47. char *block21 = "can only trim trailing space in line blocks";
  48.  
  49. char *block22a = "Phase 1) Quicksort";
  50. char *block22b = "Phase 2) Insertion sort";
  51. char *block23 = "Can only sort Box blocks";
  52. char *block24 = "Box block not marked";
  53.  
  54. char *block25 = "can only e-mail reply in line blocks";
  55.  
  56.  
  57. /*
  58.  * critical error handler
  59.  */
  60. char *critt1  = "N/A";
  61.  
  62.  
  63. /*
  64.  * diff
  65.  */
  66. char *diff_prompt1 = "DIFF:  Enter first window number and letter (e.g. 1a) : ";
  67. char *diff_prompt2 = "DIFF:  Enter next window number and letter (e.g. 2a) : ";
  68. char *diff_prompt3 = "DIFF:  Start diff at (B)eginning of file or (C)urrent position? (b/c) ";
  69. char *diff_prompt4 = "DIFF:  Diffed until EOF(s).  No diff's were found.  Press a key.";
  70. char *diff_prompt5 = "DIFF windows not defined:  ";
  71. char *diff_prompt6a = "window '";
  72. char *diff_prompt6b = "' not visible or does not exist  ";
  73. char *diff_prompt7a = "DIFF:  Ignore leading spaces (y/n)?  ";
  74. char *diff_prompt7b = "DIFF:  Ignore all space (y/n)?  ";
  75. char *diff_prompt7c = "DIFF:  Ignore blank lines (y/n)?  ";
  76. char *diff_prompt7d = "DIFF:  Ignore end of line (useful with reformatted paragraphs) (y/n)?  ";
  77.  
  78. char *diff_message = "diffing...";
  79. char *diff_blank   = "          ";
  80.  
  81.  
  82. /*
  83.  * dir list
  84.  */
  85. char *dir1 = "Search path or pattern : ";
  86. char *dir2 = "Invalid path or file name";
  87. char *stardotstar = "*.*";
  88. char *dir3 = "Out of memory";
  89.  
  90. char *dir4 = "Selected file : ";
  91. char *dir5 = "    File size : ";
  92. char *dir6 = "File count : ";
  93.  
  94. char *dir7 = "Cursor keys move.   Enter selects file or new directory";
  95.  
  96. /*
  97.  * ed.c
  98.  */
  99. char *ed1  = "line too long to add";
  100. char *ed2  = "cannot insert more characters";
  101. char *ed3  = "no more room to add";
  102.  
  103. char *ed4  = "cannot combine lines";
  104.  
  105. char *ed5  = "cannot duplicate line";
  106.  
  107. char *ed7a = "Logical tab interval: ";
  108. char *ed7b = "Physical (file) tab interval: ";
  109. char *ed8  = "tab size too long";
  110.  
  111. char *ed9  = "Enter new left margin (must be less than right margin) : ";
  112. char *ed10 = "Left margin out of range.";
  113.  
  114. char *ed11a = "Justify right margin?  (y/n): ";
  115. char *ed11 = "Enter new right margin (must be greater than left margin) : ";
  116. char *ed12 = "Right margin out of range.";
  117.  
  118. char *ed13 = "Enter paragraph margin (must be less than right margin) : ";
  119. char *ed14 = "Paragraph margin out of range.";
  120.  
  121. char *ed15 = "File name to edit : ";
  122.  
  123. char *ed16 = "Macro execution halted:  Internal stack overflow.";
  124. char *ed17 = "Macro execution halted:  Internal stack underflow.";
  125.  
  126. char *paused1 = "Paused:";
  127. char *paused2 = "  Press ESC to halt macro   ";
  128.  
  129. /*
  130.  * findrep.c
  131.  */
  132. char *find1  = "Options:  (P)rompt before replace   (N)o prompt (p/n): ";
  133. char *find2  = "(R)eplace  (S)kip  (E)xit  (r/s/e)";
  134. char *find3  = "Search has wrapped.  (C)ontinue or (Q)uit? (c/q): ";
  135.  
  136. char *find4  = "String to find: ";
  137. char *find5a = "string \"";
  138. char *find5b = "\" not found ";
  139. char *find6  = "find pattern not defined";
  140.  
  141.  
  142. char *find7[] = { "          ",
  143.                   "wrapped...",
  144.                   "searching ",
  145.                   "replacing "  };
  146.  
  147.  
  148. char *find8  = "string not found";
  149. char *find9  = "String to find: ";
  150. char *find10 = "Replacement:    ";
  151.  
  152. char *find11 = "Line number: ";
  153. char *find12 = "must be in the range 1 - ";
  154.  
  155.  
  156. /*
  157.  * hwind.c
  158.  */
  159. char *smart   = "S";
  160. char *fixed   = "F";
  161. char *intab   = "I";
  162. char *outtab  = "D";
  163. char *tabs    = "Tabs=";
  164.  
  165. char *indent  = "Indent";
  166. char *blank   = "      ";
  167.  
  168. char *ignore = "Ignore";
  169. char *match  = "Match ";
  170.  
  171. char *sync_off = "    ";
  172. char *sync_on  = "Sync";
  173.  
  174. char *ww_mode[]  = { "  ",
  175.                      "FW",
  176.                      "DW" };
  177.  
  178. char *eol_mode[] = { "Native",
  179.                      "CRLF  ",
  180.                      "LF    ",
  181.                      "Binary" };
  182.  
  183. /*
  184.  * main.c
  185.  */
  186. char *main1   = "Fatal error: ";
  187. char *main2   = "Warning: ";
  188. char *main3   = ": press a key";
  189.  
  190. char *main4   = "out of memory";
  191.  
  192. char *main5   = "negative move - contact Frank Davis";
  193.  
  194. char *main6   = "File is write protected.  Overwrite anyway? (y/n): ";
  195.  
  196. char *main7a  = "File '";
  197. char *main7b  = "'not found or error loading file";
  198.  
  199. char *main8a  = "file '";
  200. char *main8b  = "'too big.  FILE WILL BE TRUNCATED IF SAVED!";
  201.  
  202. char *main9   = "error reading file '";
  203.  
  204. char *main10a = "file '";
  205. char *main10b = "'too big";
  206.  
  207. char *main11  = "Press the key that will play back this recording : ";
  208. char *main12  = "Cannot assign a recording to this key";
  209. char *main13  = "No more room in recording buffer";
  210. char *main14  = "Overwrite recording assigned to this key? (y/n) : ";
  211.  
  212. char *main15  = "Recording";
  213.  
  214. char *main18  = "  Avail strokes = ";
  215.  
  216. char *main19  = "Name for macro file name: ";
  217. char *main20  = "Overwrite existing file? (y/n): ";
  218.  
  219. char *main21  = "Search path or file name for macro file : ";
  220. char *main22  = "Invalid path or file name";
  221.  
  222. /*
  223.  * utils.c
  224.  */
  225. char *utils1  = "line buffer overflow - rest of line ignored";
  226. char *utils3  = "buffer full, part line truncated";
  227.  
  228. char *utils4  = "Sort (A)scending or (D)escending (a/d)? : ";
  229.  
  230. char *utils5  = "Replace (F)orwand or (B)ackward (f/b)? : ";
  231.  
  232. char *utils6  = "Saving '";
  233. char *utils7a = "file  '";
  234. char *utils7b = "' is Read Only";
  235. char *utils8  = "cannot write to '";
  236.  
  237. char *utils9  = "New file name: ";
  238.  
  239. char *utils10 = "Overwrite existing file? (y/n): ";
  240.  
  241. char *utils11 = "Error writing file or disk full";
  242.  
  243. char *utils12 = "Abandon changes? (y/n): ";
  244.  
  245. char *utils13 = "Marker   not set in this file";
  246.  
  247. char *utils14 = "Enter new file attributes, \"AaSsHhRr\" : ";
  248. char *utils15 = "New file attributes not set";
  249.  
  250. char *utils16 = "No dirty lines found";
  251.  
  252. /*
  253.  * window.c
  254.  */
  255. char *win1 = "move cursor up first";
  256.  
  257. char *win2 = "move cursor right first";
  258. char *win3 = "move cursor left first";
  259.  
  260. char *win4 = "Press Up or Down to change window size.  Press Return when done.";
  261. char *win5 = "can not resize vertical window";
  262. char *win6 = "can not resize top window";
  263.  
  264. char *win7 = "cannot close current window";
  265.  
  266. char *win8 = "Invalid path or file name ";
  267. char *win9 = "No more files to load ";
  268.  
  269. char *win16 = "Enter search string:  ";
  270. char *win17 = "Enter file names to search:  ";
  271.  
  272. char *win18 = "Press the <SearchAndSeize> key for more files or any other key to quit:  ";
  273.  
  274. char *win19 = "Searching:  ";
  275.  
  276. /*
  277.  * wordwrap.c
  278.  */
  279. char *ww1  = "line would be too long.";
  280.