1*cdf0e10cSrcweir/************************************************************************* 2*cdf0e10cSrcweir * 3*cdf0e10cSrcweir * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4*cdf0e10cSrcweir * 5*cdf0e10cSrcweir * Copyright 2000, 2010 Oracle and/or its affiliates. 6*cdf0e10cSrcweir * 7*cdf0e10cSrcweir * OpenOffice.org - a multi-platform office productivity suite 8*cdf0e10cSrcweir * 9*cdf0e10cSrcweir * This file is part of OpenOffice.org. 10*cdf0e10cSrcweir * 11*cdf0e10cSrcweir * OpenOffice.org is free software: you can redistribute it and/or modify 12*cdf0e10cSrcweir * it under the terms of the GNU Lesser General Public License version 3 13*cdf0e10cSrcweir * only, as published by the Free Software Foundation. 14*cdf0e10cSrcweir * 15*cdf0e10cSrcweir * OpenOffice.org is distributed in the hope that it will be useful, 16*cdf0e10cSrcweir * but WITHOUT ANY WARRANTY; without even the implied warranty of 17*cdf0e10cSrcweir * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18*cdf0e10cSrcweir * GNU Lesser General Public License version 3 for more details 19*cdf0e10cSrcweir * (a copy is included in the LICENSE file that accompanied this code). 20*cdf0e10cSrcweir * 21*cdf0e10cSrcweir * You should have received a copy of the GNU Lesser General Public License 22*cdf0e10cSrcweir * version 3 along with OpenOffice.org. If not, see 23*cdf0e10cSrcweir * <http://www.openoffice.org/license.html> 24*cdf0e10cSrcweir * for a copy of the LGPLv3 License. 25*cdf0e10cSrcweir * 26*cdf0e10cSrcweir ************************************************************************/ 27*cdf0e10cSrcweir#define __RSC 28*cdf0e10cSrcweir 29*cdf0e10cSrcweir 30*cdf0e10cSrcweir //#include <tools/errcode.hxx> 31*cdf0e10cSrcweir#include "globals.hrc" 32*cdf0e10cSrcweir#include "app.hrc" 33*cdf0e10cSrcweir#include "swerror.h" 34*cdf0e10cSrcweir#include "comcore.hrc" // MS: Warum gibst auf der Core-Seite 35*cdf0e10cSrcweir // jetzt Resourcen 36*cdf0e10cSrcweir 37*cdf0e10cSrcweir/*-------------------------------------------------------------------- 38*cdf0e10cSrcweir Beschreibung: Strings 39*cdf0e10cSrcweir --------------------------------------------------------------------*/ 40*cdf0e10cSrcweir 41*cdf0e10cSrcweirString STR_COMCORE_READERROR 42*cdf0e10cSrcweir{ 43*cdf0e10cSrcweir Text [ en-US ] = "Read-Error" ; 44*cdf0e10cSrcweir}; 45*cdf0e10cSrcweirString STR_COMCORE_CANT_SHOW 46*cdf0e10cSrcweir{ 47*cdf0e10cSrcweir Text [ en-US ] = "Graphic cannot be displayed." ; 48*cdf0e10cSrcweir}; 49*cdf0e10cSrcweir/*-------------------------------------------------------------------- 50*cdf0e10cSrcweir Beschreibung: Boxes 51*cdf0e10cSrcweir --------------------------------------------------------------------*/ 52*cdf0e10cSrcweirInfoBox ERR_CLPBRD_WRITE 53*cdf0e10cSrcweir{ 54*cdf0e10cSrcweir Message [ en-US ] = "Error while copying to the clipboard." ; 55*cdf0e10cSrcweir}; 56*cdf0e10cSrcweirInfoBox ERR_CLPBRD_READ 57*cdf0e10cSrcweir{ 58*cdf0e10cSrcweir Message [ en-US ] = "Error reading from the clipboard." ; 59*cdf0e10cSrcweir}; 60*cdf0e10cSrcweir 61*cdf0e10cSrcweir 62*cdf0e10cSrcweir#define ERR_CODE( class, err ) (class | (err - ERROR_SW_BASE)) 63*cdf0e10cSrcweir#define WARN_CODE( class, err ) (class | ( err - WARN_SW_BASE)) 64*cdf0e10cSrcweir 65*cdf0e10cSrcweirResource RID_SW_ERRHDL 66*cdf0e10cSrcweir{ 67*cdf0e10cSrcweir // Import-Errors 68*cdf0e10cSrcweir String ERR_CODE ( ERRCODE_CLASS_READ , ERR_SWG_FILE_FORMAT_ERROR ) 69*cdf0e10cSrcweir { 70*cdf0e10cSrcweir Text [ en-US ] = "File format error found." ; 71*cdf0e10cSrcweir }; 72*cdf0e10cSrcweir String ERR_CODE ( ERRCODE_CLASS_READ , ERR_SWG_READ_ERROR ) 73*cdf0e10cSrcweir { 74*cdf0e10cSrcweir Text [ en-US ] = "Error reading file." ; 75*cdf0e10cSrcweir }; 76*cdf0e10cSrcweir String ERR_CODE ( ERRCODE_CLASS_READ , ERR_SW6_INPUT_FILE ) 77*cdf0e10cSrcweir { 78*cdf0e10cSrcweir Text [ en-US ] = "Input file error." ; 79*cdf0e10cSrcweir }; 80*cdf0e10cSrcweir String ERR_CODE ( ERRCODE_CLASS_READ , ERR_SW6_NOWRITER_FILE ) 81*cdf0e10cSrcweir { 82*cdf0e10cSrcweir Text [ en-US ] = "This is not a %PRODUCTNAME Writer file." ; 83*cdf0e10cSrcweir }; 84*cdf0e10cSrcweir String ERR_CODE ( ERRCODE_CLASS_READ , ERR_SW6_UNEXPECTED_EOF ) 85*cdf0e10cSrcweir { 86*cdf0e10cSrcweir Text [ en-US ] = "Unexpected end of file." ; 87*cdf0e10cSrcweir }; 88*cdf0e10cSrcweir String ERR_CODE ( ERRCODE_CLASS_READ , ERR_SW6_PASSWD ) 89*cdf0e10cSrcweir { 90*cdf0e10cSrcweir Text [ en-US ] = "Password-protected files cannot be opened." ; 91*cdf0e10cSrcweir }; 92*cdf0e10cSrcweir String ERR_CODE ( ERRCODE_CLASS_READ , ERR_WW6_NO_WW6_FILE_ERR ) 93*cdf0e10cSrcweir { 94*cdf0e10cSrcweir Text [ en-US ] = "This is not a WinWord6 file." ; 95*cdf0e10cSrcweir }; 96*cdf0e10cSrcweir String ERR_CODE ( ERRCODE_CLASS_READ , ERR_WW6_FASTSAVE_ERR ) 97*cdf0e10cSrcweir { 98*cdf0e10cSrcweir /* ### 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 */ 99*cdf0e10cSrcweir /* ### 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 */ 100*cdf0e10cSrcweir /* ### 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 */ 101*cdf0e10cSrcweir /* ### 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 */ 102*cdf0e10cSrcweir 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." ; 103*cdf0e10cSrcweir }; 104*cdf0e10cSrcweir String ERR_CODE ( ERRCODE_CLASS_READ , ERR_FORMAT_ROWCOL ) 105*cdf0e10cSrcweir { 106*cdf0e10cSrcweir Text [ en-US ] = "File format error found at $(ARG1)(row,col)." ; 107*cdf0e10cSrcweir }; 108*cdf0e10cSrcweir String ERR_CODE ( ERRCODE_CLASS_READ , ERR_SWG_NEW_VERSION ) 109*cdf0e10cSrcweir { 110*cdf0e10cSrcweir Text [ en-US ] = "File has been written in a newer version." ; 111*cdf0e10cSrcweir }; 112*cdf0e10cSrcweir String ERR_CODE ( ERRCODE_CLASS_READ , ERR_WW8_NO_WW8_FILE_ERR ) 113*cdf0e10cSrcweir { 114*cdf0e10cSrcweir Text [ en-US ] = "This is not a WinWord97 file."; 115*cdf0e10cSrcweir }; 116*cdf0e10cSrcweir String ERR_CODE ( ERRCODE_CLASS_READ , ERR_FORMAT_FILE_ROWCOL ) 117*cdf0e10cSrcweir { 118*cdf0e10cSrcweir Text [ en-US ] = "Format error discovered in the file in sub-document $(ARG1) at $(ARG2)(row,col)."; 119*cdf0e10cSrcweir }; 120*cdf0e10cSrcweir // Export-Errors 121*cdf0e10cSrcweir String ERR_CODE ( ERRCODE_CLASS_WRITE , ERR_SWG_WRITE_ERROR ) 122*cdf0e10cSrcweir { 123*cdf0e10cSrcweir Text [ en-US ] = "Error writing file." ; 124*cdf0e10cSrcweir }; 125*cdf0e10cSrcweir String ERR_CODE ( ERRCODE_CLASS_WRITE , ERR_SWG_OLD_GLOSSARY ) 126*cdf0e10cSrcweir { 127*cdf0e10cSrcweir Text [ en-US ] = "Wrong AutoText document version." ; 128*cdf0e10cSrcweir }; 129*cdf0e10cSrcweir String ERR_CODE ( ERRCODE_CLASS_WRITE , ERR_WRITE_ERROR_FILE ) 130*cdf0e10cSrcweir { 131*cdf0e10cSrcweir Text [ en-US ] = "Error in writing sub-document $(ARG1)."; 132*cdf0e10cSrcweir }; 133*cdf0e10cSrcweir // Import-/Export-Errors 134*cdf0e10cSrcweir String ERR_CODE ( ERRCODE_CLASS_READ , ERR_SWG_INTERNAL_ERROR ) 135*cdf0e10cSrcweir { 136*cdf0e10cSrcweir Text [ en-US ] = "Internal error in %PRODUCTNAME Writer file format." ; 137*cdf0e10cSrcweir }; 138*cdf0e10cSrcweir String ERR_CODE ( ERRCODE_CLASS_WRITE , ERR_SWG_INTERNAL_ERROR ) 139*cdf0e10cSrcweir { 140*cdf0e10cSrcweir Text [ en-US ] = "Internal error in %PRODUCTNAME Writer file format." ; 141*cdf0e10cSrcweir }; 142*cdf0e10cSrcweir String ERR_CODE ( ERRCODE_CLASS_LOCKING , ERR_TXTBLOCK_NEWFILE_ERROR ) 143*cdf0e10cSrcweir { 144*cdf0e10cSrcweir Text [ en-US ] = "$(ARG1) has changed." ; 145*cdf0e10cSrcweir }; 146*cdf0e10cSrcweir String ERR_CODE ( ERRCODE_CLASS_PATH , ERR_AUTOPATH_ERROR ) 147*cdf0e10cSrcweir { 148*cdf0e10cSrcweir Text [ en-US ] = "$(ARG1) does not exist." ; 149*cdf0e10cSrcweir }; 150*cdf0e10cSrcweir String ERR_CODE ( ERRCODE_CLASS_NONE , ERR_TBLSPLIT_ERROR ) 151*cdf0e10cSrcweir { 152*cdf0e10cSrcweir /* ### ACHTUNG: Neuer Text in Resource? Zellen k�nnen nicht mehr geteilt werden : Zellen k�nnen nicht mehr geteilt werden */ 153*cdf0e10cSrcweir Text [ en-US ] = "Cells cannot be further split." ; 154*cdf0e10cSrcweir }; 155*cdf0e10cSrcweir String ERR_CODE ( ERRCODE_CLASS_NONE , ERR_TBLINSCOL_ERROR ) 156*cdf0e10cSrcweir { 157*cdf0e10cSrcweir /* ### ACHTUNG: Neuer Text in Resource? weitere Spalten k�nnen nicht eingef�gt werden : weitere Spalten k�nnen nicht eingef�gt werden */ 158*cdf0e10cSrcweir Text [ en-US ] = "Additional columns cannot be inserted." ; 159*cdf0e10cSrcweir }; 160*cdf0e10cSrcweir String ERR_CODE ( ERRCODE_CLASS_NONE , ERR_TBLDDECHG_ERROR ) 161*cdf0e10cSrcweir { 162*cdf0e10cSrcweir Text [ en-US ] = "The structure of a linked table cannot be modified." ; 163*cdf0e10cSrcweir }; 164*cdf0e10cSrcweir // -------------------- Warnings ----------------------------------- 165*cdf0e10cSrcweir String WARN_CODE ( ERRCODE_CLASS_READ , WARN_SWG_NO_DRAWINGS ) 166*cdf0e10cSrcweir { 167*cdf0e10cSrcweir Text [ en-US ] = "No drawings could be read." ; 168*cdf0e10cSrcweir }; 169*cdf0e10cSrcweir String WARN_CODE ( ERRCODE_CLASS_READ , WARN_WW6_FASTSAVE_ERR ) 170*cdf0e10cSrcweir { 171*cdf0e10cSrcweir 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." ; 172*cdf0e10cSrcweir }; 173*cdf0e10cSrcweir String WARN_CODE ( ERRCODE_CLASS_READ , WARN_SWG_FEATURES_LOST ) 174*cdf0e10cSrcweir { 175*cdf0e10cSrcweir Text [ en-US ] = "Not all attributes could be read." ; 176*cdf0e10cSrcweir }; 177*cdf0e10cSrcweir String WARN_CODE ( ERRCODE_CLASS_WRITE , WARN_SWG_FEATURES_LOST ) 178*cdf0e10cSrcweir { 179*cdf0e10cSrcweir Text [ en-US ] = "Not all attributes could be recorded." ; 180*cdf0e10cSrcweir }; 181*cdf0e10cSrcweir String WARN_CODE ( ERRCODE_CLASS_READ , WARN_SWG_OLE ) 182*cdf0e10cSrcweir { 183*cdf0e10cSrcweir /* ### ACHTUNG: Neuer Text in Resource? Einige OLE-Objekte konnten nur als Grafiken �bernommen werden : Einige OLE-Objekte konnten nur als Grafiken �bernommen werden */ 184*cdf0e10cSrcweir Text [ en-US ] = "Some OLE objects could only be loaded as graphics." ; 185*cdf0e10cSrcweir }; 186*cdf0e10cSrcweir String WARN_CODE ( ERRCODE_CLASS_WRITE , WARN_SWG_OLE ) 187*cdf0e10cSrcweir { 188*cdf0e10cSrcweir /* ### ACHTUNG: Neuer Text in Resource? Einige OLE-Objekte konnten nur als Grafiken �bernommen werden : Einige OLE-Objekte konnten nur als Grafiken �bernommen werden */ 189*cdf0e10cSrcweir Text [ en-US ] = "Some OLE objects could only be saved as graphics." ; 190*cdf0e10cSrcweir }; 191*cdf0e10cSrcweir String WARN_CODE ( ERRCODE_CLASS_READ , WARN_SWG_POOR_LOAD ) 192*cdf0e10cSrcweir { 193*cdf0e10cSrcweir /* ### ACHTUNG: Neuer Text in Resource? Dokument konnte nicht vollst�ndig geladen werden : Dokument konnte nicht vollst�ndig geladen werden */ 194*cdf0e10cSrcweir Text [ en-US ] = "Document could not be completely loaded." ; 195*cdf0e10cSrcweir }; 196*cdf0e10cSrcweir String WARN_CODE ( ERRCODE_CLASS_WRITE , WARN_SWG_POOR_LOAD ) 197*cdf0e10cSrcweir { 198*cdf0e10cSrcweir /* ### ACHTUNG: Neuer Text in Resource? Dokument konnte nicht vollst�ndig gespeichert werden : Dokument konnte nicht vollst�ndig gespeichert werden */ 199*cdf0e10cSrcweir Text [ en-US ] = "Document could not be completely saved." ; 200*cdf0e10cSrcweir }; 201*cdf0e10cSrcweir String WARN_CODE ( ERRCODE_CLASS_WRITE , WARN_SWG_HTML_NO_MACROS) 202*cdf0e10cSrcweir { 203*cdf0e10cSrcweir Text [ en-US ] = "This HTML document contains %PRODUCTNAME Basic macros.\nThey were not saved with the current export settings."; 204*cdf0e10cSrcweir }; 205*cdf0e10cSrcweir String ERR_CODE ( ERRCODE_CLASS_WRITE , WARN_WRITE_ERROR_FILE ) 206*cdf0e10cSrcweir { 207*cdf0e10cSrcweir Text [ en-US ] = "Error in writing sub-document $(ARG1)."; 208*cdf0e10cSrcweir }; 209*cdf0e10cSrcweir String ERR_CODE ( ERRCODE_CLASS_WRITE , WARN_FORMAT_FILE_ROWCOL ) 210*cdf0e10cSrcweir { 211*cdf0e10cSrcweir Text [ en-US ] = "Format error discovered in the file in sub-document $(ARG1) at $(ARG2)(row,col)."; 212*cdf0e10cSrcweir }; 213*cdf0e10cSrcweir}; 214*cdf0e10cSrcweir 215