xref: /trunk/main/sc/source/ui/src/scerrors.src (revision 31bbceb0f9d64c0c2c3b22a794a1666c1f33396e)
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
24#define __RSC
25#include "scerrors.hxx"
26#include "sc.hrc"
27
28Resource RID_ERRHDLSC
29{
30    // ERRORS -----------------------------------------------------
31    String SCERR_IMPORT_CONNECT & ERRCODE_RES_MASK
32    {
33        Text [ en-US ] = "Impossible to connect to the file." ;
34    };
35    String SCERR_IMPORT_OPEN & ERRCODE_RES_MASK
36    {
37        Text [ en-US ] = "File could not be opened." ;
38    };
39    String SCERR_IMPORT_UNKNOWN & ERRCODE_RES_MASK
40    {
41        Text [ en-US ] = "An unknown error has occurred." ;
42    };
43    String SCERR_IMPORT_OUTOFMEM & ERRCODE_RES_MASK
44    {
45        Text [ en-US ] = "Not enough memory while importing." ;
46    };
47    String SCERR_IMPORT_UNKNOWN_WK & ERRCODE_RES_MASK
48    {
49        Text [ en-US ] = "Unknown Lotus1-2-3 file format." ;
50    };
51    String SCERR_IMPORT_FORMAT & ERRCODE_RES_MASK
52    {
53        Text [ en-US ] = "Error in file structure while importing." ;
54    };
55    String SCERR_IMPORT_NI & ERRCODE_RES_MASK
56    {
57        Text [ en-US ] = "There is no filter available for this file type." ;
58    };
59    String SCERR_IMPORT_UNKNOWN_BIFF & ERRCODE_RES_MASK
60    {
61        Text [ en-US ] = "Unknown or unsupported Excel file format." ;
62    };
63    String SCERR_IMPORT_NI_BIFF & ERRCODE_RES_MASK
64    {
65        Text [ en-US ] = "Excel file format not yet implemented." ;
66    };
67    String SCERR_IMPORT_FILEPASSWD & ERRCODE_RES_MASK
68    {
69        Text [ en-US ] = "This file is password-protected." ;
70    };
71    String SCERR_IMPORT_INTERNAL & ERRCODE_RES_MASK
72    {
73        Text [ en-US ] = "Internal import error." ;
74    };
75    String SCERR_IMPORT_8K_LIMIT & ERRCODE_RES_MASK
76    {
77        Text [ en-US ] = "The file contains data after row 8192 and therefore can not be read." ;
78    };
79    String SCERR_IMPORT_FILE_ROWCOL & ERRCODE_RES_MASK
80    {
81        Text [ en-US ] = "Format error discovered in the file in sub-document $(ARG1) at $(ARG2)(row,col)." ;
82    };
83    String SCERR_IMPORT_FORMAT_ROWCOL & ERRCODE_RES_MASK
84    {
85        Text [ en-US ] = "File format error found at $(ARG1)(row,col)." ;
86    };
87
88    // Export ----------------------------------------------------
89    String SCERR_EXPORT_CONNECT & ERRCODE_RES_MASK
90    {
91        Text [ en-US ] = "Connection to the file could not be established." ;
92    };
93    String SCERR_EXPORT_DATA & ERRCODE_RES_MASK
94    {
95        Text [ en-US ] = "Data could not be written." ;
96    };
97    String SCERR_EXPORT_SQLEXCEPTION & ERRCODE_RES_MASK
98    {
99        Text [ en-US ] = "$(ARG1)" ;
100    };
101    String SCERR_EXPORT_ENCODING & ERRCODE_RES_MASK
102    {
103        Text [ en-US ] = "Cell $(ARG1) contains characters that are not representable in the selected target character set \"$(ARG2)\"." ;
104    };
105    String SCERR_EXPORT_FIELDWIDTH & ERRCODE_RES_MASK
106    {
107        Text [ en-US ] = "Cell $(ARG1) contains a string that is longer in the selected target character set \"$(ARG2)\" than the given field width." ;
108    };
109    // WARNINGS ---------------------------------------------------
110    String SCWARN_EXPORT_ASCII & ERRCODE_RES_MASK
111    {
112        Text [ en-US ] = "Only the active sheet was saved." ;
113    };
114    String SCWARN_IMPORT_RANGE_OVERFLOW & ERRCODE_RES_MASK
115    {
116        Text [ en-US ] = "The maximum number of rows has been exceeded. Excess rows were not imported!" ;
117    };
118    String SCWARN_IMPORT_ROW_OVERFLOW & ERRCODE_RES_MASK
119    {
120        Text [ en-US ] = "The data could not be loaded completely because the maximum number of rows per sheet was exceeded." ;
121    };
122    String SCWARN_IMPORT_COLUMN_OVERFLOW & ERRCODE_RES_MASK
123    {
124        Text [ en-US ] = "The data could not be loaded completely because the maximum number of columns per sheet was exceeded." ;
125    };
126    String SCWARN_IMPORT_SHEET_OVERFLOW & ERRCODE_RES_MASK
127    {
128        Text [ en-US ] = "Some sheets could not be loaded because the maximum number of sheets was exceeded." ;
129    };
130    String SCWARN_IMPORT_OPEN_FM3 & ERRCODE_RES_MASK
131    {
132        Text [ en-US ] = "Corresponding FM3-File could not be opened." ;
133    };
134    String SCWARN_IMPORT_WRONG_FM3 & ERRCODE_RES_MASK
135    {
136        Text [ en-US ] = "Error in file structure of corresponding FM3-File." ;
137    };
138    String SCWARN_CORE_HARD_RECALC & ERRCODE_RES_MASK
139    {
140        Text [ en-US ] = "Document too complex for automatic calculation. Press F9 to recalculate." ;
141    };
142    String SCWARN_EXPORT_MAXROW & ERRCODE_RES_MASK
143    {
144        Text [ en-US ] = "The document contains more rows than supported in the selected format.\nAdditional rows were not saved." ;
145    };
146    String SCWARN_IMPORT_INFOLOST & ERRCODE_RES_MASK
147    {
148        Text [ en-US ] = "The document contains information not recognized by this program version.\nResaving the document will delete this information!" ;
149    };
150    String SCWARN_EXPORT_DATALOST & ERRCODE_RES_MASK
151    {
152        Text [ en-US ] = "Not all cell contents could be saved in the specified format." ;
153    };
154    String SCWARN_EXPORT_NONCONVERTIBLE_CHARS & ERRCODE_RES_MASK
155    {
156        Text [ en-US ] = "The following characters could not be converted to the selected character set\nand were written as Ӓ surrogates:\n\n$(ARG1)" ;
157    };
158    String SCWARN_IMPORT_FILE_ROWCOL & ERRCODE_RES_MASK
159    {
160        Text [ en-US ] = "Format error discovered in the file in sub-document $(ARG1) at $(ARG2)(row,col)." ;
161    };
162    String SCWARN_IMPORT_FEATURES_LOST & ERRCODE_RES_MASK
163    {
164        Text [ en-US] = "Not all attributes could be read." ;
165    };
166};
167
168// ********************************************************************** EOF
169