1 #ifndef DEVICE_LOCALE_H
2 #define DEVICE_LOCALE_H
5 /****************************************************************************/
8 /* This file was created automatically by CatComp.
14 #include <exec/types.h>
18 #ifndef CATCOMP_NUMBERS
19 #define CATCOMP_NUMBERS
21 #ifndef CATCOMP_STRINGS
22 #define CATCOMP_STRINGS
27 #ifndef CATCOMP_STRINGS
28 #define CATCOMP_STRINGS
33 /****************************************************************************/
36 #ifdef CATCOMP_NUMBERS
39 #define MSG_CANCEL_GAD 1
40 #define MSG_PASSWORD_REQ 2
42 #define MSG_NOCAPSDEV 4
43 #define MSG_CANCELED 5
44 #define MSG_NOPASSWD 6
45 #define MSG_WRONGPASSWD 7
50 #define MSG_UNKNDISKIMGTYPE 12
51 #define MSG_UNKNCOMPMETHOD 13
53 #define MSG_BADDATA 15
55 #define MSG_BADCHECKSUM 17
58 #define MSG_WRONGDAA 20
59 #define MSG_EXPATERR 21
60 #define MSG_BZLIBERR 22
61 #define MSG_UNKNENCRMETHOD 23
63 #endif /* CATCOMP_NUMBERS */
66 /****************************************************************************/
69 #ifdef CATCOMP_STRINGS
71 #define MSG_OK_GAD_STR "_Ok"
72 #define MSG_CANCEL_GAD_STR "_Cancel"
73 #define MSG_PASSWORD_REQ_STR "Enter password:"
74 #define MSG_NOZLIB_STR "z.library required"
75 #define MSG_NOCAPSDEV_STR "capsimage.device required"
76 #define MSG_CANCELED_STR "operation canceled"
77 #define MSG_NOPASSWD_STR "password required"
78 #define MSG_WRONGPASSWD_STR "wrong password"
79 #define MSG_ZLIBERR_STR "z.library error"
80 #define MSG_CAPSERR_STR "capsimage.device error"
81 #define MSG_XPKERR_STR "xpkmaster.library error"
82 #define MSG_XADERR_STR "xadmaster.library error"
83 #define MSG_UNKNDISKIMGTYPE_STR "unsupported disk image type/format"
84 #define MSG_UNKNCOMPMETHOD_STR "unsupported compression method"
85 #define MSG_EOF_STR "unexpected end of file"
86 #define MSG_BADDATA_STR "file contains bad data"
87 #define MSG_BADCRC_STR "CRC check on file data failed"
88 #define MSG_BADCHECKSUM_STR "checksum error"
89 #define MSG_REQ_STR "%s required"
90 #define MSG_REQVER_STR "%s v%ld or newer required"
91 #define MSG_WRONGDAA_STR "wrong DAA file (multi-file DAA)"
92 #define MSG_EXPATERR_STR "expat.library error"
93 #define MSG_BZLIBERR_STR "bz2.library error"
94 #define MSG_UNKNENCRMETHOD_STR "unsupported encryption method"
96 #endif /* CATCOMP_STRINGS */
99 /****************************************************************************/
104 struct CatCompArrayType
107 CONST_STRPTR cca_Str
;
110 STATIC CONST
struct CatCompArrayType CatCompArray
[] =
112 {MSG_OK_GAD
,(CONST_STRPTR
)MSG_OK_GAD_STR
},
113 {MSG_CANCEL_GAD
,(CONST_STRPTR
)MSG_CANCEL_GAD_STR
},
114 {MSG_PASSWORD_REQ
,(CONST_STRPTR
)MSG_PASSWORD_REQ_STR
},
115 {MSG_NOZLIB
,(CONST_STRPTR
)MSG_NOZLIB_STR
},
116 {MSG_NOCAPSDEV
,(CONST_STRPTR
)MSG_NOCAPSDEV_STR
},
117 {MSG_CANCELED
,(CONST_STRPTR
)MSG_CANCELED_STR
},
118 {MSG_NOPASSWD
,(CONST_STRPTR
)MSG_NOPASSWD_STR
},
119 {MSG_WRONGPASSWD
,(CONST_STRPTR
)MSG_WRONGPASSWD_STR
},
120 {MSG_ZLIBERR
,(CONST_STRPTR
)MSG_ZLIBERR_STR
},
121 {MSG_CAPSERR
,(CONST_STRPTR
)MSG_CAPSERR_STR
},
122 {MSG_XPKERR
,(CONST_STRPTR
)MSG_XPKERR_STR
},
123 {MSG_XADERR
,(CONST_STRPTR
)MSG_XADERR_STR
},
124 {MSG_UNKNDISKIMGTYPE
,(CONST_STRPTR
)MSG_UNKNDISKIMGTYPE_STR
},
125 {MSG_UNKNCOMPMETHOD
,(CONST_STRPTR
)MSG_UNKNCOMPMETHOD_STR
},
126 {MSG_EOF
,(CONST_STRPTR
)MSG_EOF_STR
},
127 {MSG_BADDATA
,(CONST_STRPTR
)MSG_BADDATA_STR
},
128 {MSG_BADCRC
,(CONST_STRPTR
)MSG_BADCRC_STR
},
129 {MSG_BADCHECKSUM
,(CONST_STRPTR
)MSG_BADCHECKSUM_STR
},
130 {MSG_REQ
,(CONST_STRPTR
)MSG_REQ_STR
},
131 {MSG_REQVER
,(CONST_STRPTR
)MSG_REQVER_STR
},
132 {MSG_WRONGDAA
,(CONST_STRPTR
)MSG_WRONGDAA_STR
},
133 {MSG_EXPATERR
,(CONST_STRPTR
)MSG_EXPATERR_STR
},
134 {MSG_BZLIBERR
,(CONST_STRPTR
)MSG_BZLIBERR_STR
},
135 {MSG_UNKNENCRMETHOD
,(CONST_STRPTR
)MSG_UNKNENCRMETHOD_STR
},
138 #endif /* CATCOMP_ARRAY */
141 /****************************************************************************/
146 STATIC CONST UBYTE CatCompBlock
[] =
148 "\x00\x00\x00\x00\x00\x04"
149 MSG_OK_GAD_STR
"\x00"
150 "\x00\x00\x00\x01\x00\x08"
151 MSG_CANCEL_GAD_STR
"\x00"
152 "\x00\x00\x00\x02\x00\x10"
153 MSG_PASSWORD_REQ_STR
"\x00"
154 "\x00\x00\x00\x03\x00\x14"
155 MSG_NOZLIB_STR
"\x00\x00"
156 "\x00\x00\x00\x04\x00\x1A"
157 MSG_NOCAPSDEV_STR
"\x00"
158 "\x00\x00\x00\x05\x00\x14"
159 MSG_CANCELED_STR
"\x00\x00"
160 "\x00\x00\x00\x06\x00\x12"
161 MSG_NOPASSWD_STR
"\x00"
162 "\x00\x00\x00\x07\x00\x10"
163 MSG_WRONGPASSWD_STR
"\x00\x00"
164 "\x00\x00\x00\x08\x00\x10"
165 MSG_ZLIBERR_STR
"\x00"
166 "\x00\x00\x00\x09\x00\x18"
167 MSG_CAPSERR_STR
"\x00\x00"
168 "\x00\x00\x00\x0A\x00\x18"
169 MSG_XPKERR_STR
"\x00"
170 "\x00\x00\x00\x0B\x00\x18"
171 MSG_XADERR_STR
"\x00"
172 "\x00\x00\x00\x0C\x00\x24"
173 MSG_UNKNDISKIMGTYPE_STR
"\x00\x00"
174 "\x00\x00\x00\x0D\x00\x20"
175 MSG_UNKNCOMPMETHOD_STR
"\x00\x00"
176 "\x00\x00\x00\x0E\x00\x18"
177 MSG_EOF_STR
"\x00\x00"
178 "\x00\x00\x00\x0F\x00\x18"
179 MSG_BADDATA_STR
"\x00\x00"
180 "\x00\x00\x00\x10\x00\x1E"
181 MSG_BADCRC_STR
"\x00"
182 "\x00\x00\x00\x11\x00\x10"
183 MSG_BADCHECKSUM_STR
"\x00\x00"
184 "\x00\x00\x00\x12\x00\x0C"
186 "\x00\x00\x00\x13\x00\x1A"
187 MSG_REQVER_STR
"\x00"
188 "\x00\x00\x00\x14\x00\x20"
189 MSG_WRONGDAA_STR
"\x00"
190 "\x00\x00\x00\x15\x00\x14"
191 MSG_EXPATERR_STR
"\x00"
192 "\x00\x00\x00\x16\x00\x12"
193 MSG_BZLIBERR_STR
"\x00"
194 "\x00\x00\x00\x17\x00\x1E"
195 MSG_UNKNENCRMETHOD_STR
"\x00"
198 #endif /* CATCOMP_BLOCK */
201 /****************************************************************************/
205 #endif /* DEVICE_LOCALE_H */