xref: /aoo4110/main/svx/source/src/errtxt.src (revision b1cdbd2c)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements.  See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership.  The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License.  You may obtain a copy of the License at
10 *
11 *   http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied.  See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 *************************************************************/
21
22
23
24#define __RSC
25#include <svtools/svtools.hrc>
26#include <svtools/sfxecode.hxx>
27
28// pragma ----------------------------------------------------------------
29Resource RID_ERRCTX
30{
31	String ERRCTX_ERROR
32	{
33		Text [ en-US ] = "Error" ;
34	};
35	String ERRCTX_WARNING
36	{
37		Text [ en-US ] = "Warning" ;
38	};
39	String ERRCTX_SFX_LOADTEMPLATE
40	{
41		Text [ en-US ] = "$(ERR) loading the template $(ARG1)" ;
42	};
43	String ERRCTX_SFX_SAVEDOC
44	{
45		Text [ en-US ] = "$(ERR) saving the document $(ARG1)";
46	};
47	String ERRCTX_SFX_SAVEASDOC
48	{
49		Text [ en-US ] = "$(ERR) saving the document $(ARG1)";
50	};
51	String ERRCTX_SFX_DOCINFO
52	{
53		Text [ en-US ] = "$(ERR) displaying doc. information for document $(ARG1)" ;
54	};
55	String ERRCTX_SFX_DOCTEMPLATE
56	{
57		Text [ en-US ] = "$(ERR) writing document $(ARG1) as template" ;
58	};
59	String ERRCTX_SFX_MOVEORCOPYCONTENTS
60	{
61		Text [ en-US ] = "$(ERR) copying or moving document contents" ;
62	};
63	String ERRCTX_SFX_DOCMANAGER
64	{
65		Text [ en-US ] = "$(ERR) starting the Document Manager" ;
66	};
67	String ERRCTX_SFX_OPENDOC
68	{
69		Text [ en-US ] = "$(ERR) loading document $(ARG1)" ;
70	};
71	String ERRCTX_SFX_NEWDOCDIRECT
72	{
73		Text [ en-US ] = "$(ERR) creating a new document" ;
74	};
75	String ERRCTX_SFX_NEWDOC
76	{
77		Text [ en-US ] = "$(ERR) creating a new document" ;
78	};
79	String ERRCTX_SFX_CREATEOBJSH
80	{
81		Text [ en-US ] = "$(ERR) expanding entry" ;
82	};
83	String ERRCTX_SFX_LOADBASIC
84	{
85		Text [ en-US ] = "$(ERR) loading BASIC of document $(ARG1)" ;
86	};
87	String ERRCTX_SFX_SEARCHADDRESS
88	{
89		Text [ en-US ] = "$(ERR) searching for an address";
90	};
91};
92Resource RID_ERRHDL
93{
94	String ERRCODE_CLASS_ABORT
95	{
96		Text [ en-US ] = "Abort" ;
97	};
98	String ERRCODE_CLASS_NOTEXISTS
99	{
100		Text [ en-US ] = "Nonexistent object" ;
101	};
102	String ERRCODE_CLASS_ALREADYEXISTS
103	{
104		Text [ en-US ] = "Object already exists" ;
105	};
106	String ERRCODE_CLASS_ACCESS
107	{
108		Text [ en-US ] = "Object not accessible" ;
109	};
110	String ERRCODE_CLASS_PATH
111	{
112		Text [ en-US ] = "Inadmissible path" ;
113	};
114	String ERRCODE_CLASS_LOCKING
115	{
116		Text [ en-US ] = "Locking problem" ;
117	};
118	String ERRCODE_CLASS_PARAMETER
119	{
120		Text [ en-US ] = "Wrong parameter" ;
121	};
122	String ERRCODE_CLASS_SPACE
123	{
124		Text [ en-US ] = "Resource exhausted" ;
125	};
126	String ERRCODE_CLASS_NOTSUPPORTED
127	{
128		Text [ en-US ] = "Action not supported" ;
129	};
130	String ERRCODE_CLASS_READ
131	{
132		Text [ en-US ] = "Read-Error" ;
133	};
134	String ERRCODE_CLASS_WRITE
135	{
136		Text [ en-US ] = "Write Error" ;
137	};
138	String ERRCODE_CLASS_UNKNOWN
139	{
140		Text [ en-US ] = "unknown" ;
141	};
142	String ERRCODE_CLASS_VERSION
143	{
144		Text [ en-US ] = "Version Incompatibility" ;
145	};
146	String ERRCODE_CLASS_GENERAL
147	{
148		Text [ en-US ] = "General Error" ;
149	};
150	String ERRCODE_CLASS_FORMAT
151	{
152		Text [ en-US ] = "Incorrect format" ;
153	};
154	String ERRCODE_CLASS_CREATE
155	{
156		Text [ en-US ] = "Error creating object" ;
157	};
158	String ERRCODE_CLASS_SBX
159	{
160		Text [ en-US ] = "Inadmissible value or data type" ;
161	};
162	String ERRCODE_CLASS_RUNTIME
163	{
164		Text [ en-US ] = "BASIC runtime error" ;
165	};
166	String ERRCODE_CLASS_COMPILER
167	{
168		Text [ en-US ] = "BASIC syntax error" ;
169	};
170	String 1
171	{
172		Text [ en-US ] = "General Error" ;
173	};
174	String ERRCODE_IO_GENERAL
175	{
176		Text [ en-US ] = "General input/output error." ;
177	};
178	String ERRCODE_IO_MISPLACEDCHAR
179	{
180		Text [ en-US ] = "Invalid file name." ;
181	};
182	String ERRCODE_IO_NOTEXISTS
183	{
184		Text [ en-US ] = "Nonexistent file." ;
185	};
186	String ERRCODE_IO_ALREADYEXISTS
187	{
188		Text [ en-US ] = "File already exists." ;
189	};
190	String ERRCODE_IO_NOTADIRECTORY
191	{
192		Text [ en-US ] = "The object is not a directory." ;
193	};
194	String ERRCODE_IO_NOTAFILE
195	{
196		Text [ en-US ] = "The object is not a file." ;
197	};
198	String ERRCODE_IO_INVALIDDEVICE
199	{
200		Text [ en-US ] = "The specified device is invalid." ;
201	};
202	String ERRCODE_IO_ACCESSDENIED
203	{
204		Text [ en-US ] = "The object cannot be accessed\ndue to insufficient user rights." ;
205	};
206	String ERRCODE_IO_LOCKVIOLATION
207	{
208		Text [ en-US ] = "Sharing violation while accessing the object." ;
209	};
210	String ERRCODE_IO_OUTOFSPACE
211	{
212		Text [ en-US ] = "No more space on device." ;
213	};
214	String ERRCODE_IO_ISWILDCARD
215	{
216		Text [ en-US ] = "This operation cannot be run on\nfiles containing wildcards." ;
217	};
218	String ERRCODE_IO_NOTSUPPORTED
219	{
220		Text [ en-US ] = "This operation is not supported on this operating system." ;
221	};
222	String ERRCODE_IO_TOOMANYOPENFILES
223	{
224		Text [ en-US ] = "There are too many files open." ;
225	};
226	String ERRCODE_IO_CANTREAD
227	{
228		Text [ en-US ] = "Data could not be read from the file." ;
229	};
230	String ERRCODE_IO_CANTWRITE
231	{
232		Text [ en-US ] = "The file could not be written." ;
233	};
234	String ERRCODE_IO_OUTOFMEMORY
235	{
236		Text [ en-US ] = "The operation could not be run due to insufficient memory." ;
237	};
238	String ERRCODE_IO_CANTSEEK
239	{
240		Text [ en-US ] = "The seek operation could not be run." ;
241	};
242	String ERRCODE_IO_CANTTELL
243	{
244		Text [ en-US ] = "The tell operation could not be run." ;
245	};
246	String ERRCODE_IO_WRONGVERSION
247	{
248		Text [ en-US ] = "Incorrect file version." ;
249	};
250	String ERRCODE_IO_WRONGFORMAT
251	{
252		Text [ en-US ] = "Incorrect file format." ;
253	};
254	String ERRCODE_IO_INVALIDCHAR
255	{
256		Text [ en-US ] = "The file name contains invalid characters." ;
257	};
258	String ERRCODE_IO_UNKNOWN
259	{
260		Text [ en-US ] = "An unknown I/O error has occurred." ;
261	};
262	String ERRCODE_IO_INVALIDACCESS
263	{
264		Text [ en-US ] = "An invalid attempt was made to access the file." ;
265	};
266	String ERRCODE_IO_CANTCREATE
267	{
268		Text [ en-US ] = "The file could not be created." ;
269	};
270	String ERRCODE_IO_INVALIDPARAMETER
271	{
272		Text [ en-US ] = "The operation was started under an invalid parameter." ;
273	};
274	String ERRCODE_IO_ABORT
275	{
276		Text [ en-US ] = "The operation on the file was aborted." ;
277	};
278	String ERRCODE_IO_NOTEXISTSPATH
279	{
280		Text [ en-US ] = "Path to the file does not exist." ;
281	};
282	String ERRCODE_IO_RECURSIVE
283	{
284		Text [ en-US ] = "An object cannot be copied into itself." ;
285	};
286	String ERRCODE_SFX_NOSTDTEMPLATE
287	{
288		Text [ en-US ] = "The default template could not be opened." ;
289	};
290	String ERRCODE_SFX_TEMPLATENOTFOUND
291	{
292		Text [ en-US ] = "The specified template could not be found." ;
293	};
294	String ERRCODE_SFX_NOTATEMPLATE
295	{
296		Text [ en-US ] = "The file cannot be used as template." ;
297	};
298	String ERRCODE_SFX_CANTREADDOCINFO
299	{
300		Text [ en-US ] = "Document information could not be read from the file because\nthe document information format is unknown or because document information does not\nexist." ;
301	};
302	String ERRCODE_SFX_ALREADYOPEN
303	{
304		Text [ en-US ] = "This document has already been opened for editing." ;
305	};
306	String ERRCODE_SFX_WRONGPASSWORD
307	{
308		Text [ en-US ] = "The wrong password has been entered." ;
309	};
310    String ERRCODE_SFX_DOLOADFAILED
311	{
312		Text [ en-US ] = "Error reading file." ;
313	};
314	String ERRCODE_SFX_DOCUMENTREADONLY
315	{
316		Text [ en-US ] = "The document was opened as read-only." ;
317	};
318	String ERRCODE_SFX_OLEGENERAL
319	{
320		Text [ en-US ] = "General OLE Error." ;
321	};
322	String ERRCODE_INET_NAME_RESOLVE
323	{
324		Text [ en-US ] = "The host name $(ARG1) could not be resolved." ;
325	};
326	String ERRCODE_INET_CONNECT
327	{
328		Text [ en-US ] = "Could not establish Internet connection to $(ARG1)." ;
329	};
330	String ERRCODE_INET_READ
331	{
332        Text [ en-US ] = "Error reading data from the Internet.\nServer error message: $(ARG1)." ;
333	};
334	String ERRCODE_INET_WRITE
335	{
336		Text [ en-US ] = "Error transferring data to the Internet.\nServer error message: $(ARG1)." ;
337	};
338	String ERRCODE_INET_GENERAL
339	{
340        Text [ en-US ] = "General Internet error has occurred." ;
341	};
342	String ERRCODE_INET_OFFLINE
343	{
344		Text [ en-US ] = "The requested Internet data is not available in the cache and cannot be transmitted as the Online mode has not be activated." ;
345	};
346	String ERRCODE_SFXMSG_STYLEREPLACE
347	{
348		ExtraData = ERRCODE_MSG_ERROR | ERRCODE_BUTTON_OK_CANCEL ;
349		Text [ en-US ] = "Should the $(ARG1) Style be replaced?" ;
350	};
351	String ERRCODE_SFX_NOFILTER
352	{
353		Text [ en-US ] = "A filter has not been found." ;
354	};
355	String ERRCODE_SFX_CANTFINDORIGINAL
356	{
357		Text [ en-US ] = "The original could not be determined." ;
358	};
359	String ERRCODE_SFX_CANTCREATECONTENT
360	{
361		Text [ en-US ] = "The contents could not be created." ;
362	};
363	String ERRCODE_SFX_CANTCREATELINK
364	{
365		Text [ en-US ] = "The link could not be created." ;
366	};
367	String ERRCODE_SFX_WRONGBMKFORMAT
368	{
369		Text [ en-US ] = "The link format is invalid." ;
370	};
371	String ERRCODE_SFX_WRONGICONFILE
372	{
373		Text [ en-US ] = "The configuration of the icon display is invalid." ;
374	};
375	String ERRCODE_SFX_CANTWRITEICONFILE
376	{
377		Text [ en-US ] = "The configuration of the icon display can not be saved." ;
378	};
379	String ERRCODE_SFX_CANTDELICONFILE
380	{
381		Text [ en-US ] = "The configuration of the icon display could not be deleted." ;
382	};
383	String ERRCODE_SFX_CANTRENAMECONTENT
384	{
385		Text [ en-US ] = "Contents cannot be renamed." ;
386	};
387	String ERRCODE_SFX_INVALIDBMKPATH
388	{
389		Text [ en-US ] = "The bookmark folder is invalid." ;
390	};
391	String ERRCODE_SFX_CANTWRITEURLCFGFILE
392	{
393		Text [ en-US ] = "The configuration of the URLs to be saved locally could not be saved." ;
394	};
395	String ERRCODE_SFX_WRONGURLCFGFORMAT
396	{
397		Text [ en-US ] = "The configuration format of the URLs to be saved locally is invalid." ;
398	};
399	String ERRCODE_SFX_NODOCUMENT
400	{
401		Text [ en-US ] = "This action cannot be applied to a document that does not exist." ;
402	};
403	String ERRCODE_SFX_INVALIDLINK
404	{
405		Text [ en-US ] = "The link refers to an invalid target." ;
406	};
407	String ERRCODE_SFX_INVALIDTRASHPATH
408	{
409		Text [ en-US ] = "The Recycle Bin path is invalid." ;
410	};
411	String ERRCODE_SFX_NOTRESTORABLE
412	{
413		Text [ en-US ] = "The entry could not be restored." ;
414	};
415	String ERRCODE_IO_NAMETOOLONG
416	{
417		Text [ en-US ] = "The file name is too long for the target file system." ;
418	};
419	String ERRCODE_SFX_CONSULTUSER
420	{
421		Text [ en-US ] = "The details for running the function are incomplete." ;
422	};
423	String ERRCODE_SFX_INVALIDSYNTAX
424	{
425		Text [ en-US ] = "The input syntax is invalid." ;
426	};
427	String ERRCODE_SFX_CANTCREATEFOLDER
428	{
429		Text [ en-US ] = "The input syntax is invalid." ;
430	};
431	String ERRCODE_SFX_CANTRENAMEFOLDER
432	{
433		Text [ en-US ] = "The input syntax is invalid." ;
434	};
435	String ERRCODE_SFX_WRONG_CDF_FORMAT
436	{
437		Text [ en-US ] = "The channel document has an invalid format." ;
438	};
439	String ERRCODE_SFX_EMPTY_SERVER
440	{
441		Text [ en-US ] = "The server must not be empty." ;
442	};
443	String ERRCODE_SFX_NO_ABOBOX
444	{
445		Text [ en-US ] = "A subscription folder is required to install a Channel." ;
446	};
447	String ERRCODE_IO_NOTSTORABLEINBINARYFORMAT
448	{
449        Text [ en-US ] = "This document contains attributes that cannot be saved in the selected format.\nPlease save the document in a %PRODUCTNAME %PRODUCTVERSION file format.";
450	};
451	String ERRCODE_SFX_TARGETFILECORRUPTED
452	{
453		Text [ en-US ] = "The file $(FILENAME) cannot be saved. Please check your system settings. You can find an automatically generated backup copy of this file in folder $(PATH) named $(BACKUPNAME).";
454	};
455	String ERRCODE_SFX_NOMOREDOCUMENTSALLOWED
456	{
457		Text [ en-US ] = "The maximum number of documents that can be opened at the same time has been reached. You need to close one or more documents before you can open a new document.";
458	};
459	String ERRCODE_SFX_CANTCREATEBACKUP
460	{
461		Text [ en-US ] = "Could not create backup copy." ;
462	};
463	String ERRCODE_SFX_MACROS_SUPPORT_DISABLED
464	{
465    	Text [ en-US ] = "An attempt was made to execute a macro.\nFor security reasons, macro support is disabled.";
466	};
467	String ERRCODE_SFX_DOCUMENT_MACRO_DISABLED
468	{
469    	Text [ en-US ] = "This document contains macros.\n\nMacros may contain viruses. Execution of macros is disabled due to the current macro security setting in Tools - Options - %PRODUCTNAME - Security.\n\nTherefore, some functionality may not be available." ;
470	};
471    String ERRCODE_SFX_BROKENSIGNATURE
472    {
473	    Text [ en-US ] = "The digitally signed document content and/or macros do not match the current document signature.\n\nThis could be the result of document manipulation or of structural document damage due to data transmission.\n\nWe recommend that you do not trust the content of the current document.\nExecution of macros is disabled for this document.\n " ;
474    };
475    String ERRCODE_SFX_INCOMPLETE_ENCRYPTION
476    {
477	    Text [ en-US ] = "The encrypted document contains unexpected non-encrypted streams.\n\nThis could be the result of document manipulation.\n\nWe recommend that you do not trust the content of the current document.\nExecution of macros is disabled for this document.\n " ;
478    };
479
480	String ERRCODE_IO_INVALIDLENGTH
481	{
482		Text [ en-US ] = "Invalid data length." ;
483	};
484	String ERRCODE_IO_CURRENTDIR
485	{
486		Text [ en-US ] = "Function not possible: path contains current directory." ;
487	};
488	String ERRCODE_IO_NOTSAMEDEVICE
489	{
490		Text [ en-US ] = "Function not possible: device (drive) not identical." ;
491	};
492	String ERRCODE_IO_DEVICENOTREADY
493	{
494		Text [ en-US ] = "Device (drive) not ready." ;
495	};
496	String ERRCODE_IO_BADCRC
497	{
498		Text [ en-US ] = "Wrong check amount." ;
499	};
500	String ERRCODE_IO_WRITEPROTECTED
501	{
502		Text [ en-US ] = "Function not possible: write protected." ;
503	};
504    String ERRCODE_SFX_SHARED_NOPASSWORDCHANGE
505	{
506		Text [ en-US ] = "The password of a shared spreadsheet cannot be set or changed.\nDeactivate sharing mode first.";
507	};
508};
509
510// eof ------------------------------------------------------------------------
511
512