xref: /aoo42x/main/sw/source/ui/app/error.src (revision 8660f102)
1*8660f102SAndrew Rist/**************************************************************
2cdf0e10cSrcweir *
3*8660f102SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
4*8660f102SAndrew Rist * or more contributor license agreements.  See the NOTICE file
5*8660f102SAndrew Rist * distributed with this work for additional information
6*8660f102SAndrew Rist * regarding copyright ownership.  The ASF licenses this file
7*8660f102SAndrew Rist * to you under the Apache License, Version 2.0 (the
8*8660f102SAndrew Rist * "License"); you may not use this file except in compliance
9*8660f102SAndrew Rist * with the License.  You may obtain a copy of the License at
10*8660f102SAndrew Rist *
11*8660f102SAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12*8660f102SAndrew Rist *
13*8660f102SAndrew Rist * Unless required by applicable law or agreed to in writing,
14*8660f102SAndrew Rist * software distributed under the License is distributed on an
15*8660f102SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*8660f102SAndrew Rist * KIND, either express or implied.  See the License for the
17*8660f102SAndrew Rist * specific language governing permissions and limitations
18*8660f102SAndrew Rist * under the License.
19*8660f102SAndrew Rist *
20*8660f102SAndrew Rist *************************************************************/
21*8660f102SAndrew Rist
22*8660f102SAndrew Rist
23cdf0e10cSrcweir#define __RSC
24cdf0e10cSrcweir
25cdf0e10cSrcweir
26cdf0e10cSrcweir //#include <tools/errcode.hxx>
27cdf0e10cSrcweir#include "globals.hrc"
28cdf0e10cSrcweir#include "app.hrc"
29cdf0e10cSrcweir#include "swerror.h"
30cdf0e10cSrcweir#include "comcore.hrc" // MS: 	Warum gibst auf der Core-Seite
31cdf0e10cSrcweir // 		jetzt Resourcen
32cdf0e10cSrcweir
33cdf0e10cSrcweir/*--------------------------------------------------------------------
34cdf0e10cSrcweir	Beschreibung:	Strings
35cdf0e10cSrcweir --------------------------------------------------------------------*/
36cdf0e10cSrcweir
37cdf0e10cSrcweirString STR_COMCORE_READERROR
38cdf0e10cSrcweir{
39cdf0e10cSrcweir	Text [ en-US ] = "Read-Error" ;
40cdf0e10cSrcweir};
41cdf0e10cSrcweirString STR_COMCORE_CANT_SHOW
42cdf0e10cSrcweir{
43cdf0e10cSrcweir	Text [ en-US ] = "Graphic cannot be displayed." ;
44cdf0e10cSrcweir};
45cdf0e10cSrcweir/*--------------------------------------------------------------------
46cdf0e10cSrcweir	Beschreibung:	Boxes
47cdf0e10cSrcweir --------------------------------------------------------------------*/
48cdf0e10cSrcweirInfoBox ERR_CLPBRD_WRITE
49cdf0e10cSrcweir{
50cdf0e10cSrcweir	Message [ en-US ] = "Error while copying to the clipboard." ;
51cdf0e10cSrcweir};
52cdf0e10cSrcweirInfoBox ERR_CLPBRD_READ
53cdf0e10cSrcweir{
54cdf0e10cSrcweir	Message [ en-US ] = "Error reading from the clipboard." ;
55cdf0e10cSrcweir};
56cdf0e10cSrcweir
57cdf0e10cSrcweir
58cdf0e10cSrcweir#define ERR_CODE( class, err )	(class | (err - ERROR_SW_BASE))
59cdf0e10cSrcweir#define WARN_CODE( class, err )	(class | ( err - WARN_SW_BASE))
60cdf0e10cSrcweir
61cdf0e10cSrcweirResource RID_SW_ERRHDL
62cdf0e10cSrcweir{
63cdf0e10cSrcweir	 // Import-Errors
64cdf0e10cSrcweir	String ERR_CODE ( ERRCODE_CLASS_READ , ERR_SWG_FILE_FORMAT_ERROR )
65cdf0e10cSrcweir	{
66cdf0e10cSrcweir		Text [ en-US ] = "File format error found." ;
67cdf0e10cSrcweir	};
68cdf0e10cSrcweir	String ERR_CODE ( ERRCODE_CLASS_READ , ERR_SWG_READ_ERROR )
69cdf0e10cSrcweir	{
70cdf0e10cSrcweir		Text [ en-US ] = "Error reading file." ;
71cdf0e10cSrcweir	};
72cdf0e10cSrcweir    String ERR_CODE ( ERRCODE_CLASS_READ , ERR_SW6_INPUT_FILE )
73cdf0e10cSrcweir	{
74cdf0e10cSrcweir		Text [ en-US ] = "Input file error." ;
75cdf0e10cSrcweir	};
76cdf0e10cSrcweir	String ERR_CODE ( ERRCODE_CLASS_READ , ERR_SW6_NOWRITER_FILE )
77cdf0e10cSrcweir	{
78cdf0e10cSrcweir		Text [ en-US ] = "This is not a %PRODUCTNAME Writer file." ;
79cdf0e10cSrcweir	};
80cdf0e10cSrcweir	String ERR_CODE ( ERRCODE_CLASS_READ , ERR_SW6_UNEXPECTED_EOF )
81cdf0e10cSrcweir	{
82cdf0e10cSrcweir		Text [ en-US ] = "Unexpected end of file." ;
83cdf0e10cSrcweir	};
84cdf0e10cSrcweir	String ERR_CODE ( ERRCODE_CLASS_READ , ERR_SW6_PASSWD )
85cdf0e10cSrcweir	{
86cdf0e10cSrcweir		Text [ en-US ] = "Password-protected files cannot be opened." ;
87cdf0e10cSrcweir	};
88cdf0e10cSrcweir	String ERR_CODE ( ERRCODE_CLASS_READ , ERR_WW6_NO_WW6_FILE_ERR )
89cdf0e10cSrcweir	{
90cdf0e10cSrcweir		Text [ en-US ] = "This is not a WinWord6 file." ;
91cdf0e10cSrcweir	};
92cdf0e10cSrcweir    String ERR_CODE ( ERRCODE_CLASS_READ , ERR_WW6_FASTSAVE_ERR )
93cdf0e10cSrcweir	{
94cdf0e10cSrcweir		/* ### 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 */
95cdf0e10cSrcweir		/* ### 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 */
96cdf0e10cSrcweir		/* ### 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 */
97cdf0e10cSrcweir		/* ### 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 */
98cdf0e10cSrcweir		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." ;
99cdf0e10cSrcweir	};
100cdf0e10cSrcweir    String ERR_CODE ( ERRCODE_CLASS_READ , ERR_FORMAT_ROWCOL )
101cdf0e10cSrcweir	{
102cdf0e10cSrcweir		Text [ en-US ] = "File format error found at $(ARG1)(row,col)." ;
103cdf0e10cSrcweir	};
104cdf0e10cSrcweir	String ERR_CODE ( ERRCODE_CLASS_READ , ERR_SWG_NEW_VERSION )
105cdf0e10cSrcweir	{
106cdf0e10cSrcweir		Text [ en-US ] = "File has been written in a newer version." ;
107cdf0e10cSrcweir	};
108cdf0e10cSrcweir	String ERR_CODE ( ERRCODE_CLASS_READ , ERR_WW8_NO_WW8_FILE_ERR )
109cdf0e10cSrcweir	{
110cdf0e10cSrcweir		Text [ en-US ] = "This is not a WinWord97 file.";
111cdf0e10cSrcweir	};
112cdf0e10cSrcweir	String ERR_CODE ( ERRCODE_CLASS_READ , ERR_FORMAT_FILE_ROWCOL )
113cdf0e10cSrcweir	{
114cdf0e10cSrcweir		Text [ en-US ] = "Format error discovered in the file in sub-document $(ARG1) at $(ARG2)(row,col).";
115cdf0e10cSrcweir	};
116cdf0e10cSrcweir	 // Export-Errors
117cdf0e10cSrcweir	String ERR_CODE ( ERRCODE_CLASS_WRITE , ERR_SWG_WRITE_ERROR )
118cdf0e10cSrcweir	{
119cdf0e10cSrcweir		Text [ en-US ] = "Error writing file." ;
120cdf0e10cSrcweir	};
121cdf0e10cSrcweir	String ERR_CODE ( ERRCODE_CLASS_WRITE , ERR_SWG_OLD_GLOSSARY )
122cdf0e10cSrcweir	{
123cdf0e10cSrcweir		Text [ en-US ] = "Wrong AutoText document version." ;
124cdf0e10cSrcweir	};
125cdf0e10cSrcweir    String ERR_CODE ( ERRCODE_CLASS_WRITE , ERR_WRITE_ERROR_FILE )
126cdf0e10cSrcweir	{
127cdf0e10cSrcweir		Text [ en-US ] = "Error in writing sub-document $(ARG1).";
128cdf0e10cSrcweir	};
129cdf0e10cSrcweir	 // Import-/Export-Errors
130cdf0e10cSrcweir	String ERR_CODE ( ERRCODE_CLASS_READ , ERR_SWG_INTERNAL_ERROR )
131cdf0e10cSrcweir	{
132cdf0e10cSrcweir		Text [ en-US ] = "Internal error in %PRODUCTNAME Writer file format." ;
133cdf0e10cSrcweir	};
134cdf0e10cSrcweir	String ERR_CODE ( ERRCODE_CLASS_WRITE , ERR_SWG_INTERNAL_ERROR )
135cdf0e10cSrcweir	{
136cdf0e10cSrcweir		Text [ en-US ] = "Internal error in %PRODUCTNAME Writer file format." ;
137cdf0e10cSrcweir	};
138cdf0e10cSrcweir    String ERR_CODE ( ERRCODE_CLASS_LOCKING , ERR_TXTBLOCK_NEWFILE_ERROR )
139cdf0e10cSrcweir	{
140cdf0e10cSrcweir		Text [ en-US ] = "$(ARG1) has changed." ;
141cdf0e10cSrcweir	};
142cdf0e10cSrcweir    String ERR_CODE ( ERRCODE_CLASS_PATH , ERR_AUTOPATH_ERROR )
143cdf0e10cSrcweir	{
144cdf0e10cSrcweir		Text [ en-US ] = "$(ARG1) does not exist." ;
145cdf0e10cSrcweir	};
146cdf0e10cSrcweir	String ERR_CODE ( ERRCODE_CLASS_NONE , ERR_TBLSPLIT_ERROR )
147cdf0e10cSrcweir	{
148cdf0e10cSrcweir		/* ### ACHTUNG: Neuer Text in Resource? Zellen k�nnen nicht mehr geteilt werden : Zellen k�nnen nicht mehr geteilt werden */
149cdf0e10cSrcweir		Text [ en-US ] = "Cells cannot be further split." ;
150cdf0e10cSrcweir	};
151cdf0e10cSrcweir	String ERR_CODE ( ERRCODE_CLASS_NONE , ERR_TBLINSCOL_ERROR )
152cdf0e10cSrcweir	{
153cdf0e10cSrcweir		/* ### ACHTUNG: Neuer Text in Resource? weitere Spalten k�nnen nicht eingef�gt werden : weitere Spalten k�nnen nicht eingef�gt werden */
154cdf0e10cSrcweir		Text [ en-US ] = "Additional columns cannot be inserted." ;
155cdf0e10cSrcweir	};
156cdf0e10cSrcweir	String ERR_CODE ( ERRCODE_CLASS_NONE , ERR_TBLDDECHG_ERROR )
157cdf0e10cSrcweir	{
158cdf0e10cSrcweir		Text [ en-US ] = "The structure of a linked table cannot be modified." ;
159cdf0e10cSrcweir	};
160cdf0e10cSrcweir	 // -------------------- Warnings -----------------------------------
161cdf0e10cSrcweir	String WARN_CODE ( ERRCODE_CLASS_READ , WARN_SWG_NO_DRAWINGS )
162cdf0e10cSrcweir	{
163cdf0e10cSrcweir		Text [ en-US ] = "No drawings could be read." ;
164cdf0e10cSrcweir	};
165cdf0e10cSrcweir	String WARN_CODE ( ERRCODE_CLASS_READ , WARN_WW6_FASTSAVE_ERR )
166cdf0e10cSrcweir	{
167cdf0e10cSrcweir		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." ;
168cdf0e10cSrcweir	};
169cdf0e10cSrcweir	String WARN_CODE ( ERRCODE_CLASS_READ , WARN_SWG_FEATURES_LOST )
170cdf0e10cSrcweir	{
171cdf0e10cSrcweir		Text [ en-US ] = "Not all attributes could be read." ;
172cdf0e10cSrcweir	};
173cdf0e10cSrcweir	String WARN_CODE ( ERRCODE_CLASS_WRITE , WARN_SWG_FEATURES_LOST )
174cdf0e10cSrcweir	{
175cdf0e10cSrcweir		Text [ en-US ] = "Not all attributes could be recorded." ;
176cdf0e10cSrcweir	};
177cdf0e10cSrcweir	String WARN_CODE ( ERRCODE_CLASS_READ , WARN_SWG_OLE )
178cdf0e10cSrcweir	{
179cdf0e10cSrcweir		/* ### ACHTUNG: Neuer Text in Resource? Einige OLE-Objekte konnten nur als Grafiken �bernommen werden : Einige OLE-Objekte konnten nur als Grafiken �bernommen werden */
180cdf0e10cSrcweir		Text [ en-US ] = "Some OLE objects could only be loaded as graphics." ;
181cdf0e10cSrcweir	};
182cdf0e10cSrcweir	String WARN_CODE ( ERRCODE_CLASS_WRITE , WARN_SWG_OLE )
183cdf0e10cSrcweir	{
184cdf0e10cSrcweir		/* ### ACHTUNG: Neuer Text in Resource? Einige OLE-Objekte konnten nur als Grafiken �bernommen werden : Einige OLE-Objekte konnten nur als Grafiken �bernommen werden */
185cdf0e10cSrcweir		Text [ en-US ] = "Some OLE objects could only be saved as graphics." ;
186cdf0e10cSrcweir	};
187cdf0e10cSrcweir	String WARN_CODE ( ERRCODE_CLASS_READ , WARN_SWG_POOR_LOAD )
188cdf0e10cSrcweir	{
189cdf0e10cSrcweir		/* ### ACHTUNG: Neuer Text in Resource? Dokument konnte nicht vollst�ndig geladen werden : Dokument konnte nicht vollst�ndig geladen werden */
190cdf0e10cSrcweir		Text [ en-US ] = "Document could not be completely loaded." ;
191cdf0e10cSrcweir	};
192cdf0e10cSrcweir	String WARN_CODE ( ERRCODE_CLASS_WRITE , WARN_SWG_POOR_LOAD )
193cdf0e10cSrcweir	{
194cdf0e10cSrcweir		/* ### ACHTUNG: Neuer Text in Resource? Dokument konnte nicht vollst�ndig gespeichert werden : Dokument konnte nicht vollst�ndig gespeichert werden */
195cdf0e10cSrcweir		Text [ en-US ] = "Document could not be completely saved." ;
196cdf0e10cSrcweir	};
197cdf0e10cSrcweir	String WARN_CODE ( ERRCODE_CLASS_WRITE , WARN_SWG_HTML_NO_MACROS)
198cdf0e10cSrcweir	{
199cdf0e10cSrcweir		Text [ en-US ] = "This HTML document contains %PRODUCTNAME Basic macros.\nThey were not saved with the current export settings.";
200cdf0e10cSrcweir	};
201cdf0e10cSrcweir	String ERR_CODE ( ERRCODE_CLASS_WRITE , WARN_WRITE_ERROR_FILE )
202cdf0e10cSrcweir	{
203cdf0e10cSrcweir		Text [ en-US ] = "Error in writing sub-document $(ARG1).";
204cdf0e10cSrcweir	};
205cdf0e10cSrcweir	String ERR_CODE ( ERRCODE_CLASS_WRITE , WARN_FORMAT_FILE_ROWCOL )
206cdf0e10cSrcweir	{
207cdf0e10cSrcweir		Text [ en-US ] = "Format error discovered in the file in sub-document $(ARG1) at $(ARG2)(row,col).";
208cdf0e10cSrcweir	};
209cdf0e10cSrcweir};
210cdf0e10cSrcweir
211