strtxt.inc 9.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216
  1. type standard_string=record
  2. nr:word;
  3. text:Pchar;
  4. end;
  5. const standard_string_count=107;
  6. standard_strings:array[0..standard_string_count-1] of standard_string=(
  7. (nr:sVideoFailed;text:'Video initialization failed.'),
  8. (nr:sButtonDefault;text:'Button default'),
  9. (nr:sButtonDisabled;text:'Button disabled'),
  10. (nr:sButtonNormal;text:'Button normal'),
  11. (nr:sButtonSelected;text:'Button selected'),
  12. (nr:sButtonShadow;text:'Button shadow'),
  13. (nr:sButtonShortcut;text:'Button shortcut'),
  14. (nr:sChangeDirectory;text:'Change Directory'),
  15. (nr:sClipboard;text:'Clipboard'),
  16. (nr:sClusterNormal;text:'Cluster normal'),
  17. (nr:sClusterSelected;text:'Cluster selected'),
  18. (nr:sClusterShortcut;text:'Cluster shortcut'),
  19. (nr:sColor;text:'Color'),
  20. (nr:sColors;text:'Colors'),
  21. (nr:sConfirm;text:'Confirm'),
  22. (nr:sDeleteFile;text:'Delete file?'#13#10#13#3'%s'),
  23. (nr:sDirectory;text:'Directory'),
  24. (nr:sDisabled;text:'Disabled'),
  25. (nr:sDrives;text:'Drives'),
  26. (nr:sError;text:'Error'),
  27. (nr:sFileAlreadyOpen;text:''#3'%s'#13#10#13#3'is already open in window %d.'),
  28. (nr:sFileCreateError;text:'Error creating file %s'),
  29. (nr:sFileReadError;text:'Error reading file %s'),
  30. (nr:sFileUntitled;text:'Save untitled file?'),
  31. (nr:sFileWriteError;text:'Error writing to file %s'),
  32. (nr:sFind;text:'Find'),
  33. (nr:sFrameActive;text:'Frame active'),
  34. (nr:sFrameBackground;text:'Frame/background'),
  35. (nr:sFrameIcons;text:'Frame icons'),
  36. (nr:sFramePassive;text:'Frame passive'),
  37. (nr:sHighlight;text:'Highlight'),
  38. (nr:sHistoryBarIcons;text:'History bar icons'),
  39. (nr:sHistoryBarPage;text:'History bar page'),
  40. (nr:sHistoryButton;text:'History button'),
  41. (nr:sHistorySides;text:'History sides'),
  42. (nr:sInformation;text:'Information'),
  43. (nr:sInformationPane;text:'Information pane'),
  44. (nr:sInputArrow;text:'Input arrow'),
  45. (nr:sInputNormal;text:'Input normal'),
  46. (nr:sInputSelected;text:'Input selected'),
  47. (nr:sInvalidCharacter;text:'Invalid character in input'),
  48. (nr:sInvalidDirectory;text:'Invalid directory.'),
  49. (nr:sInvalidDriveOrDir;text:'Invalid drive or directory.'),
  50. (nr:sInvalidFileName;text:'Invalid file name.'),
  51. (nr:sInvalidPicture;text:'Input does not conform to picture: %s'),
  52. (nr:sInvalidValue;text:'Value not in the range %d to %d'),
  53. (nr:sInverse;text:'Inverse'),
  54. (nr:sJumpTo;text:'Jump To'),
  55. (nr:sLabelNormal;text:'Label normal'),
  56. (nr:sLabelSelected;text:'Label selected'),
  57. (nr:sLabelShortcut;text:'Label shortcut'),
  58. (nr:sListDivider;text:'List divider'),
  59. (nr:sListFocused;text:'List focused'),
  60. (nr:sListNormal;text:'List normal'),
  61. (nr:sListSelected;text:'List selected'),
  62. (nr:sModified;text:''#3'%s'#13#10#13#3'has been modified. Save?'),
  63. (nr:sNoName;text:'NONAME'),
  64. (nr:sNormal;text:'Normal'),
  65. (nr:sNormalText;text:'Normal text'),
  66. (nr:sNotInList;text:'Input not in valid-list'),
  67. (nr:sOpen;text:'Open'),
  68. (nr:sOutOfMemory;text:'Not enough memory for this operation.'),
  69. (nr:sOutOfUnNamedWindows;text:'Out of unnamed window numbers. Save or discard some unnamed files and try again.'),
  70. (nr:sPasteNotPossible;text:'Wordwrap on: Paste not possible in current margins when at end of line.'),
  71. (nr:sReformatDocument;text:'Reformat Document'),
  72. (nr:sReformatNotPossible;text:'Paragraph reformat not possible while trying to wrap current line with current margins.'),
  73. (nr:sReformattingTheDocument;text:'Reformatting the document:'),
  74. (nr:sReplace;text:'Replace'),
  75. (nr:sReplaceFile;text:'Replace file?'#13#10#13#3'%s'),
  76. (nr:sReplaceNotPossible;text:'Wordwrap on: Replace not possible in current margins when at end of line.'),
  77. (nr:sReplaceThisOccurence;text:'Replace this occurence?'),
  78. (nr:sRightMargin;text:'Right Margin'),
  79. (nr:sSaveAs;text:'Save As'),
  80. (nr:sScrollbarIcons;text:'Scroll bar icons'),
  81. (nr:sScrollbarPage;text:'Scroll bar page'),
  82. (nr:sSearchStringNotFound;text:'Search string not found.'),
  83. (nr:sSelectFormatStart;text:'Select Format Start'),
  84. (nr:sSelectWhereToBegin;text:'Please select where to begin.'),
  85. (nr:sSelected;text:'Selected'),
  86. (nr:sSelectedDisabled;text:'Selected disabled'),
  87. (nr:sSetting;text:'Setting:'),
  88. (nr:sShortcut;text:'Shortcut'),
  89. (nr:sShortcutSelected;text:'ShortcutSelected'),
  90. (nr:sStaticText;text:'Static text'),
  91. (nr:sTabSettings;text:'Tab Settings'),
  92. (nr:sText;text:'Text'),
  93. (nr:sTooManyFiles;text:'Too many files.'),
  94. (nr:sTypeExitOnReturn;text:'Type EXIT to return...'),
  95. (nr:sUnderline;text:'Underline'),
  96. (nr:sUnknownDialog;text:'Unknown dialog requested!'),
  97. (nr:sUntitled;text:'Untitled'),
  98. (nr:sWarning;text:'Warning'),
  99. (nr:sWindowList;text:'Window List'),
  100. (nr:sWordWrapNotPossible;text:'Wordwrap on: Wordwrap not possible in current margins with continuous line.'),
  101. (nr:sWordWrapOff;text:'You must turn on wordwrap before you can reformat.'),
  102. (nr:smApr;text:'Apr'),
  103. (nr:smAug;text:'Aug'),
  104. (nr:smDec;text:'Dec'),
  105. (nr:smFeb;text:'Feb'),
  106. (nr:smJan;text:'Jan'),
  107. (nr:smJul;text:'Jul'),
  108. (nr:smJun;text:'Jun'),
  109. (nr:smMar;text:'Mar'),
  110. (nr:smMay;text:'May'),
  111. (nr:smNov;text:'Nov'),
  112. (nr:smOct;text:'Oct'),
  113. (nr:smSep;text:'Sep'));
  114. procedure InitResStrings;
  115. var i:word;
  116. begin
  117. for i:=0 to standard_string_count-1 do
  118. strings^.put(standard_strings[i].nr,strpas(standard_strings[i].text));
  119. end;
  120. const standard_label_count=81;
  121. standard_labels:array[0..standard_label_count-1] of standard_string=(
  122. (nr:slAbout;text:'~A~bout'),
  123. (nr:slAltF1;text:'Alt+F1'),
  124. (nr:slAltF3Close;text:'~Alt+F3~ Close'),
  125. (nr:slAltXExit;text:'~Alt-X~ Exit'),
  126. (nr:slBackground;text:'~B~ackground'),
  127. (nr:slCancel;text:'Cancel'),
  128. (nr:slCascade;text:'C~a~scade'),
  129. (nr:slCaseSensitive;text:'~C~ase sensitive'),
  130. (nr:slChDir;text:'~C~hdir'),
  131. (nr:slChangeDir;text:'~C~hange dir...'),
  132. (nr:slClear;text:'C~l~ear'),
  133. (nr:slClose;text:'~C~lose'),
  134. (nr:slCloseAll;text:'Cl~o~se all'),
  135. (nr:slColor;text:'~C~olor'),
  136. (nr:slContents;text:'~C~ontents'),
  137. (nr:slCopy;text:'~C~opy'),
  138. (nr:slCtrlF1;text:'Ctrl+F1'),
  139. (nr:slCurrentLine;text:'~C~urrent line'),
  140. (nr:slCut;text:'Cu~t~'),
  141. (nr:slDOSShell;text:'~D~OS shell'),
  142. (nr:slDelete;text:'~D~elete'),
  143. (nr:slDirectoryName;text:'Directory ~n~ame'),
  144. (nr:slDirectoryTree;text:'Directory ~t~ree'),
  145. (nr:slEdit;text:'~E~dit'),
  146. (nr:slEntireDocument;text:'~E~ntire document'),
  147. (nr:slExit;text:'E~x~it'),
  148. (nr:slF10Menu;text:'~F10~ Menu'),
  149. (nr:slF1Help;text:'~F1~ Help'),
  150. (nr:slF3Open;text:'~F3~ Open'),
  151. (nr:slFile;text:'~F~ile'),
  152. (nr:slFiles;text:'~F~iles'),
  153. (nr:slForeground;text:'~F~oreground'),
  154. (nr:slGroup;text:'~G~roup'),
  155. (nr:slHelp;text:'~H~elp'),
  156. (nr:slIndex;text:'~I~ndex'),
  157. (nr:slItem;text:'~I~tem'),
  158. (nr:slLineNumber;text:'~L~ine number'),
  159. (nr:slName;text:'~N~ame'),
  160. (nr:slNew;text:'~N~ew'),
  161. (nr:slNewText;text:'~N~ew text'),
  162. (nr:slNext;text:'~N~ext'),
  163. (nr:slNo;text:'~N~o'),
  164. (nr:slOk;text:'O~k~'),
  165. (nr:slOpen;text:'~O~pen'),
  166. (nr:slOpenDots;text:'~O~pen...'),
  167. (nr:slPaste;text:'~P~aste'),
  168. (nr:slPrevious;text:'~P~revious'),
  169. (nr:slPreviousTopic;text:'~P~revious topic'),
  170. (nr:slPromptOnReplace;text:'~P~rompt on replace'),
  171. (nr:slReformatDocument;text:'~R~eformat document'),
  172. (nr:slReplace;text:'~R~eplace'),
  173. (nr:slReplaceAll;text:'~R~eplace all'),
  174. (nr:slRevert;text:'~R~evert'),
  175. (nr:slSave;text:'~S~ave'),
  176. (nr:slSaveAll;text:'Save a~l~l'),
  177. (nr:slSaveAs;text:'S~a~ve as...'),
  178. (nr:slSaveFileAs;text:'~S~ave file as'),
  179. (nr:slShiftF1;text:'Shift+F1'),
  180. (nr:slSizeMove;text:'~S~ize/Move'),
  181. (nr:slTextToFind;text:'~T~ext to find'),
  182. (nr:slTile;text:'~T~ile'),
  183. (nr:slTopicSearch;text:'~T~opic search'),
  184. (nr:slUndo;text:'~U~ndo'),
  185. (nr:slUsingHelp;text:'~U~sing help'),
  186. (nr:slWholeWordsOnly;text:'~W~hole words only'),
  187. (nr:slWindow;text:'~W~indow'),
  188. (nr:slWindows;text:'~W~indows'),
  189. (nr:slYes;text:'~Y~es'),
  190. (nr:slZoom;text:'~Z~oom'),
  191. (nr:slAltF3;text:'Alt+F3'),
  192. (nr:slAltX;text:'Alt+X'),
  193. (nr:slF2;text:'F2'),
  194. (nr:slF3;text:'F3'),
  195. (nr:slF5;text:'F5'),
  196. (nr:slF6;text:'F6'),
  197. (nr:slCtrlDel;text:'Ctrl+Del'),
  198. (nr:slCtrlF5;text:'Ctrl+F5'),
  199. (nr:slCtrlIns;text:'Ctrl+Ins'),
  200. (nr:slShiftDel;text:'Shift+Del'),
  201. (nr:slShiftF6;text:'Shift+F6'),
  202. (nr:slShiftIns;text:'Shift+Ins'));
  203. procedure InitResLabels;
  204. var i:word;
  205. begin
  206. for i:=0 to standard_label_count-1 do
  207. labels^.put(standard_labels[i].nr,strpas(standard_labels[i].text));
  208. end;