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