xref: /aoo4110/main/sw/source/ui/app/error.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#define __RSC
24
25
26 //#include <tools/errcode.hxx>
27#include "globals.hrc"
28#include "app.hrc"
29#include "swerror.h"
30#include "comcore.hrc" // MS: 	Warum gibst auf der Core-Seite
31 // 		jetzt Resourcen
32
33/*--------------------------------------------------------------------
34	Beschreibung:	Strings
35 --------------------------------------------------------------------*/
36
37String STR_COMCORE_READERROR
38{
39	Text [ en-US ] = "Read-Error" ;
40};
41String STR_COMCORE_CANT_SHOW
42{
43	Text [ en-US ] = "Graphic cannot be displayed." ;
44};
45/*--------------------------------------------------------------------
46	Beschreibung:	Boxes
47 --------------------------------------------------------------------*/
48InfoBox ERR_CLPBRD_WRITE
49{
50	Message [ en-US ] = "Error while copying to the clipboard." ;
51};
52InfoBox ERR_CLPBRD_READ
53{
54	Message [ en-US ] = "Error reading from the clipboard." ;
55};
56
57
58#define ERR_CODE( class, err )	(class | (err - ERROR_SW_BASE))
59#define WARN_CODE( class, err )	(class | ( err - WARN_SW_BASE))
60
61Resource RID_SW_ERRHDL
62{
63	 // Import-Errors
64	String ERR_CODE ( ERRCODE_CLASS_READ , ERR_SWG_FILE_FORMAT_ERROR )
65	{
66		Text [ en-US ] = "File format error found." ;
67	};
68	String ERR_CODE ( ERRCODE_CLASS_READ , ERR_SWG_READ_ERROR )
69	{
70		Text [ en-US ] = "Error reading file." ;
71	};
72    String ERR_CODE ( ERRCODE_CLASS_READ , ERR_SW6_INPUT_FILE )
73	{
74		Text [ en-US ] = "Input file error." ;
75	};
76	String ERR_CODE ( ERRCODE_CLASS_READ , ERR_SW6_NOWRITER_FILE )
77	{
78		Text [ en-US ] = "This is not a %PRODUCTNAME Writer file." ;
79	};
80	String ERR_CODE ( ERRCODE_CLASS_READ , ERR_SW6_UNEXPECTED_EOF )
81	{
82		Text [ en-US ] = "Unexpected end of file." ;
83	};
84	String ERR_CODE ( ERRCODE_CLASS_READ , ERR_SW6_PASSWD )
85	{
86		Text [ en-US ] = "Password-protected files cannot be opened." ;
87	};
88	String ERR_CODE ( ERRCODE_CLASS_READ , ERR_WW6_NO_WW6_FILE_ERR )
89	{
90		Text [ en-US ] = "This is not a WinWord6 file." ;
91	};
92    String ERR_CODE ( ERRCODE_CLASS_READ , ERR_WW6_FASTSAVE_ERR )
93	{
94		/* ### ACHTUNG: Neuer Text in Resource? Diese Datei wurde mit der WinWord-Option 'Schnellspeichern' gespeichert. Bitte schalten Sie in WinWord die Option 'Schnellspeichern zulassen' aus und speichern sie die Datei erneut mit WinWord : Diese Datei wurde mit der WinWord-Option ''Schnellspeichern'' gespeichert. Bitte schalten Sie in WinWord die Option ''Schnellspeichern zulassen'' aus und speichern sie die Datei erneut mit WinWord */
95		/* ### ACHTUNG: Neuer Text in Resource? Diese Datei wurde mit der WinWord-Option 'Schnellspeichern' gespeichert. Bitte schalten Sie in WinWord die Option 'Schnellspeichern zulassen' aus und speichern sie die Datei erneut mit WinWord : Diese Datei wurde mit der WinWord-Option ''Schnellspeichern'' gespeichert. Bitte schalten Sie in WinWord die Option ''Schnellspeichern zulassen'' aus und speichern sie die Datei erneut mit WinWord */
96		/* ### ACHTUNG: Neuer Text in Resource? Diese Datei wurde mit der WinWord-Option 'Schnellspeichern' gespeichert. Bitte schalten Sie in WinWord die Option 'Schnellspeichern zulassen' aus und speichern sie die Datei erneut mit WinWord : Diese Datei wurde mit der WinWord-Option ''Schnellspeichern'' gespeichert. Bitte schalten Sie in WinWord die Option ''Schnellspeichern zulassen'' aus und speichern sie die Datei erneut mit WinWord */
97		/* ### ACHTUNG: Neuer Text in Resource? Diese Datei wurde mit der WinWord-Option 'Schnellspeichern' gespeichert. Bitte schalten Sie in WinWord die Option 'Schnellspeichern zulassen' aus und speichern sie die Datei erneut mit WinWord : Diese Datei wurde mit der WinWord-Option ''Schnellspeichern'' gespeichert. Bitte schalten Sie in WinWord die Option ''Schnellspeichern zulassen'' aus und speichern sie die Datei erneut mit WinWord */
98		Text [ en-US ] = "This file was saved with WinWord in 'Fast Save' mode. Please unmark the WinWord option 'Allow Fast Saves' and save the file again." ;
99	};
100    String ERR_CODE ( ERRCODE_CLASS_READ , ERR_FORMAT_ROWCOL )
101	{
102		Text [ en-US ] = "File format error found at $(ARG1)(row,col)." ;
103	};
104	String ERR_CODE ( ERRCODE_CLASS_READ , ERR_SWG_NEW_VERSION )
105	{
106		Text [ en-US ] = "File has been written in a newer version." ;
107	};
108	String ERR_CODE ( ERRCODE_CLASS_READ , ERR_WW8_NO_WW8_FILE_ERR )
109	{
110		Text [ en-US ] = "This is not a WinWord97 file.";
111	};
112	String ERR_CODE ( ERRCODE_CLASS_READ , ERR_FORMAT_FILE_ROWCOL )
113	{
114		Text [ en-US ] = "Format error discovered in the file in sub-document $(ARG1) at $(ARG2)(row,col).";
115	};
116	 // Export-Errors
117	String ERR_CODE ( ERRCODE_CLASS_WRITE , ERR_SWG_WRITE_ERROR )
118	{
119		Text [ en-US ] = "Error writing file." ;
120	};
121	String ERR_CODE ( ERRCODE_CLASS_WRITE , ERR_SWG_OLD_GLOSSARY )
122	{
123		Text [ en-US ] = "Wrong AutoText document version." ;
124	};
125    String ERR_CODE ( ERRCODE_CLASS_WRITE , ERR_WRITE_ERROR_FILE )
126	{
127		Text [ en-US ] = "Error in writing sub-document $(ARG1).";
128	};
129	 // Import-/Export-Errors
130	String ERR_CODE ( ERRCODE_CLASS_READ , ERR_SWG_INTERNAL_ERROR )
131	{
132		Text [ en-US ] = "Internal error in %PRODUCTNAME Writer file format." ;
133	};
134	String ERR_CODE ( ERRCODE_CLASS_WRITE , ERR_SWG_INTERNAL_ERROR )
135	{
136		Text [ en-US ] = "Internal error in %PRODUCTNAME Writer file format." ;
137	};
138    String ERR_CODE ( ERRCODE_CLASS_LOCKING , ERR_TXTBLOCK_NEWFILE_ERROR )
139	{
140		Text [ en-US ] = "$(ARG1) has changed." ;
141	};
142    String ERR_CODE ( ERRCODE_CLASS_PATH , ERR_AUTOPATH_ERROR )
143	{
144		Text [ en-US ] = "$(ARG1) does not exist." ;
145	};
146	String ERR_CODE ( ERRCODE_CLASS_NONE , ERR_TBLSPLIT_ERROR )
147	{
148		/* ### ACHTUNG: Neuer Text in Resource? Zellen k�nnen nicht mehr geteilt werden : Zellen k�nnen nicht mehr geteilt werden */
149		Text [ en-US ] = "Cells cannot be further split." ;
150	};
151	String ERR_CODE ( ERRCODE_CLASS_NONE , ERR_TBLINSCOL_ERROR )
152	{
153		/* ### ACHTUNG: Neuer Text in Resource? weitere Spalten k�nnen nicht eingef�gt werden : weitere Spalten k�nnen nicht eingef�gt werden */
154		Text [ en-US ] = "Additional columns cannot be inserted." ;
155	};
156	String ERR_CODE ( ERRCODE_CLASS_NONE , ERR_TBLDDECHG_ERROR )
157	{
158		Text [ en-US ] = "The structure of a linked table cannot be modified." ;
159	};
160	 // -------------------- Warnings -----------------------------------
161	String WARN_CODE ( ERRCODE_CLASS_READ , WARN_SWG_NO_DRAWINGS )
162	{
163		Text [ en-US ] = "No drawings could be read." ;
164	};
165	String WARN_CODE ( ERRCODE_CLASS_READ , WARN_WW6_FASTSAVE_ERR )
166	{
167		Text [ en-US ] = "This file was saved with WinWord in 'Fast Save' mode. Please unmark the WinWord option 'Allow Fast Saves' and save the file again." ;
168	};
169	String WARN_CODE ( ERRCODE_CLASS_READ , WARN_SWG_FEATURES_LOST )
170	{
171		Text [ en-US ] = "Not all attributes could be read." ;
172	};
173	String WARN_CODE ( ERRCODE_CLASS_WRITE , WARN_SWG_FEATURES_LOST )
174	{
175		Text [ en-US ] = "Not all attributes could be recorded." ;
176	};
177	String WARN_CODE ( ERRCODE_CLASS_READ , WARN_SWG_OLE )
178	{
179		/* ### ACHTUNG: Neuer Text in Resource? Einige OLE-Objekte konnten nur als Grafiken �bernommen werden : Einige OLE-Objekte konnten nur als Grafiken �bernommen werden */
180		Text [ en-US ] = "Some OLE objects could only be loaded as graphics." ;
181	};
182	String WARN_CODE ( ERRCODE_CLASS_WRITE , WARN_SWG_OLE )
183	{
184		/* ### ACHTUNG: Neuer Text in Resource? Einige OLE-Objekte konnten nur als Grafiken �bernommen werden : Einige OLE-Objekte konnten nur als Grafiken �bernommen werden */
185		Text [ en-US ] = "Some OLE objects could only be saved as graphics." ;
186	};
187	String WARN_CODE ( ERRCODE_CLASS_READ , WARN_SWG_POOR_LOAD )
188	{
189		/* ### ACHTUNG: Neuer Text in Resource? Dokument konnte nicht vollst�ndig geladen werden : Dokument konnte nicht vollst�ndig geladen werden */
190		Text [ en-US ] = "Document could not be completely loaded." ;
191	};
192	String WARN_CODE ( ERRCODE_CLASS_WRITE , WARN_SWG_POOR_LOAD )
193	{
194		/* ### ACHTUNG: Neuer Text in Resource? Dokument konnte nicht vollst�ndig gespeichert werden : Dokument konnte nicht vollst�ndig gespeichert werden */
195		Text [ en-US ] = "Document could not be completely saved." ;
196	};
197	String WARN_CODE ( ERRCODE_CLASS_WRITE , WARN_SWG_HTML_NO_MACROS)
198	{
199		Text [ en-US ] = "This HTML document contains %PRODUCTNAME Basic macros.\nThey were not saved with the current export settings.";
200	};
201	String ERR_CODE ( ERRCODE_CLASS_WRITE , WARN_WRITE_ERROR_FILE )
202	{
203		Text [ en-US ] = "Error in writing sub-document $(ARG1).";
204	};
205	String ERR_CODE ( ERRCODE_CLASS_WRITE , WARN_FORMAT_FILE_ROWCOL )
206	{
207		Text [ en-US ] = "Format error discovered in the file in sub-document $(ARG1) at $(ARG2)(row,col).";
208	};
209};
210
211