blob: 3deecde69d6d227b2e1dd94465d5fac5637beab2 (
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
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
|
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
*
* This file is part of OpenOffice.org.
*
* OpenOffice.org is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License version 3
* only, as published by the Free Software Foundation.
*
* OpenOffice.org is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License version 3 for more details
* (a copy is included in the LICENSE file that accompanied this code).
*
* You should have received a copy of the GNU Lesser General Public License
* version 3 along with OpenOffice.org. If not, see
* <http://www.openoffice.org/license.html>
* for a copy of the LGPLv3 License.
*
************************************************************************/
#define __RSC
#ifndef _ERRCODE_HXX //autogen
#include <tools/errcode.hxx>
#endif
#include "sb.hrc"
#include <basic/sberrors.hxx>
Resource RID_BASIC_START
{
String SbERR_SYNTAX & ERRCODE_RES_MASK
{
Text [ en-US ] = "Syntax error." ;
};
String SbERR_NO_GOSUB & ERRCODE_RES_MASK
{
Text [ en-US ] = "Return without Gosub." ;
};
String SbERR_REDO_FROM_START & ERRCODE_RES_MASK
{
Text [ en-US ] = "Incorrect entry; please retry." ;
};
String SbERR_BAD_ARGUMENT & ERRCODE_RES_MASK
{
Text [ en-US ] = "Invalid procedure call." ;
};
String SbERR_MATH_OVERFLOW & ERRCODE_RES_MASK
{
Text [ en-US ] = "Overflow." ;
};
String SbERR_NO_MEMORY & ERRCODE_RES_MASK
{
Text [ en-US ] = "Not enough memory." ;
};
String SbERR_ALREADY_DIM & ERRCODE_RES_MASK
{
Text [ en-US ] = "Array already dimensioned." ;
};
String SbERR_OUT_OF_RANGE & ERRCODE_RES_MASK
{
Text [ en-US ] = "Index out of defined range." ;
};
String SbERR_DUPLICATE_DEF & ERRCODE_RES_MASK
{
Text [ en-US ] = "Duplicate definition." ;
};
String SbERR_ZERODIV & ERRCODE_RES_MASK
{
Text [ en-US ] = "Division by zero." ;
};
String SbERR_VAR_UNDEFINED & ERRCODE_RES_MASK
{
Text [ en-US ] = "Variable not defined." ;
};
String SbERR_CONVERSION & ERRCODE_RES_MASK
{
Text [ en-US ] = "Data type mismatch." ;
};
String SbERR_BAD_PARAMETER & ERRCODE_RES_MASK
{
Text [ en-US ] = "Invalid parameter." ;
};
String SbERR_USER_ABORT & ERRCODE_RES_MASK
{
Text [ en-US ] = "Process interrupted by user." ;
};
String SbERR_BAD_RESUME & ERRCODE_RES_MASK
{
Text [ en-US ] = "Resume without error." ;
};
String SbERR_STACK_OVERFLOW & ERRCODE_RES_MASK
{
Text [ en-US ] = "Not enough stack memory." ;
};
String SbERR_PROC_UNDEFINED & ERRCODE_RES_MASK
{
Text [ en-US ] = "Sub-procedure or function procedure not defined." ;
};
String SbERR_BAD_DLL_LOAD & ERRCODE_RES_MASK
{
Text [ en-US ] = "Error loading DLL file." ;
};
String SbERR_BAD_DLL_CALL & ERRCODE_RES_MASK
{
Text [ en-US ] = "Wrong DLL call convention." ;
};
String SbERR_INTERNAL_ERROR & ERRCODE_RES_MASK
{
Text [ en-US ] = "Internal error $(ARG1)." ;
};
String SbERR_BAD_CHANNEL & ERRCODE_RES_MASK
{
Text [ en-US ] = "Invalid file name or file number." ;
};
String SbERR_FILE_NOT_FOUND & ERRCODE_RES_MASK
{
Text [ en-US ] = "File not found." ;
};
String SbERR_BAD_FILE_MODE & ERRCODE_RES_MASK
{
Text [ en-US ] = "Incorrect file mode." ;
};
String SbERR_FILE_ALREADY_OPEN & ERRCODE_RES_MASK
{
Text [ en-US ] = "File already open." ;
};
String SbERR_IO_ERROR & ERRCODE_RES_MASK
{
Text [ en-US ] = "Device I/O error." ;
};
String SbERR_FILE_EXISTS & ERRCODE_RES_MASK
{
Text [ en-US ] = "File already exists." ;
};
String SbERR_BAD_RECORD_LENGTH & ERRCODE_RES_MASK
{
Text [ en-US ] = "Incorrect record length." ;
};
String SbERR_DISK_FULL & ERRCODE_RES_MASK
{
Text [ en-US ] = "Disk or hard drive full." ;
};
String SbERR_READ_PAST_EOF & ERRCODE_RES_MASK
{
Text [ en-US ] = "Reading exceeds EOF." ;
};
String SbERR_BAD_RECORD_NUMBER & ERRCODE_RES_MASK
{
Text [ en-US ] = "Incorrect record number." ;
};
String SbERR_TOO_MANY_FILES & ERRCODE_RES_MASK
{
Text [ en-US ] = "Too many files." ;
};
String SbERR_NO_DEVICE & ERRCODE_RES_MASK
{
Text [ en-US ] = "Device not available." ;
};
String SbERR_ACCESS_DENIED & ERRCODE_RES_MASK
{
Text [ en-US ] = "Access denied." ;
};
String SbERR_NOT_READY & ERRCODE_RES_MASK
{
Text [ en-US ] = "Disk not ready." ;
};
String SbERR_NOT_IMPLEMENTED & ERRCODE_RES_MASK
{
Text [ en-US ] = "Not implemented." ;
};
String SbERR_DIFFERENT_DRIVE & ERRCODE_RES_MASK
{
Text [ en-US ] = "Renaming on different drives impossible." ;
};
String SbERR_ACCESS_ERROR & ERRCODE_RES_MASK
{
Text [ en-US ] = "Path/File access error." ;
};
String SbERR_PATH_NOT_FOUND & ERRCODE_RES_MASK
{
Text [ en-US ] = "Path not found." ;
};
String SbERR_NO_OBJECT & ERRCODE_RES_MASK
{
Text [ en-US ] = "Object variable not set." ;
};
String SbERR_BAD_PATTERN & ERRCODE_RES_MASK
{
Text [ en-US ] = "Invalid string pattern." ;
};
String SBERR_IS_NULL & ERRCODE_RES_MASK
{
Text [ en-US ] = "Use of zero not permitted." ;
};
String SbERR_DDE_ERROR & ERRCODE_RES_MASK
{
Text [ en-US ] = "DDE Error." ;
};
String SbERR_DDE_WAITINGACK & ERRCODE_RES_MASK
{
Text [ en-US ] = "Awaiting response to DDE connection." ;
};
String SbERR_DDE_OUTOFCHANNELS & ERRCODE_RES_MASK
{
Text [ en-US ] = "No DDE channels available." ;
};
String SbERR_DDE_NO_RESPONSE & ERRCODE_RES_MASK
{
Text [ en-US ] = "No application responded to DDE connect initiation." ;
};
String SbERR_DDE_MULT_RESPONSES & ERRCODE_RES_MASK
{
Text [ en-US ] = "Too many applications responded to DDE connect initiation." ;
};
String SbERR_DDE_CHANNEL_LOCKED & ERRCODE_RES_MASK
{
Text [ en-US ] = "DDE channel locked." ;
};
String SbERR_DDE_NOTPROCESSED & ERRCODE_RES_MASK
{
Text [ en-US ] = "External application cannot execute DDE operation." ;
};
String SbERR_DDE_TIMEOUT & ERRCODE_RES_MASK
{
Text [ en-US ] = "Timeout while waiting for DDE response." ;
};
String SbERR_DDE_USER_INTERRUPT & ERRCODE_RES_MASK
{
Text [ en-US ] = "User pressed ESCAPE during DDE operation." ;
};
String SbERR_DDE_BUSY & ERRCODE_RES_MASK
{
Text [ en-US ] = "External application busy." ;
};
String SbERR_DDE_NO_DATA & ERRCODE_RES_MASK
{
Text [ en-US ] = "DDE operation without data." ;
};
String SbERR_DDE_WRONG_DATA_FORMAT & ERRCODE_RES_MASK
{
Text [ en-US ] = "Data are in wrong format." ;
};
String SbERR_DDE_PARTNER_QUIT & ERRCODE_RES_MASK
{
Text [ en-US ] = "External application has been terminated." ;
};
String SbERR_DDE_CONV_CLOSED & ERRCODE_RES_MASK
{
Text [ en-US ] = "DDE connection interrupted or modified." ;
};
String SbERR_DDE_NO_CHANNEL & ERRCODE_RES_MASK
{
Text [ en-US ] = "DDE method invoked with no channel open." ;
};
String SbERR_DDE_INVALID_LINK & ERRCODE_RES_MASK
{
Text [ en-US ] = "Invalid DDE link format." ;
};
String SbERR_DDE_QUEUE_OVERFLOW & ERRCODE_RES_MASK
{
Text [ en-US ] = "DDE message has been lost." ;
};
String SbERR_DDE_LINK_ALREADY_EST & ERRCODE_RES_MASK
{
Text [ en-US ] = "Paste link already performed." ;
};
String SbERR_DDE_LINK_INV_TOPIC & ERRCODE_RES_MASK
{
Text [ en-US ] = "Link mode cannot be set due to invalid link topic." ;
};
String SbERR_DDE_DLL_NOT_FOUND & ERRCODE_RES_MASK
{
Text [ en-US ] = "DDE requires the DDEML.DLL file." ;
};
String SbERR_CANNOT_LOAD & ERRCODE_RES_MASK
{
Text [ en-US ] = "Module cannot be loaded; invalid format." ;
};
String SbERR_BAD_INDEX & ERRCODE_RES_MASK
{
Text [ en-US ] = "Invalid object index." ;
};
String SbERR_NO_ACTIVE_OBJECT & ERRCODE_RES_MASK
{
Text [ en-US ] = "Object is not available." ;
};
String SbERR_BAD_PROP_VALUE & ERRCODE_RES_MASK
{
Text [ en-US ] = "Incorrect property value." ;
};
String SbERR_PROP_READONLY & ERRCODE_RES_MASK
{
Text [ en-US ] = "This property is read-only." ;
};
String SbERR_PROP_WRITEONLY & ERRCODE_RES_MASK
{
Text [ en-US ] = "This property is write only." ;
};
String SbERR_INVALID_OBJECT & ERRCODE_RES_MASK
{
Text [ en-US ] = "Invalid object reference." ;
};
String SbERR_NO_METHOD & ERRCODE_RES_MASK
{
Text [ en-US ] = "Property or method not found: $(ARG1)." ;
};
String SbERR_NEEDS_OBJECT & ERRCODE_RES_MASK
{
Text [ en-US ] = "Object required." ;
};
String SbERR_INVALID_USAGE_OBJECT & ERRCODE_RES_MASK
{
Text [ en-US ] = "Invalid use of an object." ;
};
String SbERR_NO_OLE & ERRCODE_RES_MASK
{
Text [ en-US ] = "OLE Automation is not supported by this object." ;
};
String SbERR_BAD_METHOD & ERRCODE_RES_MASK
{
Text [ en-US ] = "This property or method is not supported by the object." ;
};
String SbERR_OLE_ERROR & ERRCODE_RES_MASK
{
Text [ en-US ] = "OLE Automation Error." ;
};
String SbERR_BAD_ACTION & ERRCODE_RES_MASK
{
Text [ en-US ] = "This action is not supported by given object." ;
};
String SbERR_NO_NAMED_ARGS & ERRCODE_RES_MASK
{
Text [ en-US ] = "Named arguments are not supported by given object." ;
};
String SbERR_BAD_LOCALE & ERRCODE_RES_MASK
{
Text [ en-US ] = "The current locale setting is not supported by the given object." ;
};
String SbERR_NAMED_NOT_FOUND & ERRCODE_RES_MASK
{
Text [ en-US ] = "Named argument not found." ;
};
String SbERR_NOT_OPTIONAL & ERRCODE_RES_MASK
{
Text [ en-US ] = "Argument is not optional." ;
};
String SbERR_WRONG_ARGS & ERRCODE_RES_MASK
{
Text [ en-US ] = "Invalid number of arguments." ;
};
String SbERR_NOT_A_COLL & ERRCODE_RES_MASK
{
Text [ en-US ] = "Object is not a list." ;
};
String SbERR_BAD_ORDINAL & ERRCODE_RES_MASK
{
Text [ en-US ] = "Invalid ordinal number." ;
};
String SbERR_DLLPROC_NOT_FOUND & ERRCODE_RES_MASK
{
Text [ en-US ] = "Specified DLL function not found." ;
};
String SbERR_BAD_CLIPBD_FORMAT & ERRCODE_RES_MASK
{
Text [ en-US ] = "Invalid clipboard format." ;
};
String SbERR_PROPERTY_NOT_FOUND & ERRCODE_RES_MASK
{
Text [ en-US ] = "Object does not have this property." ;
};
String SbERR_METHOD_NOT_FOUND & ERRCODE_RES_MASK
{
Text [ en-US ] = "Object does not have this method." ;
};
String SbERR_ARG_MISSING & ERRCODE_RES_MASK
{
Text [ en-US ] = "Required argument lacking." ;
};
String SbERR_BAD_NUMBER_OF_ARGS & ERRCODE_RES_MASK
{
Text [ en-US ] = "Invalid number of arguments." ;
};
String SbERR_METHOD_FAILED & ERRCODE_RES_MASK
{
Text [ en-US ] = "Error executing a method." ;
};
String SbERR_SETPROP_FAILED & ERRCODE_RES_MASK
{
Text [ en-US ] = "Unable to set property." ;
};
String SbERR_GETPROP_FAILED & ERRCODE_RES_MASK
{
Text [ en-US ] = "Unable to determine property." ;
};
// Compiler errors. These are not runtime errors.
String SbERR_UNEXPECTED & ERRCODE_RES_MASK
{
Text [ en-US ] = "Unexpected symbol: $(ARG1)." ;
};
String SbERR_EXPECTED & ERRCODE_RES_MASK
{
Text [ en-US ] = "Expected: $(ARG1)." ;
};
String SbERR_SYMBOL_EXPECTED & ERRCODE_RES_MASK
{
Text [ en-US ] = "Symbol expected." ;
};
String SbERR_VAR_EXPECTED & ERRCODE_RES_MASK
{
Text [ en-US ] = "Variable expected." ;
};
String SbERR_LABEL_EXPECTED & ERRCODE_RES_MASK
{
Text [ en-US ] = "Label expected." ;
};
String SbERR_LVALUE_EXPECTED & ERRCODE_RES_MASK
{
Text [ en-US ] = "Value cannot be applied." ;
};
String SbERR_VAR_DEFINED & ERRCODE_RES_MASK
{
Text [ en-US ] = "Variable $(ARG1) already defined." ;
};
String SbERR_PROC_DEFINED & ERRCODE_RES_MASK
{
Text [ en-US ] = "Sub procedure or function procedure $(ARG1) already defined." ;
};
String SbERR_LABEL_DEFINED & ERRCODE_RES_MASK
{
Text [ en-US ] = "Label $(ARG1) already defined." ;
};
String SbERR_UNDEF_VAR & ERRCODE_RES_MASK
{
Text [ en-US ] = "Variable $(ARG1) not found." ;
};
String SbERR_UNDEF_ARRAY & ERRCODE_RES_MASK
{
Text [ en-US ] = "Array or procedure $(ARG1) not found." ;
};
String SbERR_UNDEF_PROC & ERRCODE_RES_MASK
{
Text [ en-US ] = "Procedure $(ARG1) not found." ;
};
String SbERR_UNDEF_LABEL & ERRCODE_RES_MASK
{
Text [ en-US ] = "Label $(ARG1) undefined." ;
};
String SbERR_UNDEF_TYPE & ERRCODE_RES_MASK
{
Text [ en-US ] = "Unknown data type $(ARG1)." ;
};
String SbERR_BAD_EXIT & ERRCODE_RES_MASK
{
Text [ en-US ] = "Exit $(ARG1) expected." ;
};
String SbERR_BAD_BLOCK & ERRCODE_RES_MASK
{
Text [ en-US ] = "Statement block still open: $(ARG1) missing." ;
};
String SbERR_BAD_BRACKETS & ERRCODE_RES_MASK
{
Text [ en-US ] = "Parentheses do not match." ;
};
String SbERR_BAD_DECLARATION & ERRCODE_RES_MASK
{
Text [ en-US ] = "Symbol $(ARG1) already defined differently." ;
};
String SbERR_BAD_PARAMETERS & ERRCODE_RES_MASK
{
Text [ en-US ] = "Parameters do not correspond to procedure." ;
};
String SbERR_BAD_CHAR_IN_NUMBER & ERRCODE_RES_MASK
{
Text [ en-US ] = "Invalid character in number." ;
};
String SbERR_MUST_HAVE_DIMS & ERRCODE_RES_MASK
{
Text [ en-US ] = "Array must be dimensioned." ;
};
String SbERR_NO_IF & ERRCODE_RES_MASK
{
Text [ en-US ] = "Else/Endif without If." ;
};
String SbERR_NOT_IN_SUBR & ERRCODE_RES_MASK
{
Text [ en-US ] = "$(ARG1) not allowed within a procedure." ;
};
String SbERR_NOT_IN_MAIN & ERRCODE_RES_MASK
{
Text [ en-US ] = "$(ARG1) not allowed outside a procedure." ;
};
String SbERR_WRONG_DIMS & ERRCODE_RES_MASK
{
Text [ en-US ] = "Dimension specifications do not match." ;
};
String SbERR_BAD_OPTION & ERRCODE_RES_MASK
{
Text [ en-US ] = "Unknown option: $(ARG1)." ;
};
String SbERR_CONSTANT_REDECLARED & ERRCODE_RES_MASK
{
Text [ en-US ] = "Constant $(ARG1) redefined." ;
};
String SbERR_PROG_TOO_LARGE & ERRCODE_RES_MASK
{
Text [ en-US ] = "Program too large." ;
};
String SbERR_NO_STRINGS_ARRAYS & ERRCODE_RES_MASK
{
Text [ en-US ] = "Strings or arrays not permitted." ;
};
String ERRCODE_BASIC_EXCEPTION & ERRCODE_RES_MASK
{
Text [ en-US ] = "An exception occurred $(ARG1)." ;
};
String ERRCODE_BASIC_ARRAY_FIX & ERRCODE_RES_MASK
{
Text [ en-US ] = "This array is fixed or temporarily locked." ;
};
String ERRCODE_BASIC_STRING_OVERFLOW & ERRCODE_RES_MASK
{
Text [ en-US ] = "Out of string space." ;
};
String ERRCODE_BASIC_EXPR_TOO_COMPLEX & ERRCODE_RES_MASK
{
Text [ en-US ] = "Expression Too Complex." ;
};
String ERRCODE_BASIC_OPER_NOT_PERFORM & ERRCODE_RES_MASK
{
Text [ en-US ] = "Can't perform requested operation." ;
};
String ERRCODE_BASIC_TOO_MANY_DLL & ERRCODE_RES_MASK
{
Text [ en-US ] = "Too many DLL application clients." ;
};
String ERRCODE_BASIC_LOOP_NOT_INIT & ERRCODE_RES_MASK
{
Text [ en-US ] = "For loop not initialized." ;
};
String ERRCODE_BASIC_COMPAT & ERRCODE_RES_MASK
{
Text [ en-US ] = "$(ARG1)" ;
};
};
// Hinweis: IDS_SBERR_TERMINATED = IDS_SBERR_START+2000.
String IDS_SBERR_TERMINATED
{
Text [ en-US ] = "The macro running has been interrupted" ;
};
String IDS_SBERR_STOREREF
{
Text [ en-US ] = "Reference will not be saved: ";
};
String ERRCODE_BASMGR_LIBLOAD & ERRCODE_RES_MASK
{
Text [ en-US ] = "Error loading library '$(ARG1)'." ;
};
String ERRCODE_BASMGR_LIBSAVE & ERRCODE_RES_MASK
{
Text [ en-US ] = "Error saving library: '$(ARG1)'." ;
};
String ERRCODE_BASMGR_MGROPEN & ERRCODE_RES_MASK
{
Text [ en-US ] = "The BASIC from the file '$(ARG1)' could not be initialized." ;
};
String ERRCODE_BASMGR_MGRSAVE & ERRCODE_RES_MASK
{
Text [ en-US ] = "Error saving BASIC: '$(ARG1)'." ;
};
String ERRCODE_BASMGR_REMOVELIB & ERRCODE_RES_MASK
{
Text [ en-US ] = "Error removing library." ;
};
String ERRCODE_BASMGR_UNLOADLIB & ERRCODE_RES_MASK
{
Text [ en-US ] = "The library could not be removed from memory." ;
};
|