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