1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 #include <tools/errcode.hxx>
22 #include <basic/sberrors.hxx>
24 Resource RID_BASIC_START
26 String SbERR_SYNTAX & ERRCODE_RES_MASK
28 Text [ en-US ] = "Syntax error." ;
30 String SbERR_NO_GOSUB & ERRCODE_RES_MASK
32 Text [ en-US ] = "Return without Gosub." ;
34 String SbERR_REDO_FROM_START & ERRCODE_RES_MASK
36 Text [ en-US ] = "Incorrect entry; please retry." ;
38 String SbERR_BAD_ARGUMENT & ERRCODE_RES_MASK
40 Text [ en-US ] = "Invalid procedure call." ;
42 String SbERR_MATH_OVERFLOW & ERRCODE_RES_MASK
44 Text [ en-US ] = "Overflow." ;
46 String SbERR_NO_MEMORY & ERRCODE_RES_MASK
48 Text [ en-US ] = "Not enough memory." ;
50 String SbERR_ALREADY_DIM & ERRCODE_RES_MASK
52 Text [ en-US ] = "Array already dimensioned." ;
54 String SbERR_OUT_OF_RANGE & ERRCODE_RES_MASK
56 Text [ en-US ] = "Index out of defined range." ;
58 String SbERR_DUPLICATE_DEF & ERRCODE_RES_MASK
60 Text [ en-US ] = "Duplicate definition." ;
62 String SbERR_ZERODIV & ERRCODE_RES_MASK
64 Text [ en-US ] = "Division by zero." ;
66 String SbERR_VAR_UNDEFINED & ERRCODE_RES_MASK
68 Text [ en-US ] = "Variable not defined." ;
70 String SbERR_CONVERSION & ERRCODE_RES_MASK
72 Text [ en-US ] = "Data type mismatch." ;
74 String SbERR_BAD_PARAMETER & ERRCODE_RES_MASK
76 Text [ en-US ] = "Invalid parameter." ;
78 String SbERR_USER_ABORT & ERRCODE_RES_MASK
80 Text [ en-US ] = "Process interrupted by user." ;
82 String SbERR_BAD_RESUME & ERRCODE_RES_MASK
84 Text [ en-US ] = "Resume without error." ;
86 String SbERR_STACK_OVERFLOW & ERRCODE_RES_MASK
88 Text [ en-US ] = "Not enough stack memory." ;
90 String SbERR_PROC_UNDEFINED & ERRCODE_RES_MASK
92 Text [ en-US ] = "Sub-procedure or function procedure not defined." ;
94 String SbERR_BAD_DLL_LOAD & ERRCODE_RES_MASK
96 Text [ en-US ] = "Error loading DLL file." ;
98 String SbERR_BAD_DLL_CALL & ERRCODE_RES_MASK
100 Text [ en-US ] = "Wrong DLL call convention." ;
102 String SbERR_INTERNAL_ERROR & ERRCODE_RES_MASK
104 Text [ en-US ] = "Internal error $(ARG1)." ;
106 String SbERR_BAD_CHANNEL & ERRCODE_RES_MASK
108 Text [ en-US ] = "Invalid file name or file number." ;
110 String SbERR_FILE_NOT_FOUND & ERRCODE_RES_MASK
112 Text [ en-US ] = "File not found." ;
114 String SbERR_BAD_FILE_MODE & ERRCODE_RES_MASK
116 Text [ en-US ] = "Incorrect file mode." ;
118 String SbERR_FILE_ALREADY_OPEN & ERRCODE_RES_MASK
120 Text [ en-US ] = "File already open." ;
122 String SbERR_IO_ERROR & ERRCODE_RES_MASK
124 Text [ en-US ] = "Device I/O error." ;
126 String SbERR_FILE_EXISTS & ERRCODE_RES_MASK
128 Text [ en-US ] = "File already exists." ;
130 String SbERR_BAD_RECORD_LENGTH & ERRCODE_RES_MASK
132 Text [ en-US ] = "Incorrect record length." ;
134 String SbERR_DISK_FULL & ERRCODE_RES_MASK
136 Text [ en-US ] = "Disk or hard drive full." ;
138 String SbERR_READ_PAST_EOF & ERRCODE_RES_MASK
140 Text [ en-US ] = "Reading exceeds EOF." ;
142 String SbERR_BAD_RECORD_NUMBER & ERRCODE_RES_MASK
144 Text [ en-US ] = "Incorrect record number." ;
146 String SbERR_TOO_MANY_FILES & ERRCODE_RES_MASK
148 Text [ en-US ] = "Too many files." ;
150 String SbERR_NO_DEVICE & ERRCODE_RES_MASK
152 Text [ en-US ] = "Device not available." ;
154 String SbERR_ACCESS_DENIED & ERRCODE_RES_MASK
156 Text [ en-US ] = "Access denied." ;
158 String SbERR_NOT_READY & ERRCODE_RES_MASK
160 Text [ en-US ] = "Disk not ready." ;
162 String SbERR_NOT_IMPLEMENTED & ERRCODE_RES_MASK
164 Text [ en-US ] = "Not implemented." ;
166 String SbERR_DIFFERENT_DRIVE & ERRCODE_RES_MASK
168 Text [ en-US ] = "Renaming on different drives impossible." ;
170 String SbERR_ACCESS_ERROR & ERRCODE_RES_MASK
172 Text [ en-US ] = "Path/File access error." ;
174 String SbERR_PATH_NOT_FOUND & ERRCODE_RES_MASK
176 Text [ en-US ] = "Path not found." ;
178 String SbERR_NO_OBJECT & ERRCODE_RES_MASK
180 Text [ en-US ] = "Object variable not set." ;
182 String SbERR_BAD_PATTERN & ERRCODE_RES_MASK
184 Text [ en-US ] = "Invalid string pattern." ;
186 String SBERR_IS_NULL & ERRCODE_RES_MASK
188 Text [ en-US ] = "Use of zero not permitted." ;
190 String SbERR_DDE_ERROR & ERRCODE_RES_MASK
192 Text [ en-US ] = "DDE Error." ;
194 String SbERR_DDE_WAITINGACK & ERRCODE_RES_MASK
196 Text [ en-US ] = "Awaiting response to DDE connection." ;
198 String SbERR_DDE_OUTOFCHANNELS & ERRCODE_RES_MASK
200 Text [ en-US ] = "No DDE channels available." ;
202 String SbERR_DDE_NO_RESPONSE & ERRCODE_RES_MASK
204 Text [ en-US ] = "No application responded to DDE connect initiation." ;
206 String SbERR_DDE_MULT_RESPONSES & ERRCODE_RES_MASK
208 Text [ en-US ] = "Too many applications responded to DDE connect initiation." ;
210 String SbERR_DDE_CHANNEL_LOCKED & ERRCODE_RES_MASK
212 Text [ en-US ] = "DDE channel locked." ;
214 String SbERR_DDE_NOTPROCESSED & ERRCODE_RES_MASK
216 Text [ en-US ] = "External application cannot execute DDE operation." ;
218 String SbERR_DDE_TIMEOUT & ERRCODE_RES_MASK
220 Text [ en-US ] = "Timeout while waiting for DDE response." ;
222 String SbERR_DDE_USER_INTERRUPT & ERRCODE_RES_MASK
224 Text [ en-US ] = "User pressed ESCAPE during DDE operation." ;
226 String SbERR_DDE_BUSY & ERRCODE_RES_MASK
228 Text [ en-US ] = "External application busy." ;
230 String SbERR_DDE_NO_DATA & ERRCODE_RES_MASK
232 Text [ en-US ] = "DDE operation without data." ;
234 String SbERR_DDE_WRONG_DATA_FORMAT & ERRCODE_RES_MASK
236 Text [ en-US ] = "Data are in wrong format." ;
238 String SbERR_DDE_PARTNER_QUIT & ERRCODE_RES_MASK
240 Text [ en-US ] = "External application has been terminated." ;
242 String SbERR_DDE_CONV_CLOSED & ERRCODE_RES_MASK
244 Text [ en-US ] = "DDE connection interrupted or modified." ;
246 String SbERR_DDE_NO_CHANNEL & ERRCODE_RES_MASK
248 Text [ en-US ] = "DDE method invoked with no channel open." ;
250 String SbERR_DDE_INVALID_LINK & ERRCODE_RES_MASK
252 Text [ en-US ] = "Invalid DDE link format." ;
254 String SbERR_DDE_QUEUE_OVERFLOW & ERRCODE_RES_MASK
256 Text [ en-US ] = "DDE message has been lost." ;
258 String SbERR_DDE_LINK_ALREADY_EST & ERRCODE_RES_MASK
260 Text [ en-US ] = "Paste link already performed." ;
262 String SbERR_DDE_LINK_INV_TOPIC & ERRCODE_RES_MASK
264 Text [ en-US ] = "Link mode cannot be set due to invalid link topic." ;
266 String SbERR_DDE_DLL_NOT_FOUND & ERRCODE_RES_MASK
268 Text [ en-US ] = "DDE requires the DDEML.DLL file." ;
270 String SbERR_CANNOT_LOAD & ERRCODE_RES_MASK
272 Text [ en-US ] = "Module cannot be loaded; invalid format." ;
274 String SbERR_BAD_INDEX & ERRCODE_RES_MASK
276 Text [ en-US ] = "Invalid object index." ;
278 String SbERR_NO_ACTIVE_OBJECT & ERRCODE_RES_MASK
280 Text [ en-US ] = "Object is not available." ;
282 String SbERR_BAD_PROP_VALUE & ERRCODE_RES_MASK
284 Text [ en-US ] = "Incorrect property value." ;
286 String SbERR_PROP_READONLY & ERRCODE_RES_MASK
288 Text [ en-US ] = "This property is read-only." ;
290 String SbERR_PROP_WRITEONLY & ERRCODE_RES_MASK
292 Text [ en-US ] = "This property is write only." ;
294 String SbERR_INVALID_OBJECT & ERRCODE_RES_MASK
296 Text [ en-US ] = "Invalid object reference." ;
298 String SbERR_NO_METHOD & ERRCODE_RES_MASK
300 Text [ en-US ] = "Property or method not found: $(ARG1)." ;
302 String SbERR_NEEDS_OBJECT & ERRCODE_RES_MASK
304 Text [ en-US ] = "Object required." ;
306 String SbERR_INVALID_USAGE_OBJECT & ERRCODE_RES_MASK
308 Text [ en-US ] = "Invalid use of an object." ;
310 String SbERR_NO_OLE & ERRCODE_RES_MASK
312 Text [ en-US ] = "OLE Automation is not supported by this object." ;
314 String SbERR_BAD_METHOD & ERRCODE_RES_MASK
316 Text [ en-US ] = "This property or method is not supported by the object." ;
318 String SbERR_OLE_ERROR & ERRCODE_RES_MASK
320 Text [ en-US ] = "OLE Automation Error." ;
322 String SbERR_BAD_ACTION & ERRCODE_RES_MASK
324 Text [ en-US ] = "This action is not supported by given object." ;
326 String SbERR_NO_NAMED_ARGS & ERRCODE_RES_MASK
328 Text [ en-US ] = "Named arguments are not supported by given object." ;
330 String SbERR_BAD_LOCALE & ERRCODE_RES_MASK
332 Text [ en-US ] = "The current locale setting is not supported by the given object." ;
334 String SbERR_NAMED_NOT_FOUND & ERRCODE_RES_MASK
336 Text [ en-US ] = "Named argument not found." ;
338 String SbERR_NOT_OPTIONAL & ERRCODE_RES_MASK
340 Text [ en-US ] = "Argument is not optional." ;
342 String SbERR_WRONG_ARGS & ERRCODE_RES_MASK
344 Text [ en-US ] = "Invalid number of arguments." ;
346 String SbERR_NOT_A_COLL & ERRCODE_RES_MASK
348 Text [ en-US ] = "Object is not a list." ;
350 String SbERR_BAD_ORDINAL & ERRCODE_RES_MASK
352 Text [ en-US ] = "Invalid ordinal number." ;
354 String SbERR_DLLPROC_NOT_FOUND & ERRCODE_RES_MASK
356 Text [ en-US ] = "Specified DLL function not found." ;
358 String SbERR_BAD_CLIPBD_FORMAT & ERRCODE_RES_MASK
360 Text [ en-US ] = "Invalid clipboard format." ;
362 String SbERR_PROPERTY_NOT_FOUND & ERRCODE_RES_MASK
364 Text [ en-US ] = "Object does not have this property." ;
366 String SbERR_METHOD_NOT_FOUND & ERRCODE_RES_MASK
368 Text [ en-US ] = "Object does not have this method." ;
370 String SbERR_ARG_MISSING & ERRCODE_RES_MASK
372 Text [ en-US ] = "Required argument lacking." ;
374 String SbERR_BAD_NUMBER_OF_ARGS & ERRCODE_RES_MASK
376 Text [ en-US ] = "Invalid number of arguments." ;
378 String SbERR_METHOD_FAILED & ERRCODE_RES_MASK
380 Text [ en-US ] = "Error executing a method." ;
382 String SbERR_SETPROP_FAILED & ERRCODE_RES_MASK
384 Text [ en-US ] = "Unable to set property." ;
386 String SbERR_GETPROP_FAILED & ERRCODE_RES_MASK
388 Text [ en-US ] = "Unable to determine property." ;
390 // Compiler errors. These are not runtime errors.
391 String SbERR_UNEXPECTED & ERRCODE_RES_MASK
393 Text [ en-US ] = "Unexpected symbol: $(ARG1)." ;
395 String SbERR_EXPECTED & ERRCODE_RES_MASK
397 Text [ en-US ] = "Expected: $(ARG1)." ;
399 String SbERR_SYMBOL_EXPECTED & ERRCODE_RES_MASK
401 Text [ en-US ] = "Symbol expected." ;
403 String SbERR_VAR_EXPECTED & ERRCODE_RES_MASK
405 Text [ en-US ] = "Variable expected." ;
407 String SbERR_LABEL_EXPECTED & ERRCODE_RES_MASK
409 Text [ en-US ] = "Label expected." ;
411 String SbERR_LVALUE_EXPECTED & ERRCODE_RES_MASK
413 Text [ en-US ] = "Value cannot be applied." ;
415 String SbERR_VAR_DEFINED & ERRCODE_RES_MASK
417 Text [ en-US ] = "Variable $(ARG1) already defined." ;
419 String SbERR_PROC_DEFINED & ERRCODE_RES_MASK
421 Text [ en-US ] = "Sub procedure or function procedure $(ARG1) already defined." ;
423 String SbERR_LABEL_DEFINED & ERRCODE_RES_MASK
425 Text [ en-US ] = "Label $(ARG1) already defined." ;
427 String SbERR_UNDEF_VAR & ERRCODE_RES_MASK
429 Text [ en-US ] = "Variable $(ARG1) not found." ;
431 String SbERR_UNDEF_ARRAY & ERRCODE_RES_MASK
433 Text [ en-US ] = "Array or procedure $(ARG1) not found." ;
435 String SbERR_UNDEF_PROC & ERRCODE_RES_MASK
437 Text [ en-US ] = "Procedure $(ARG1) not found." ;
439 String SbERR_UNDEF_LABEL & ERRCODE_RES_MASK
441 Text [ en-US ] = "Label $(ARG1) undefined." ;
443 String SbERR_UNDEF_TYPE & ERRCODE_RES_MASK
445 Text [ en-US ] = "Unknown data type $(ARG1)." ;
447 String SbERR_BAD_EXIT & ERRCODE_RES_MASK
449 Text [ en-US ] = "Exit $(ARG1) expected." ;
451 String SbERR_BAD_BLOCK & ERRCODE_RES_MASK
453 Text [ en-US ] = "Statement block still open: $(ARG1) missing." ;
455 String SbERR_BAD_BRACKETS & ERRCODE_RES_MASK
457 Text [ en-US ] = "Parentheses do not match." ;
459 String SbERR_BAD_DECLARATION & ERRCODE_RES_MASK
461 Text [ en-US ] = "Symbol $(ARG1) already defined differently." ;
463 String SbERR_BAD_PARAMETERS & ERRCODE_RES_MASK
465 Text [ en-US ] = "Parameters do not correspond to procedure." ;
467 String SbERR_BAD_CHAR_IN_NUMBER & ERRCODE_RES_MASK
469 Text [ en-US ] = "Invalid character in number." ;
471 String SbERR_MUST_HAVE_DIMS & ERRCODE_RES_MASK
473 Text [ en-US ] = "Array must be dimensioned." ;
475 String SbERR_NO_IF & ERRCODE_RES_MASK
477 Text [ en-US ] = "Else/Endif without If." ;
479 String SbERR_NOT_IN_SUBR & ERRCODE_RES_MASK
481 Text [ en-US ] = "$(ARG1) not allowed within a procedure." ;
483 String SbERR_NOT_IN_MAIN & ERRCODE_RES_MASK
485 Text [ en-US ] = "$(ARG1) not allowed outside a procedure." ;
487 String SbERR_WRONG_DIMS & ERRCODE_RES_MASK
489 Text [ en-US ] = "Dimension specifications do not match." ;
491 String SbERR_BAD_OPTION & ERRCODE_RES_MASK
493 Text [ en-US ] = "Unknown option: $(ARG1)." ;
495 String SbERR_CONSTANT_REDECLARED & ERRCODE_RES_MASK
497 Text [ en-US ] = "Constant $(ARG1) redefined." ;
499 String SbERR_PROG_TOO_LARGE & ERRCODE_RES_MASK
501 Text [ en-US ] = "Program too large." ;
503 String SbERR_NO_STRINGS_ARRAYS & ERRCODE_RES_MASK
505 Text [ en-US ] = "Strings or arrays not permitted." ;
507 String ERRCODE_BASIC_EXCEPTION & ERRCODE_RES_MASK
509 Text [ en-US ] = "An exception occurred $(ARG1)." ;
511 String ERRCODE_BASIC_ARRAY_FIX & ERRCODE_RES_MASK
513 Text [ en-US ] = "This array is fixed or temporarily locked." ;
515 String ERRCODE_BASIC_STRING_OVERFLOW & ERRCODE_RES_MASK
517 Text [ en-US ] = "Out of string space." ;
519 String ERRCODE_BASIC_EXPR_TOO_COMPLEX & ERRCODE_RES_MASK
521 Text [ en-US ] = "Expression Too Complex." ;
523 String ERRCODE_BASIC_OPER_NOT_PERFORM & ERRCODE_RES_MASK
525 Text [ en-US ] = "Can't perform requested operation." ;
527 String ERRCODE_BASIC_TOO_MANY_DLL & ERRCODE_RES_MASK
529 Text [ en-US ] = "Too many DLL application clients." ;
531 String ERRCODE_BASIC_LOOP_NOT_INIT & ERRCODE_RES_MASK
533 Text [ en-US ] = "For loop not initialized." ;
535 String ERRCODE_BASIC_COMPAT & ERRCODE_RES_MASK
537 Text [ en-US ] = "$(ARG1)" ;
540 // Hinweis: IDS_SBERR_TERMINATED = IDS_SBERR_START+2000.
541 String IDS_SBERR_TERMINATED
543 Text [ en-US ] = "The macro running has been interrupted" ;
545 String IDS_SBERR_STOREREF
547 Text [ en-US ] = "Reference will not be saved: ";
549 String ERRCODE_BASMGR_LIBLOAD & ERRCODE_RES_MASK
551 Text [ en-US ] = "Error loading library '$(ARG1)'." ;
553 String ERRCODE_BASMGR_LIBSAVE & ERRCODE_RES_MASK
555 Text [ en-US ] = "Error saving library: '$(ARG1)'." ;
557 String ERRCODE_BASMGR_MGROPEN & ERRCODE_RES_MASK
559 Text [ en-US ] = "The BASIC from the file '$(ARG1)' could not be initialized." ;
561 String ERRCODE_BASMGR_MGRSAVE & ERRCODE_RES_MASK
563 Text [ en-US ] = "Error saving BASIC: '$(ARG1)'." ;
565 String ERRCODE_BASMGR_REMOVELIB & ERRCODE_RES_MASK
567 Text [ en-US ] = "Error removing library." ;
569 String ERRCODE_BASMGR_UNLOADLIB & ERRCODE_RES_MASK
571 Text [ en-US ] = "The library could not be removed from memory." ;
574 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */