home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Misc / tapecove.lha / TapeCover / Source / tapecover_strings.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-06-20  |  19.7 KB  |  614 lines

  1. #ifndef TAPECOVER_STRINGS_H
  2. #define TAPECOVER_STRINGS_H
  3.  
  4.  
  5. /****************************************************************************/
  6.  
  7.  
  8. /* This file was created automatically by CatComp.
  9.  * Do NOT edit by hand!
  10.  */
  11.  
  12.  
  13. #ifndef EXEC_TYPES_H
  14. #include <exec/types.h>
  15. #endif
  16.  
  17. #ifdef CATCOMP_ARRAY
  18. #undef CATCOMP_NUMBERS
  19. #undef CATCOMP_STRINGS
  20. #define CATCOMP_NUMBERS
  21. #define CATCOMP_STRINGS
  22. #endif
  23.  
  24. #ifdef CATCOMP_BLOCK
  25. #undef CATCOMP_STRINGS
  26. #define CATCOMP_STRINGS
  27. #endif
  28.  
  29.  
  30. /****************************************************************************/
  31.  
  32.  
  33. #ifdef CATCOMP_NUMBERS
  34.  
  35. #define MSG_PROJECT_MENU 0
  36. #define MSG_PROJECT_NEW 1
  37. #define MSG_PROJECT_OPEN 2
  38. #define MSG_PROJECT_SAVE 3
  39. #define MSG_PROJECT_SAVEAS 4
  40. #define MSG_PROJECT_PRINT 5
  41. #define MSG_PROJECT_EDIT 6
  42. #define MSG_PROJECT_PREFS 7
  43. #define MSG_PROJECT_ABOUT 8
  44. #define MSG_PROJECT_QUIT 9
  45. #define MSG_MASK_MENU 40
  46. #define MSG_MASK_LABEL1BOLD 41
  47. #define MSG_MASK_LABEL2BOLD 42
  48. #define MSG_MASK_CLEARSIDES 43
  49. #define MSG_EXPORT_MENU 60
  50. #define MSG_EXPORT_ASCII 61
  51. #define MSG_INFO_WIN 100
  52. #define MSG_PRINT_WIN 101
  53. #define MSG_PREF_WIN 102
  54. #define MSG_ASLLOAD_WIN 103
  55. #define MSG_ASLSAVE_WIN 104
  56. #define MSG_ASLEXPORT_WIN 105
  57. #define MSG_ASLSCREENMODE_WIN 106
  58. #define MSG_ASLFONT_WIN 107
  59. #define MSG_ASLPATH_WIN 108
  60. #define MSG_ASLPREFLOAD_WIN 109
  61. #define MSG_ASLPREFSAVE_WIN 110
  62. #define MSG_OK_GAD 200
  63. #define MSG_CANCEL_GAD 201
  64. #define MSG_PRINT_GAD 202
  65. #define MSG_NEW_GAD 203
  66. #define MSG_OPEN_GAD 204
  67. #define MSG_SAVE_GAD 205
  68. #define MSG_SAVEAS_GAD 206
  69. #define MSG_EDIT_GAD 207
  70. #define MSG_MPRINT_GAD 208
  71. #define MSG_PREFS_GAD 209
  72. #define MSG_QUIT_GAD 210
  73. #define MSG_DEFAULT_GAD 211
  74. #define MSG_PUBSCR_GAD 212
  75. #define MSG_OWNSCR_GAD 213
  76. #define MSG_SCRMODE_GAD 214
  77. #define MSG_GENFONT_GAD 215
  78. #define MSG_MASKFONT_GAD 216
  79. #define MSG_TAPEPATH_GAD 217
  80. #define MSG_EXPPATH_GAD 218
  81. #define MSG_ICONS_GAD 219
  82. #define MSG_FORMFEED_GAD 220
  83. #define MSG_SNAPSHOT_GAD 221
  84. #define MSG_CENTERED_GAD 222
  85. #define MSG_ERROR_RGAD 223
  86. #define MSG_CHANGED_RGAD 224
  87. #define MSG_OVERWRITE_RGAD 225
  88. #define MSG_ERROR 300
  89. #define MSG_SCREEN_ERROR 301
  90. #define MSG_OPENSCREEN_ERROR 302
  91. #define MSG_LIB_ERROR 303
  92. #define MSG_WIN_ERROR 304
  93. #define MSG_MWIN_ERROR 305
  94. #define MSG_AWIN_ERROR 306
  95. #define MSG_WINSIZE_ERROR 307
  96. #define MSG_GAD_ERROR 308
  97. #define MSG_MSGPORT_ERROR 309
  98. #define MSG_MENU_ERROR 310
  99. #define MSG_LMENU_ERROR 311
  100. #define MSG_SMENU_ERROR 312
  101. #define MSG_LOAD_ERROR 313
  102. #define MSG_SAVE_ERROR 314
  103. #define MSG_PATH_ERROR 315
  104. #define MSG_OPEN_ERROR 316
  105. #define MSG_FONT_ERROR 317
  106. #define MSG_PRINTER_ERROR 318
  107. #define MSG_FORM_ERROR 319
  108. #define MSG_PREF_ERROR 320
  109. #define MSG_PTXT_ERROR 321
  110. #define MSG_DATASET_ERROR 322
  111. #define MSG_NOCONFIG_ERROR 323
  112. #define MSG_CONFIG_ERROR 324
  113. #define MSG_COMMENT 400
  114. #define MSG_UNNAMED 401
  115. #define MSG_PLEASEWAIT 402
  116. #define MSG_SIDEA 403
  117. #define MSG_SIDEB 404
  118. #define MSG_LABEL 405
  119. #define MSG_BACK 406
  120. #define MSG_PRINTERDRIVER 407
  121. #define MSG_PRINTING 408
  122. #define MSG_RELEASE 409
  123. #define MSG_COPYRIGHT 410
  124. #define MSG_AUTHOR 411
  125. #define MSG_STREET 412
  126. #define MSG_CITY 413
  127. #define MSG_COUNTRY 414
  128. #define MSG_INT_PHONE 415
  129. #define MSG_EMAIL1 416
  130. #define MSG_EMAIL2 417
  131. #define MSG_CHANGED 418
  132. #define MSG_OVERWRITE_QUEST 419
  133.  
  134. #endif /* CATCOMP_NUMBERS */
  135.  
  136.  
  137. /****************************************************************************/
  138.  
  139.  
  140. #ifdef CATCOMP_STRINGS
  141.  
  142. #define MSG_PROJECT_MENU_STR "Project"
  143. #define MSG_PROJECT_NEW_STR "N\0New"
  144. #define MSG_PROJECT_OPEN_STR "O\0Open..."
  145. #define MSG_PROJECT_SAVE_STR "S\0Save"
  146. #define MSG_PROJECT_SAVEAS_STR "A\0Save As..."
  147. #define MSG_PROJECT_PRINT_STR "P\0Print..."
  148. #define MSG_PROJECT_EDIT_STR "E\0Edit"
  149. #define MSG_PROJECT_PREFS_STR "F\0Preferences..."
  150. #define MSG_PROJECT_ABOUT_STR "I\0About..."
  151. #define MSG_PROJECT_QUIT_STR "Q\0Quit Program"
  152. #define MSG_MASK_MENU_STR "Mask"
  153. #define MSG_MASK_LABEL1BOLD_STR "G\0Labelline 1 Bold"
  154. #define MSG_MASK_LABEL2BOLD_STR "H\0Labelline 2 Bold"
  155. #define MSG_MASK_CLEARSIDES_STR "C\0Clear Side Fields"
  156. #define MSG_EXPORT_MENU_STR "Export"
  157. #define MSG_EXPORT_ASCII_STR "X\0ASCII-File..."
  158. #define MSG_INFO_WIN_STR "Information"
  159. #define MSG_PRINT_WIN_STR "Print Dataset"
  160. #define MSG_PREF_WIN_STR "TapeCover Preferences"
  161. #define MSG_ASLLOAD_WIN_STR "Load File"
  162. #define MSG_ASLSAVE_WIN_STR "Save File"
  163. #define MSG_ASLEXPORT_WIN_STR "Export ASCII"
  164. #define MSG_ASLSCREENMODE_WIN_STR "Choose PublicScreen Mode"
  165. #define MSG_ASLFONT_WIN_STR "Choose Font"
  166. #define MSG_ASLPATH_WIN_STR "Choose Path"
  167. #define MSG_ASLPREFLOAD_WIN_STR "Load Preferences"
  168. #define MSG_ASLPREFSAVE_WIN_STR "Save Preferences"
  169. #define MSG_OK_GAD_STR "_Ok"
  170. #define MSG_CANCEL_GAD_STR "C_ancel"
  171. #define MSG_PRINT_GAD_STR "_Print"
  172. #define MSG_NEW_GAD_STR "_New"
  173. #define MSG_OPEN_GAD_STR "_Open"
  174. #define MSG_SAVE_GAD_STR "_Save"
  175. #define MSG_SAVEAS_GAD_STR "S_ave as"
  176. #define MSG_EDIT_GAD_STR "_Edit"
  177. #define MSG_MPRINT_GAD_STR "_Print"
  178. #define MSG_PREFS_GAD_STR "Pre_fs"
  179. #define MSG_QUIT_GAD_STR "_Quit"
  180. #define MSG_DEFAULT_GAD_STR "Set _Default"
  181. #define MSG_PUBSCR_GAD_STR "_PublicScreen"
  182. #define MSG_OWNSCR_GAD_STR "O_wn Screen"
  183. #define MSG_SCRMODE_GAD_STR "Screen _Mode..."
  184. #define MSG_GENFONT_GAD_STR "_General Font..."
  185. #define MSG_MASKFONT_GAD_STR "Mas_k Font..."
  186. #define MSG_TAPEPATH_GAD_STR "_Tapes Path..."
  187. #define MSG_EXPPATH_GAD_STR "E_xport Path..."
  188. #define MSG_ICONS_GAD_STR "Create _Icons"
  189. #define MSG_FORMFEED_GAD_STR "_Form Feed"
  190. #define MSG_SNAPSHOT_GAD_STR "S_napshot Mainwindow Position"
  191. #define MSG_CENTERED_GAD_STR "_Center Mainwindow"
  192. #define MSG_ERROR_RGAD_STR "Go on"
  193. #define MSG_CHANGED_RGAD_STR "Save First|Continue|Cancel"
  194. #define MSG_OVERWRITE_RGAD_STR "Other Name|Continue"
  195. #define MSG_ERROR_STR "Error !!!"
  196. #define MSG_SCREEN_ERROR_STR "Can't lock PublicScreen"
  197. #define MSG_OPENSCREEN_ERROR_STR "Can't open PublicScreen"
  198. #define MSG_LIB_ERROR_STR "Can't open Library"
  199. #define MSG_WIN_ERROR_STR "Can't open window"
  200. #define MSG_MWIN_ERROR_STR "TapeCover Main Window"
  201. #define MSG_AWIN_ERROR_STR "TapeCover Main AppWindow"
  202. #define MSG_WINSIZE_ERROR_STR "Window is too large for Screen"
  203. #define MSG_GAD_ERROR_STR "Can't create gadgets in"
  204. #define MSG_MSGPORT_ERROR_STR "Can't create Message Port for"
  205. #define MSG_MENU_ERROR_STR "Can't create Menus for"
  206. #define MSG_LMENU_ERROR_STR "Can't layout Menus for"
  207. #define MSG_SMENU_ERROR_STR "Can't set MenuStrip for"
  208. #define MSG_LOAD_ERROR_STR "Dataset not correctly loaded"
  209. #define MSG_SAVE_ERROR_STR "Dataset not correctly saved"
  210. #define MSG_PATH_ERROR_STR "Wrong path/file - name"
  211. #define MSG_OPEN_ERROR_STR "Can't open file"
  212. #define MSG_FONT_ERROR_STR "Can't open font"
  213. #define MSG_PRINTER_ERROR_STR "Printer not ready"
  214. #define MSG_FORM_ERROR_STR "No ILBM file"
  215. #define MSG_PREF_ERROR_STR "No preferences file"
  216. #define MSG_PTXT_ERROR_STR "No printer preferences file"
  217. #define MSG_DATASET_ERROR_STR "No TapeCover V1.x dataset"
  218. #define MSG_NOCONFIG_ERROR_STR "No TapeCover V2.1 config"
  219. #define MSG_CONFIG_ERROR_STR "Bad config file"
  220. #define MSG_COMMENT_STR "TapeCover V1.x Dataset"
  221. #define MSG_UNNAMED_STR "- unnamed -"
  222. #define MSG_PLEASEWAIT_STR "Please wait"
  223. #define MSG_SIDEA_STR "Side A :"
  224. #define MSG_SIDEB_STR "Side B :"
  225. #define MSG_LABEL_STR "Label :"
  226. #define MSG_BACK_STR "Info :"
  227. #define MSG_PRINTERDRIVER_STR "Printerdriver :"
  228. #define MSG_PRINTING_STR "Printing Dataset"
  229. #define MSG_RELEASE_STR "Release : 20.06.1995"
  230. #define MSG_COPYRIGHT_STR "Copyright 1992-5 by"
  231. #define MSG_AUTHOR_STR "Carsten Wich"
  232. #define MSG_STREET_STR "Hagebuttenweg 34"
  233. #define MSG_CITY_STR "44289 Dortmund"
  234. #define MSG_COUNTRY_STR "Germany"
  235. #define MSG_INT_PHONE_STR "Int.Phone : +49-2304-43692 Q"
  236. #define MSG_EMAIL1_STR "E-Mail : c_wich@river.prima.ruhr.de"
  237. #define MSG_EMAIL2_STR "Lifestyle : localhero@mbd.topnet.sub.de"
  238. #define MSG_CHANGED_STR "has been changed."
  239. #define MSG_OVERWRITE_QUEST_STR "already exists."
  240.  
  241. #endif /* CATCOMP_STRINGS */
  242.  
  243.  
  244. /****************************************************************************/
  245.  
  246.  
  247. #ifdef CATCOMP_ARRAY
  248.  
  249. struct CatCompArrayType
  250. {
  251.     LONG   cca_ID;
  252.     STRPTR cca_Str;
  253. };
  254.  
  255. static const struct CatCompArrayType CatCompArray[] =
  256. {
  257.     {MSG_PROJECT_MENU,(STRPTR)MSG_PROJECT_MENU_STR},
  258.     {MSG_PROJECT_NEW,(STRPTR)MSG_PROJECT_NEW_STR},
  259.     {MSG_PROJECT_OPEN,(STRPTR)MSG_PROJECT_OPEN_STR},
  260.     {MSG_PROJECT_SAVE,(STRPTR)MSG_PROJECT_SAVE_STR},
  261.     {MSG_PROJECT_SAVEAS,(STRPTR)MSG_PROJECT_SAVEAS_STR},
  262.     {MSG_PROJECT_PRINT,(STRPTR)MSG_PROJECT_PRINT_STR},
  263.     {MSG_PROJECT_EDIT,(STRPTR)MSG_PROJECT_EDIT_STR},
  264.     {MSG_PROJECT_PREFS,(STRPTR)MSG_PROJECT_PREFS_STR},
  265.     {MSG_PROJECT_ABOUT,(STRPTR)MSG_PROJECT_ABOUT_STR},
  266.     {MSG_PROJECT_QUIT,(STRPTR)MSG_PROJECT_QUIT_STR},
  267.     {MSG_MASK_MENU,(STRPTR)MSG_MASK_MENU_STR},
  268.     {MSG_MASK_LABEL1BOLD,(STRPTR)MSG_MASK_LABEL1BOLD_STR},
  269.     {MSG_MASK_LABEL2BOLD,(STRPTR)MSG_MASK_LABEL2BOLD_STR},
  270.     {MSG_MASK_CLEARSIDES,(STRPTR)MSG_MASK_CLEARSIDES_STR},
  271.     {MSG_EXPORT_MENU,(STRPTR)MSG_EXPORT_MENU_STR},
  272.     {MSG_EXPORT_ASCII,(STRPTR)MSG_EXPORT_ASCII_STR},
  273.     {MSG_INFO_WIN,(STRPTR)MSG_INFO_WIN_STR},
  274.     {MSG_PRINT_WIN,(STRPTR)MSG_PRINT_WIN_STR},
  275.     {MSG_PREF_WIN,(STRPTR)MSG_PREF_WIN_STR},
  276.     {MSG_ASLLOAD_WIN,(STRPTR)MSG_ASLLOAD_WIN_STR},
  277.     {MSG_ASLSAVE_WIN,(STRPTR)MSG_ASLSAVE_WIN_STR},
  278.     {MSG_ASLEXPORT_WIN,(STRPTR)MSG_ASLEXPORT_WIN_STR},
  279.     {MSG_ASLSCREENMODE_WIN,(STRPTR)MSG_ASLSCREENMODE_WIN_STR},
  280.     {MSG_ASLFONT_WIN,(STRPTR)MSG_ASLFONT_WIN_STR},
  281.     {MSG_ASLPATH_WIN,(STRPTR)MSG_ASLPATH_WIN_STR},
  282.     {MSG_ASLPREFLOAD_WIN,(STRPTR)MSG_ASLPREFLOAD_WIN_STR},
  283.     {MSG_ASLPREFSAVE_WIN,(STRPTR)MSG_ASLPREFSAVE_WIN_STR},
  284.     {MSG_OK_GAD,(STRPTR)MSG_OK_GAD_STR},
  285.     {MSG_CANCEL_GAD,(STRPTR)MSG_CANCEL_GAD_STR},
  286.     {MSG_PRINT_GAD,(STRPTR)MSG_PRINT_GAD_STR},
  287.     {MSG_NEW_GAD,(STRPTR)MSG_NEW_GAD_STR},
  288.     {MSG_OPEN_GAD,(STRPTR)MSG_OPEN_GAD_STR},
  289.     {MSG_SAVE_GAD,(STRPTR)MSG_SAVE_GAD_STR},
  290.     {MSG_SAVEAS_GAD,(STRPTR)MSG_SAVEAS_GAD_STR},
  291.     {MSG_EDIT_GAD,(STRPTR)MSG_EDIT_GAD_STR},
  292.     {MSG_MPRINT_GAD,(STRPTR)MSG_MPRINT_GAD_STR},
  293.     {MSG_PREFS_GAD,(STRPTR)MSG_PREFS_GAD_STR},
  294.     {MSG_QUIT_GAD,(STRPTR)MSG_QUIT_GAD_STR},
  295.     {MSG_DEFAULT_GAD,(STRPTR)MSG_DEFAULT_GAD_STR},
  296.     {MSG_PUBSCR_GAD,(STRPTR)MSG_PUBSCR_GAD_STR},
  297.     {MSG_OWNSCR_GAD,(STRPTR)MSG_OWNSCR_GAD_STR},
  298.     {MSG_SCRMODE_GAD,(STRPTR)MSG_SCRMODE_GAD_STR},
  299.     {MSG_GENFONT_GAD,(STRPTR)MSG_GENFONT_GAD_STR},
  300.     {MSG_MASKFONT_GAD,(STRPTR)MSG_MASKFONT_GAD_STR},
  301.     {MSG_TAPEPATH_GAD,(STRPTR)MSG_TAPEPATH_GAD_STR},
  302.     {MSG_EXPPATH_GAD,(STRPTR)MSG_EXPPATH_GAD_STR},
  303.     {MSG_ICONS_GAD,(STRPTR)MSG_ICONS_GAD_STR},
  304.     {MSG_FORMFEED_GAD,(STRPTR)MSG_FORMFEED_GAD_STR},
  305.     {MSG_SNAPSHOT_GAD,(STRPTR)MSG_SNAPSHOT_GAD_STR},
  306.     {MSG_CENTERED_GAD,(STRPTR)MSG_CENTERED_GAD_STR},
  307.     {MSG_ERROR_RGAD,(STRPTR)MSG_ERROR_RGAD_STR},
  308.     {MSG_CHANGED_RGAD,(STRPTR)MSG_CHANGED_RGAD_STR},
  309.     {MSG_OVERWRITE_RGAD,(STRPTR)MSG_OVERWRITE_RGAD_STR},
  310.     {MSG_ERROR,(STRPTR)MSG_ERROR_STR},
  311.     {MSG_SCREEN_ERROR,(STRPTR)MSG_SCREEN_ERROR_STR},
  312.     {MSG_OPENSCREEN_ERROR,(STRPTR)MSG_OPENSCREEN_ERROR_STR},
  313.     {MSG_LIB_ERROR,(STRPTR)MSG_LIB_ERROR_STR},
  314.     {MSG_WIN_ERROR,(STRPTR)MSG_WIN_ERROR_STR},
  315.     {MSG_MWIN_ERROR,(STRPTR)MSG_MWIN_ERROR_STR},
  316.     {MSG_AWIN_ERROR,(STRPTR)MSG_AWIN_ERROR_STR},
  317.     {MSG_WINSIZE_ERROR,(STRPTR)MSG_WINSIZE_ERROR_STR},
  318.     {MSG_GAD_ERROR,(STRPTR)MSG_GAD_ERROR_STR},
  319.     {MSG_MSGPORT_ERROR,(STRPTR)MSG_MSGPORT_ERROR_STR},
  320.     {MSG_MENU_ERROR,(STRPTR)MSG_MENU_ERROR_STR},
  321.     {MSG_LMENU_ERROR,(STRPTR)MSG_LMENU_ERROR_STR},
  322.     {MSG_SMENU_ERROR,(STRPTR)MSG_SMENU_ERROR_STR},
  323.     {MSG_LOAD_ERROR,(STRPTR)MSG_LOAD_ERROR_STR},
  324.     {MSG_SAVE_ERROR,(STRPTR)MSG_SAVE_ERROR_STR},
  325.     {MSG_PATH_ERROR,(STRPTR)MSG_PATH_ERROR_STR},
  326.     {MSG_OPEN_ERROR,(STRPTR)MSG_OPEN_ERROR_STR},
  327.     {MSG_FONT_ERROR,(STRPTR)MSG_FONT_ERROR_STR},
  328.     {MSG_PRINTER_ERROR,(STRPTR)MSG_PRINTER_ERROR_STR},
  329.     {MSG_FORM_ERROR,(STRPTR)MSG_FORM_ERROR_STR},
  330.     {MSG_PREF_ERROR,(STRPTR)MSG_PREF_ERROR_STR},
  331.     {MSG_PTXT_ERROR,(STRPTR)MSG_PTXT_ERROR_STR},
  332.     {MSG_DATASET_ERROR,(STRPTR)MSG_DATASET_ERROR_STR},
  333.     {MSG_NOCONFIG_ERROR,(STRPTR)MSG_NOCONFIG_ERROR_STR},
  334.     {MSG_CONFIG_ERROR,(STRPTR)MSG_CONFIG_ERROR_STR},
  335.     {MSG_COMMENT,(STRPTR)MSG_COMMENT_STR},
  336.     {MSG_UNNAMED,(STRPTR)MSG_UNNAMED_STR},
  337.     {MSG_PLEASEWAIT,(STRPTR)MSG_PLEASEWAIT_STR},
  338.     {MSG_SIDEA,(STRPTR)MSG_SIDEA_STR},
  339.     {MSG_SIDEB,(STRPTR)MSG_SIDEB_STR},
  340.     {MSG_LABEL,(STRPTR)MSG_LABEL_STR},
  341.     {MSG_BACK,(STRPTR)MSG_BACK_STR},
  342.     {MSG_PRINTERDRIVER,(STRPTR)MSG_PRINTERDRIVER_STR},
  343.     {MSG_PRINTING,(STRPTR)MSG_PRINTING_STR},
  344.     {MSG_RELEASE,(STRPTR)MSG_RELEASE_STR},
  345.     {MSG_COPYRIGHT,(STRPTR)MSG_COPYRIGHT_STR},
  346.     {MSG_AUTHOR,(STRPTR)MSG_AUTHOR_STR},
  347.     {MSG_STREET,(STRPTR)MSG_STREET_STR},
  348.     {MSG_CITY,(STRPTR)MSG_CITY_STR},
  349.     {MSG_COUNTRY,(STRPTR)MSG_COUNTRY_STR},
  350.     {MSG_INT_PHONE,(STRPTR)MSG_INT_PHONE_STR},
  351.     {MSG_EMAIL1,(STRPTR)MSG_EMAIL1_STR},
  352.     {MSG_EMAIL2,(STRPTR)MSG_EMAIL2_STR},
  353.     {MSG_CHANGED,(STRPTR)MSG_CHANGED_STR},
  354.     {MSG_OVERWRITE_QUEST,(STRPTR)MSG_OVERWRITE_QUEST_STR},
  355. };
  356.  
  357. #endif /* CATCOMP_ARRAY */
  358.  
  359.  
  360. /****************************************************************************/
  361.  
  362.  
  363. #ifdef CATCOMP_BLOCK
  364.  
  365. static const char CatCompBlock[] =
  366. {
  367.     "\x00\x00\x00\x00\x00\x08"
  368.     MSG_PROJECT_MENU_STR "\x00"
  369.     "\x00\x00\x00\x01\x00\x06"
  370.     MSG_PROJECT_NEW_STR "\x00"
  371.     "\x00\x00\x00\x02\x00\x0A"
  372.     MSG_PROJECT_OPEN_STR "\x00"
  373.     "\x00\x00\x00\x03\x00\x08"
  374.     MSG_PROJECT_SAVE_STR "\x00\x00"
  375.     "\x00\x00\x00\x04\x00\x0E"
  376.     MSG_PROJECT_SAVEAS_STR "\x00\x00"
  377.     "\x00\x00\x00\x05\x00\x0C"
  378.     MSG_PROJECT_PRINT_STR "\x00\x00"
  379.     "\x00\x00\x00\x06\x00\x08"
  380.     MSG_PROJECT_EDIT_STR "\x00\x00"
  381.     "\x00\x00\x00\x07\x00\x12"
  382.     MSG_PROJECT_PREFS_STR "\x00\x00"
  383.     "\x00\x00\x00\x08\x00\x0C"
  384.     MSG_PROJECT_ABOUT_STR "\x00\x00"
  385.     "\x00\x00\x00\x09\x00\x10"
  386.     MSG_PROJECT_QUIT_STR "\x00\x00"
  387.     "\x00\x00\x00\x28\x00\x06"
  388.     MSG_MASK_MENU_STR "\x00\x00"
  389.     "\x00\x00\x00\x29\x00\x14"
  390.     MSG_MASK_LABEL1BOLD_STR "\x00\x00"
  391.     "\x00\x00\x00\x2A\x00\x14"
  392.     MSG_MASK_LABEL2BOLD_STR "\x00\x00"
  393.     "\x00\x00\x00\x2B\x00\x14"
  394.     MSG_MASK_CLEARSIDES_STR "\x00"
  395.     "\x00\x00\x00\x3C\x00\x08"
  396.     MSG_EXPORT_MENU_STR "\x00\x00"
  397.     "\x00\x00\x00\x3D\x00\x10"
  398.     MSG_EXPORT_ASCII_STR "\x00"
  399.     "\x00\x00\x00\x64\x00\x0C"
  400.     MSG_INFO_WIN_STR "\x00"
  401.     "\x00\x00\x00\x65\x00\x0E"
  402.     MSG_PRINT_WIN_STR "\x00"
  403.     "\x00\x00\x00\x66\x00\x16"
  404.     MSG_PREF_WIN_STR "\x00"
  405.     "\x00\x00\x00\x67\x00\x0A"
  406.     MSG_ASLLOAD_WIN_STR "\x00"
  407.     "\x00\x00\x00\x68\x00\x0A"
  408.     MSG_ASLSAVE_WIN_STR "\x00"
  409.     "\x00\x00\x00\x69\x00\x0E"
  410.     MSG_ASLEXPORT_WIN_STR "\x00\x00"
  411.     "\x00\x00\x00\x6A\x00\x1A"
  412.     MSG_ASLSCREENMODE_WIN_STR "\x00\x00"
  413.     "\x00\x00\x00\x6B\x00\x0C"
  414.     MSG_ASLFONT_WIN_STR "\x00"
  415.     "\x00\x00\x00\x6C\x00\x0C"
  416.     MSG_ASLPATH_WIN_STR "\x00"
  417.     "\x00\x00\x00\x6D\x00\x12"
  418.     MSG_ASLPREFLOAD_WIN_STR "\x00\x00"
  419.     "\x00\x00\x00\x6E\x00\x12"
  420.     MSG_ASLPREFSAVE_WIN_STR "\x00\x00"
  421.     "\x00\x00\x00\xC8\x00\x04"
  422.     MSG_OK_GAD_STR "\x00"
  423.     "\x00\x00\x00\xC9\x00\x08"
  424.     MSG_CANCEL_GAD_STR "\x00"
  425.     "\x00\x00\x00\xCA\x00\x08"
  426.     MSG_PRINT_GAD_STR "\x00\x00"
  427.     "\x00\x00\x00\xCB\x00\x06"
  428.     MSG_NEW_GAD_STR "\x00\x00"
  429.     "\x00\x00\x00\xCC\x00\x06"
  430.     MSG_OPEN_GAD_STR "\x00"
  431.     "\x00\x00\x00\xCD\x00\x06"
  432.     MSG_SAVE_GAD_STR "\x00"
  433.     "\x00\x00\x00\xCE\x00\x0A"
  434.     MSG_SAVEAS_GAD_STR "\x00\x00"
  435.     "\x00\x00\x00\xCF\x00\x06"
  436.     MSG_EDIT_GAD_STR "\x00"
  437.     "\x00\x00\x00\xD0\x00\x08"
  438.     MSG_MPRINT_GAD_STR "\x00\x00"
  439.     "\x00\x00\x00\xD1\x00\x08"
  440.     MSG_PREFS_GAD_STR "\x00\x00"
  441.     "\x00\x00\x00\xD2\x00\x06"
  442.     MSG_QUIT_GAD_STR "\x00"
  443.     "\x00\x00\x00\xD3\x00\x0E"
  444.     MSG_DEFAULT_GAD_STR "\x00\x00"
  445.     "\x00\x00\x00\xD4\x00\x0E"
  446.     MSG_PUBSCR_GAD_STR "\x00"
  447.     "\x00\x00\x00\xD5\x00\x0C"
  448.     MSG_OWNSCR_GAD_STR "\x00"
  449.     "\x00\x00\x00\xD6\x00\x10"
  450.     MSG_SCRMODE_GAD_STR "\x00"
  451.     "\x00\x00\x00\xD7\x00\x12"
  452.     MSG_GENFONT_GAD_STR "\x00\x00"
  453.     "\x00\x00\x00\xD8\x00\x0E"
  454.     MSG_MASKFONT_GAD_STR "\x00"
  455.     "\x00\x00\x00\xD9\x00\x10"
  456.     MSG_TAPEPATH_GAD_STR "\x00\x00"
  457.     "\x00\x00\x00\xDA\x00\x10"
  458.     MSG_EXPPATH_GAD_STR "\x00"
  459.     "\x00\x00\x00\xDB\x00\x0E"
  460.     MSG_ICONS_GAD_STR "\x00"
  461.     "\x00\x00\x00\xDC\x00\x0C"
  462.     MSG_FORMFEED_GAD_STR "\x00\x00"
  463.     "\x00\x00\x00\xDD\x00\x1E"
  464.     MSG_SNAPSHOT_GAD_STR "\x00"
  465.     "\x00\x00\x00\xDE\x00\x14"
  466.     MSG_CENTERED_GAD_STR "\x00\x00"
  467.     "\x00\x00\x00\xDF\x00\x06"
  468.     MSG_ERROR_RGAD_STR "\x00"
  469.     "\x00\x00\x00\xE0\x00\x1C"
  470.     MSG_CHANGED_RGAD_STR "\x00\x00"
  471.     "\x00\x00\x00\xE1\x00\x14"
  472.     MSG_OVERWRITE_RGAD_STR "\x00"
  473.     "\x00\x00\x01\x2C\x00\x0A"
  474.     MSG_ERROR_STR "\x00"
  475.     "\x00\x00\x01\x2D\x00\x18"
  476.     MSG_SCREEN_ERROR_STR "\x00"
  477.     "\x00\x00\x01\x2E\x00\x18"
  478.     MSG_OPENSCREEN_ERROR_STR "\x00"
  479.     "\x00\x00\x01\x2F\x00\x14"
  480.     MSG_LIB_ERROR_STR "\x00\x00"
  481.     "\x00\x00\x01\x30\x00\x12"
  482.     MSG_WIN_ERROR_STR "\x00"
  483.     "\x00\x00\x01\x31\x00\x16"
  484.     MSG_MWIN_ERROR_STR "\x00"
  485.     "\x00\x00\x01\x32\x00\x1A"
  486.     MSG_AWIN_ERROR_STR "\x00\x00"
  487.     "\x00\x00\x01\x33\x00\x20"
  488.     MSG_WINSIZE_ERROR_STR "\x00\x00"
  489.     "\x00\x00\x01\x34\x00\x18"
  490.     MSG_GAD_ERROR_STR "\x00"
  491.     "\x00\x00\x01\x35\x00\x1E"
  492.     MSG_MSGPORT_ERROR_STR "\x00"
  493.     "\x00\x00\x01\x36\x00\x18"
  494.     MSG_MENU_ERROR_STR "\x00\x00"
  495.     "\x00\x00\x01\x37\x00\x18"
  496.     MSG_LMENU_ERROR_STR "\x00\x00"
  497.     "\x00\x00\x01\x38\x00\x18"
  498.     MSG_SMENU_ERROR_STR "\x00"
  499.     "\x00\x00\x01\x39\x00\x1E"
  500.     MSG_LOAD_ERROR_STR "\x00\x00"
  501.     "\x00\x00\x01\x3A\x00\x1C"
  502.     MSG_SAVE_ERROR_STR "\x00"
  503.     "\x00\x00\x01\x3B\x00\x18"
  504.     MSG_PATH_ERROR_STR "\x00\x00"
  505.     "\x00\x00\x01\x3C\x00\x10"
  506.     MSG_OPEN_ERROR_STR "\x00"
  507.     "\x00\x00\x01\x3D\x00\x10"
  508.     MSG_FONT_ERROR_STR "\x00"
  509.     "\x00\x00\x01\x3E\x00\x12"
  510.     MSG_PRINTER_ERROR_STR "\x00"
  511.     "\x00\x00\x01\x3F\x00\x0E"
  512.     MSG_FORM_ERROR_STR "\x00\x00"
  513.     "\x00\x00\x01\x40\x00\x14"
  514.     MSG_PREF_ERROR_STR "\x00"
  515.     "\x00\x00\x01\x41\x00\x1C"
  516.     MSG_PTXT_ERROR_STR "\x00"
  517.     "\x00\x00\x01\x42\x00\x1A"
  518.     MSG_DATASET_ERROR_STR "\x00"
  519.     "\x00\x00\x01\x43\x00\x1A"
  520.     MSG_NOCONFIG_ERROR_STR "\x00\x00"
  521.     "\x00\x00\x01\x44\x00\x10"
  522.     MSG_CONFIG_ERROR_STR "\x00"
  523.     "\x00\x00\x01\x90\x00\x18"
  524.     MSG_COMMENT_STR "\x00\x00"
  525.     "\x00\x00\x01\x91\x00\x0C"
  526.     MSG_UNNAMED_STR "\x00"
  527.     "\x00\x00\x01\x92\x00\x0C"
  528.     MSG_PLEASEWAIT_STR "\x00"
  529.     "\x00\x00\x01\x93\x00\x0A"
  530.     MSG_SIDEA_STR "\x00\x00"
  531.     "\x00\x00\x01\x94\x00\x0A"
  532.     MSG_SIDEB_STR "\x00\x00"
  533.     "\x00\x00\x01\x95\x00\x08"
  534.     MSG_LABEL_STR "\x00"
  535.     "\x00\x00\x01\x96\x00\x08"
  536.     MSG_BACK_STR "\x00\x00"
  537.     "\x00\x00\x01\x97\x00\x10"
  538.     MSG_PRINTERDRIVER_STR "\x00"
  539.     "\x00\x00\x01\x98\x00\x12"
  540.     MSG_PRINTING_STR "\x00\x00"
  541.     "\x00\x00\x01\x99\x00\x16"
  542.     MSG_RELEASE_STR "\x00\x00"
  543.     "\x00\x00\x01\x9A\x00\x14"
  544.     MSG_COPYRIGHT_STR "\x00"
  545.     "\x00\x00\x01\x9B\x00\x0E"
  546.     MSG_AUTHOR_STR "\x00\x00"
  547.     "\x00\x00\x01\x9C\x00\x12"
  548.     MSG_STREET_STR "\x00\x00"
  549.     "\x00\x00\x01\x9D\x00\x10"
  550.     MSG_CITY_STR "\x00\x00"
  551.     "\x00\x00\x01\x9E\x00\x08"
  552.     MSG_COUNTRY_STR "\x00"
  553.     "\x00\x00\x01\x9F\x00\x1E"
  554.     MSG_INT_PHONE_STR "\x00\x00"
  555.     "\x00\x00\x01\xA0\x00\x24"
  556.     MSG_EMAIL1_STR "\x00"
  557.     "\x00\x00\x01\xA1\x00\x28"
  558.     MSG_EMAIL2_STR "\x00"
  559.     "\x00\x00\x01\xA2\x00\x12"
  560.     MSG_CHANGED_STR "\x00"
  561.     "\x00\x00\x01\xA3\x00\x10"
  562.     MSG_OVERWRITE_QUEST_STR "\x00"
  563. };
  564.  
  565. #endif /* CATCOMP_BLOCK */
  566.  
  567.  
  568. /****************************************************************************/
  569.  
  570.  
  571. struct LocaleInfo
  572. {
  573.     APTR li_LocaleBase;
  574.     APTR li_Catalog;
  575. };
  576.  
  577.  
  578. #ifdef CATCOMP_CODE
  579.  
  580. STRPTR GetString(struct LocaleInfo *li, LONG stringNum)
  581. {
  582. LONG   *l;
  583. UWORD  *w;
  584. STRPTR  builtIn;
  585.  
  586.     l = (LONG *)CatCompBlock;
  587.  
  588.     while (*l != stringNum)
  589.     {
  590.         w = (UWORD *)((ULONG)l + 4);
  591.         l = (LONG *)((ULONG)l + (ULONG)*w + 6);
  592.     }
  593.     builtIn = (STRPTR)((ULONG)l + 6);
  594.  
  595. #define XLocaleBase LocaleBase
  596. #define LocaleBase li->li_LocaleBase
  597.     
  598.     if (LocaleBase)
  599.         return(GetCatalogStr(li->li_Catalog,stringNum,builtIn));
  600. #define LocaleBase XLocaleBase
  601. #undef XLocaleBase
  602.  
  603.     return(builtIn);
  604. }
  605.  
  606.  
  607. #endif /* CATCOMP_CODE */
  608.  
  609.  
  610. /****************************************************************************/
  611.  
  612.  
  613. #endif /* TAPECOVER_STRINGS_H */
  614.