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