Add new strings.
[AROS.git] / rom / dos / errorlist.c
blob221dfb4564525b4f0706a5669c00b402bba3c33d
1 /*
2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc:
6 Lang:
7 */
8 #include <dos/dos.h>
9 #include <dos/dosasl.h>
10 #include <dos/dosextens.h>
11 #include "dos_intern.h"
13 #include <proto/dos.h>
15 struct EString EString[]=
17 { ERROR_NO_FREE_STORE, "not enough memory available" },
18 { ERROR_TASK_TABLE_FULL, "process table full" },
19 { ERROR_BAD_TEMPLATE, "bad template" },
20 { ERROR_BAD_NUMBER, "bad number" },
21 { ERROR_REQUIRED_ARG_MISSING, "required argument missing" },
22 { ERROR_KEY_NEEDS_ARG, "value after keyword missing" },
23 { ERROR_TOO_MANY_ARGS, "wrong number of arguments" },
24 { ERROR_UNMATCHED_QUOTES, "unmatched quotes" },
25 { ERROR_LINE_TOO_LONG, "argument line invalid or too long" },
26 { ERROR_FILE_NOT_OBJECT, "file is not executable" },
27 { ERROR_INVALID_RESIDENT_LIBRARY,"invalid resident library" },
28 { ERROR_NO_DEFAULT_DIR, "Error 201" },
29 { ERROR_OBJECT_IN_USE, "object is in use" },
30 { ERROR_OBJECT_EXISTS, "object already exists" },
31 { ERROR_DIR_NOT_FOUND, "directory not found" },
32 { ERROR_OBJECT_NOT_FOUND, "object not found" },
33 { ERROR_BAD_STREAM_NAME, "invalid window description" },
34 { ERROR_OBJECT_TOO_LARGE, "object too large" },
35 { ERROR_ACTION_NOT_KNOWN, "filesystem action type unknown" }, /* was: packet request type unknown */
36 { ERROR_INVALID_COMPONENT_NAME, "object name invalid" },
37 { ERROR_INVALID_LOCK, "invalid object lock" },
38 { ERROR_OBJECT_WRONG_TYPE, "object is not of required type" },
39 { ERROR_DISK_NOT_VALIDATED, "disk not validated" },
40 { ERROR_DISK_WRITE_PROTECTED, "disk is write-protected" },
41 { ERROR_RENAME_ACROSS_DEVICES, "rename across devices attempted" },
42 { ERROR_DIRECTORY_NOT_EMPTY, "directory not empty" },
43 { ERROR_TOO_MANY_LEVELS, "too many levels" },
44 { ERROR_DEVICE_NOT_MOUNTED, "device (or volume) is not mounted" },
45 { ERROR_SEEK_ERROR, "seek failure" },
46 { ERROR_COMMENT_TOO_BIG, "comment is too long" },
47 { ERROR_DISK_FULL, "disk is full" },
48 { ERROR_DELETE_PROTECTED, "object is protected from deletion" },
49 { ERROR_WRITE_PROTECTED, "file is write protected" },
50 { ERROR_READ_PROTECTED, "file is read protected" },
51 { ERROR_NOT_A_DOS_DISK, "not a valid DOS disk" },
52 { ERROR_NO_DISK, "no disk in drive" },
53 { ERROR_NO_MORE_ENTRIES, "no more entries in directory" },
54 { ERROR_IS_SOFT_LINK, "object is soft link" },
55 { ERROR_OBJECT_LINKED, "object is linked" },
56 { ERROR_BAD_HUNK, "bad loadfile hunk" },
57 { ERROR_NOT_IMPLEMENTED, "function not implemented" },
58 { ERROR_RECORD_NOT_LOCKED, "record not locked" },
59 { ERROR_LOCK_COLLISION, "record lock collision" },
60 { ERROR_LOCK_TIMEOUT, "record lock timeout" },
61 { ERROR_UNLOCK_ERROR, "record unlock error" },
62 { ERROR_BUFFER_OVERFLOW, "buffer overflow" },
63 { ERROR_BREAK, "***Break" },
64 { ERROR_NOT_EXECUTABLE, "file not executable" },
66 { STRING_DISK_NOT_VALIDATED, "Volume \"%s\" is not validated" },
67 { STRING_DISK_WRITE_PROTECTED, "Volume \"%s\" is write protected" },
68 { STRING_DEVICE_NOT_MOUNTED_INSERT, "Please insert volume \"%s\" in any drive" },
69 { STRING_DEVICE_NOT_MOUNTED_REPLACE, "Please replace volume \"%s\" in any drive" },
70 { STRING_DEVICE_NOT_MOUNTED_REPLACE_TARGET, "Please replace volume \"%s\" in \"%s\"" },
71 { STRING_DISK_FULL, "Volume \"%s\" is full" },
72 { STRING_NOT_A_DOS_DISK, "Not a DOS disk in \"%s\"" },
73 { STRING_NO_DISK, "No disk present in \"%s\"" },
74 { STRING_ABORT_BUSY, "You MUST replace volume \"%s\" in \"%s\"!" },
75 { STRING_ABORT_DISK_ERROR, "Volume \"%s\" has a read/write error" },
77 { STRING_RETRY, "Retry" },
78 { STRING_CANCEL, "Cancel" },
79 { STRING_REQUESTTITLE, "System requester" },
82 { ERROR_NO_MATCHING_ELSEENDIF, "no matching Else or EndIf"},
83 { ERROR_SCRIPT_ONLY, "this command is supposed to be used in "
84 "command files only" },
85 { 0, "undefined error" }