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