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