summaryrefslogtreecommitdiff
path: root/support/dktools/dk3bmeps.ctr
blob: 2108dbd33225adbcd172bf0b2d15c07a100a3400 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
%%	options

copyright owner	=	Dirk Krause
copyright year	=	2011-xxxx
SPDX-License-Identifier:	BSD-3-Clause



%%	header

#ifdef __cplusplus
extern "C" {
#endif

/**	Get default message texts.
	@return	Pointer to message texts array.
*/
dkChar const * const *
dk3bmep_str_get_message_texts(void);

/**	Get short file name of string table file.
	@return	File name.
*/
dkChar const *
dk3bmep_str_get_string_table_name(void);

#ifdef __cplusplus
}
#endif



%%	module

#include "dk3all.h"
#include "dk3bmeps.h"


$!trace-include



/**	Message texts used by bmpp and wxbmpp.
*/
dkChar const * const	dk3bmep_str_default_texts[] = {
$!string-table macro=dkT
#
#   0: Simple newline.
#
\n
#
#   1: Space.
#
 
#
#   2: Error: Output mode object requires ps or pdf output!
#
Inconsistent options!\nOutput mode "object" can be used for "ps" and "pdf" output only!
#
#   3: Error: Illegal driver number!
#
Illegal driver number!
#
#   4: Error: Illegal mode, must be a placed object!
#
Illegal mode, must be a placed object!
#
#   5: Error: Illegal mode, must not be a placed object!
#
Illegal mode, must not be a placed object!
#
#   6: Error: Illegal mode, must be image, object or document!
#
Inconsistent options!\nMode must be image, object, or document!
#
#   7: Error: Illegal mode, must be image or object!
#
Inconsistent options!\nMode must be image or object!
#
#   8: Error: Driver bb can produce objects only!
#
Inconsistent options!\nDriver bb can produce objects only!
#
#   9: Error: Illegal size mode specified!
#
Illegal size mode specified!
#
#  10: Error: Size mode must be 1px=1pt for objects!
#
Inconsistent options!\nSize mode must be 1px=1pt for objects!
#
#  11: Warning: Draft can not be used when producing document!
#
Draft can not be used when producing document!
#
#  12/13: Error: Option string "..." too long!
#
Option string too long:\n"
"
#
#  14: Error: Empty language and options string!
#
Empty language and options string!
#
#  15/16: Error: Illegal driver!
#
Illegal driver: "
"!
#
#  17/18: Error: Illegal mode!
#
Illegal mode: "
"!
#
#  19: Error: Empty configuration string!
#
Empty configuration string!
#
#  20/21: Error: Configuration string "..." too long!
#
Configuration string too long:\n"
"!
#
#  22/23: Error: Unknown configuration option name!
#
Unknown configuration option name: "
"!
#
#  24/25: Error: Not a number!
#
Not a number: "
"!
#
#  26: Error: PS level must be 2 or 3!
#
PS level must be 2 or 3!
#
#  27/28: Error: Not a boolean value!
#
Not a boolean value: "
"!
#
#  29/30: Error: Unknown predictor!
#
Unknown predictor: "
"!
#
#  31: Error: Empty background specification string!
#
Empty background specification string!
#
#  32/33: Error: Syntax error in background specification!
#
Syntax error in background specification: "
"!
#
#  34: Error: Option needs an argument!
#
Option "size" needs an argument!
#
#  35/36: Error: Illegal size argument!
#
Illegal size argument: "
"!
#
#  37: Error: Option needs an argument!
#
Option "paper" needs an argument!
#
#  38: Error: Setting a paper size is only allowed for document!
#
Inconsistent options!\nSetting a paper size is only allowed when producing a document!
#
#  39/40: Error: Paper size not found!
#
Paper size not found: "
"!
#
#  41/42: Progress: Processing file "...".
#
Processing file "
".
#
#  43/44: Progress: Finished file "...".
#
Finished file "
".
#
#  45/46: Progress: Destination file is up to date.
#
Conversion not necessary for "
".
#
#  47: Progress: Reading image data.
#
Reading image data.
#
#  48: Progress: Analyzing image.
#
Analyzing image.
#
#  49: Answer yes
#
yes
#
#  50: Answer no
#
no
#
#  51: Color usage indicated:
#
Color usage indicated:        
#
#  52: Color usage found:
#
Color usage found:            
#
#  53: Alpha usage indicated:
#
Alpha usage indicated:        
#
#  54: Alpha usage found:
#
Alpha usage found:            
#
#  55: Bits per component indicated:
#
Bits per component indicated: 
#
#  56: Bits per component found:
#
Bits per component found:     
#
#  57: Bits per component used:
#
Bits per component used:      
#
#  58: ERROR: Error while writing data!
#
Error while writing data!
#
#  59: ERROR: Failed to start encoded chunk!
#
Failed to set up output compression!
#
#  60: ERROR: Invalid paper setup!
#
Invalid paper setup!
#
#  61: ERROR: Failed to read image data!
#
Failed to read image data!
#
#  62: ERROR: Incorrect page setup, borders larger than page!
#
Incorrect page setup, borders larger than page!
#
#  63/64: ERROR: File type "..." unknown!
#
File type "
" unknown!
#
#  65/66: ERROR: Illegal file type: "..."!
#
Illegal file type: "
"!
#
#  67: ERROR: No file type specified for standard input!
#
No file type specified for standard input!
#
#  68: ERROR: Inconsistent options found in option check!
#
Inconsistent options found in option check!
#
#  69/70: ERROR: Failed to read image file: ....!
#
Failed to read image file:\n"
"!
#
#  71: ERROR: PDF Writer failed to open a new page!
#
PDF writer failed to open a new page!
#
#  72: ERROR: Failed to write PDF output to file!
#
Failed to write PDF output to file!
#
#  73: ERROR: Failed to add image to PDF page!
#
Failed to add image to PDF page!
#
#  74/75	ERROR: Unknown output language "..."!
#
Illegal output language "
"!
#
#  76:	PROGRESS:	Writing output.
#
Writing output.
$!end
};

/**	Size of the dk3bmep_str_default_texts array.
*/
dkChar const dk3bmep_str_string_table_name[] = { dkT("dk3bmeps.str") };

dkChar const * const *
dk3bmep_str_get_message_texts(void)
{
  return dk3bmep_str_default_texts;
}


dkChar const *
dk3bmep_str_get_string_table_name(void)
{
  return dk3bmep_str_string_table_name;
}