1/**************************************************************
| 1/**************************************************************
|
2 *
| 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
| 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 *
| 10 *
|
11 * http://www.apache.org/licenses/LICENSE-2.0
| 11 * http://www.apache.org/licenses/LICENSE-2.0
|
12 *
| 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.
| 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 *
| 19 *
|
20 *************************************************************/ 21 22
| 20 *************************************************************/ 21 22
|
| 23
|
23#define __RSC 24
| 24#define __RSC 25
|
25 26 //#include <tools/errcode.hxx>
| 26//#include <tools/errcode.hxx>
|
27#include "globals.hrc" 28#include "app.hrc" 29#include "swerror.h"
| 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
| 30#include "comcore.hrc"// MS: Warum gibst auf der Core-Seite 31// jetzt Resourcen
|
32 33/*--------------------------------------------------------------------
| 32 33/*--------------------------------------------------------------------
|
34 Beschreibung: Strings
| 34 Description: 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/*--------------------------------------------------------------------
| 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
| 46 Description: 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{
| 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
| 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 };
| 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 )
| 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 };
| 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 )
| 92 String ERR_CODE ( ERRCODE_CLASS_READ , ERR_WW6_FASTSAVE_ERR )
|
93 {
| 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 };
| 94 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." ; 95 };
|
100 String ERR_CODE ( ERRCODE_CLASS_READ , ERR_FORMAT_ROWCOL )
| 96 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 {
| 97 { 98 Text [ en-US ] = "File format error found at $(ARG1)(row,col)." ; 99 }; 100 String ERR_CODE ( ERRCODE_CLASS_READ , ERR_SWG_NEW_VERSION ) 101 { 102 Text [ en-US ] = "File has been written in a newer version." ; 103 }; 104 String ERR_CODE ( ERRCODE_CLASS_READ , ERR_WW8_NO_WW8_FILE_ERR ) 105 {
|
110 Text [ en-US ] = "This is not a WinWord97 file.";
| 106 Text [ en-US ] = "This is not a WinWord97 file." ;
|
111 }; 112 String ERR_CODE ( ERRCODE_CLASS_READ , ERR_FORMAT_FILE_ROWCOL ) 113 {
| 107 }; 108 String ERR_CODE ( ERRCODE_CLASS_READ , ERR_FORMAT_FILE_ROWCOL ) 109 {
|
114 Text [ en-US ] = "Format error discovered in the file in sub-document $(ARG1) at $(ARG2)(row,col).";
| 110 Text [ en-US ] = "Format error discovered in the file in sub-document $(ARG1) at $(ARG2)(row,col)." ;
|
115 };
| 111 };
|
116 // Export-Errors
| 112 // 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 };
| 113 String ERR_CODE ( ERRCODE_CLASS_WRITE , ERR_SWG_WRITE_ERROR ) 114 { 115 Text [ en-US ] = "Error writing file." ; 116 }; 117 String ERR_CODE ( ERRCODE_CLASS_WRITE , ERR_SWG_OLD_GLOSSARY ) 118 { 119 Text [ en-US ] = "Wrong AutoText document version." ; 120 };
|
125 String ERR_CODE ( ERRCODE_CLASS_WRITE , ERR_WRITE_ERROR_FILE )
| 121 String ERR_CODE ( ERRCODE_CLASS_WRITE , ERR_WRITE_ERROR_FILE )
|
126 {
| 122 {
|
127 Text [ en-US ] = "Error in writing sub-document $(ARG1).";
| 123 Text [ en-US ] = "Error in writing sub-document $(ARG1)." ;
|
128 };
| 124 };
|
129 // Import-/Export-Errors
| 125 // 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 };
| 126 String ERR_CODE ( ERRCODE_CLASS_READ , ERR_SWG_INTERNAL_ERROR ) 127 { 128 Text [ en-US ] = "Internal error in %PRODUCTNAME Writer file format." ; 129 }; 130 String ERR_CODE ( ERRCODE_CLASS_WRITE , ERR_SWG_INTERNAL_ERROR ) 131 { 132 Text [ en-US ] = "Internal error in %PRODUCTNAME Writer file format." ; 133 };
|
138 String ERR_CODE ( ERRCODE_CLASS_LOCKING , ERR_TXTBLOCK_NEWFILE_ERROR )
| 134 String ERR_CODE ( ERRCODE_CLASS_LOCKING , ERR_TXTBLOCK_NEWFILE_ERROR )
|
139 { 140 Text [ en-US ] = "$(ARG1) has changed." ; 141 };
| 135 { 136 Text [ en-US ] = "$(ARG1) has changed." ; 137 };
|
142 String ERR_CODE ( ERRCODE_CLASS_PATH , ERR_AUTOPATH_ERROR )
| 138 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 {
| 139 { 140 Text [ en-US ] = "$(ARG1) does not exist." ; 141 }; 142 String ERR_CODE ( ERRCODE_CLASS_NONE , ERR_TBLSPLIT_ERROR ) 143 {
|
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 {
| 144 Text [ en-US ] = "Cells cannot be further split." ; 145 }; 146 String ERR_CODE ( ERRCODE_CLASS_NONE , ERR_TBLINSCOL_ERROR ) 147 {
|
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 };
| 148 Text [ en-US ] = "Additional columns cannot be inserted." ; 149 }; 150 String ERR_CODE ( ERRCODE_CLASS_NONE , ERR_TBLDDECHG_ERROR ) 151 { 152 Text [ en-US ] = "The structure of a linked table cannot be modified." ; 153 };
|
160 // -------------------- Warnings -----------------------------------
| 154 // -------------------- 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 {
| 155 String WARN_CODE ( ERRCODE_CLASS_READ , WARN_SWG_NO_DRAWINGS ) 156 { 157 Text [ en-US ] = "No drawings could be read." ; 158 }; 159 String WARN_CODE ( ERRCODE_CLASS_READ , WARN_WW6_FASTSAVE_ERR ) 160 {
|
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." ;
| 161 Text [ en-US ] = "This file was saved with Word in 'Fast Save' mode. Please unmark the Word 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 {
| 162 }; 163 String WARN_CODE ( ERRCODE_CLASS_READ , WARN_SWG_FEATURES_LOST ) 164 { 165 Text [ en-US ] = "Not all attributes could be read." ; 166 }; 167 String WARN_CODE ( ERRCODE_CLASS_WRITE , WARN_SWG_FEATURES_LOST ) 168 { 169 Text [ en-US ] = "Not all attributes could be recorded." ; 170 }; 171 String WARN_CODE ( ERRCODE_CLASS_READ , WARN_SWG_OLE ) 172 {
|
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 {
| 173 Text [ en-US ] = "Some OLE objects could only be loaded as graphics." ; 174 }; 175 String WARN_CODE ( ERRCODE_CLASS_WRITE , WARN_SWG_OLE ) 176 {
|
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 {
| 177 Text [ en-US ] = "Some OLE objects could only be saved as graphics." ; 178 }; 179 String WARN_CODE ( ERRCODE_CLASS_READ , WARN_SWG_POOR_LOAD ) 180 {
|
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 {
| 181 Text [ en-US ] = "Document could not be completely loaded." ; 182 }; 183 String WARN_CODE ( ERRCODE_CLASS_WRITE , WARN_SWG_POOR_LOAD ) 184 {
|
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 {
| 185 Text [ en-US ] = "Document could not be completely saved." ; 186 }; 187 String WARN_CODE ( ERRCODE_CLASS_WRITE , WARN_SWG_HTML_NO_MACROS) 188 {
|
199 Text [ en-US ] = "This HTML document contains %PRODUCTNAME Basic macros.\nThey were not saved with the current export settings.";
| 189 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 {
| 190 }; 191 String ERR_CODE ( ERRCODE_CLASS_WRITE , WARN_WRITE_ERROR_FILE ) 192 {
|
203 Text [ en-US ] = "Error in writing sub-document $(ARG1).";
| 193 Text [ en-US ] = "Error in writing sub-document $(ARG1)." ;
|
204 }; 205 String ERR_CODE ( ERRCODE_CLASS_WRITE , WARN_FORMAT_FILE_ROWCOL ) 206 {
| 194 }; 195 String ERR_CODE ( ERRCODE_CLASS_WRITE , WARN_FORMAT_FILE_ROWCOL ) 196 {
|
207 Text [ en-US ] = "Format error discovered in the file in sub-document $(ARG1) at $(ARG2)(row,col).";
| 197 Text [ en-US ] = "Format error discovered in the file in sub-document $(ARG1) at $(ARG2)(row,col)." ;
|
208 }; 209}; 210
| 198 }; 199}; 200
|
| 201// ********************************************************************** EOF
|
| |