1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 #include "scerrors.hxx"
25 //------------------------------------------------------------
26 // ERRORS -----------------------------------------------------
27 //------------------------------------------------------------
28 String SCERR_IMPORT_CONNECT & ERRCODE_RES_MASK
30 Text [ en-US ] = "Impossible to connect to the file." ;
32 String SCERR_IMPORT_OPEN & ERRCODE_RES_MASK
34 Text [ en-US ] = "File could not be opened." ;
36 String SCERR_IMPORT_UNKNOWN & ERRCODE_RES_MASK
38 Text [ en-US ] = "An unknown error has occurred." ;
40 String SCERR_IMPORT_OUTOFMEM & ERRCODE_RES_MASK
42 Text [ en-US ] = "Not enough memory while importing." ;
44 String SCERR_IMPORT_UNKNOWN_WK & ERRCODE_RES_MASK
46 Text [ en-US ] = "Unknown Lotus1-2-3 file format." ;
48 String SCERR_IMPORT_FORMAT & ERRCODE_RES_MASK
50 Text [ en-US ] = "Error in file structure while importing." ;
52 String SCERR_IMPORT_NI & ERRCODE_RES_MASK
54 Text [ en-US ] = "There is no filter available for this file type." ;
56 String SCERR_IMPORT_UNKNOWN_BIFF & ERRCODE_RES_MASK
58 Text [ en-US ] = "Unknown or unsupported Excel file format." ;
60 String SCERR_IMPORT_NI_BIFF & ERRCODE_RES_MASK
62 Text [ en-US ] = "Excel file format not yet implemented." ;
64 String SCERR_IMPORT_FILEPASSWD & ERRCODE_RES_MASK
66 Text [ en-US ] = "This file is password-protected." ;
68 String SCERR_IMPORT_INTERNAL & ERRCODE_RES_MASK
70 Text [ en-US ] = "Internal import error." ;
72 String SCERR_IMPORT_8K_LIMIT & ERRCODE_RES_MASK
74 Text [ en-US ] = "The file contains data after row 8192 and therefore can not be read." ;
76 String SCERR_IMPORT_FILE_ROWCOL & ERRCODE_RES_MASK
78 Text [ en-US ] = "Format error discovered in the file in sub-document $(ARG1) at $(ARG2)(row,col).";
80 String SCERR_IMPORT_FORMAT_ROWCOL & ERRCODE_RES_MASK
82 Text [ en-US ] = "File format error found at $(ARG1)(row,col)." ;
85 // Export ----------------------------------------------------
86 String SCERR_EXPORT_CONNECT & ERRCODE_RES_MASK
88 Text [ en-US ] = "Connection to the file could not be established." ;
90 String SCERR_EXPORT_DATA & ERRCODE_RES_MASK
92 Text [ en-US ] = "Data could not be written." ;
94 String SCERR_EXPORT_SQLEXCEPTION & ERRCODE_RES_MASK
96 Text [ en-US ] = "$(ARG1)" ;
98 String SCERR_EXPORT_ENCODING & ERRCODE_RES_MASK
100 Text [ en-US ] = "Cell $(ARG1) contains characters that are not representable in the selected target character set \"$(ARG2)\"." ;
102 String SCERR_EXPORT_FIELDWIDTH & ERRCODE_RES_MASK
104 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 //------------------------------------------------------------
109 String SCWARN_EXPORT_ASCII & ERRCODE_RES_MASK
111 Text [ en-US ] = "Only the active sheet was saved." ;
113 String SCWARN_IMPORT_RANGE_OVERFLOW & ERRCODE_RES_MASK
115 Text [ en-US ] = "The maximum number of rows has been exceeded. Excess rows were not imported!" ;
117 String SCWARN_IMPORT_ROW_OVERFLOW & ERRCODE_RES_MASK
119 Text [ en-US ] = "The data could not be loaded completely because the maximum number of rows per sheet was exceeded." ;
121 String SCWARN_IMPORT_COLUMN_OVERFLOW & ERRCODE_RES_MASK
123 Text [ en-US ] = "The data could not be loaded completely because the maximum number of columns per sheet was exceeded." ;
125 String SCWARN_IMPORT_SHEET_OVERFLOW & ERRCODE_RES_MASK
127 Text [ en-US ] = "Not all sheets have been loaded because the maximum number of sheets was exceeded.\n\nPlease be warned that re-saving this document will permanently delete those sheets that have not been loaded!" ;
129 String SCWARN_IMPORT_CELL_OVERFLOW & ERRCODE_RES_MASK
131 Text [ en-US ] = "The data could not be loaded completely because the maximum number of characters per cell was exceeded." ;
133 String SCWARN_IMPORT_OPEN_FM3 & ERRCODE_RES_MASK
135 Text [ en-US ] = "Corresponding FM3-File could not be opened." ;
137 String SCWARN_IMPORT_WRONG_FM3 & ERRCODE_RES_MASK
139 Text [ en-US ] = "Error in file structure of corresponding FM3-File." ;
141 String SCWARN_CORE_HARD_RECALC & ERRCODE_RES_MASK
143 Text [ en-US ] = "Document too complex for automatic calculation. Press F9 to recalculate." ;
145 String SCWARN_EXPORT_MAXROW & ERRCODE_RES_MASK
147 Text [ en-US ] = "The document contains more rows than supported in the selected format.\nAdditional rows were not saved." ;
149 String SCWARN_EXPORT_MAXCOL & ERRCODE_RES_MASK
151 Text [ en-US ] = "The document contains more columns than supported in the selected format.\nAdditional columns were not saved." ;
153 String SCWARN_EXPORT_MAXTAB & ERRCODE_RES_MASK
155 Text [ en-US ] = "The document contains more sheets than supported in the selected format.\nAdditional sheets were not saved." ;
157 String SCWARN_IMPORT_INFOLOST & ERRCODE_RES_MASK
159 Text [ en-US ] = "The document contains information not recognized by this program version.\nResaving the document will delete this information!" ;
161 String SCWARN_EXPORT_DATALOST & ERRCODE_RES_MASK
163 Text [ en-US ] = "Not all cell contents could be saved in the specified format." ;
165 String SCWARN_EXPORT_NONCONVERTIBLE_CHARS & ERRCODE_RES_MASK
167 Text [ en-US ] = "The following characters could not be converted to the selected character set\nand were written as Ӓ surrogates:\n\n$(ARG1)";
169 String SCWARN_IMPORT_FILE_ROWCOL & ERRCODE_RES_MASK
171 Text [ en-US ] = "Format error discovered in the file in sub-document $(ARG1) at $(ARG2)(row,col).";
173 String SCWARN_IMPORT_FEATURES_LOST & ERRCODE_RES_MASK
175 Text [ en-US] = "Not all attributes could be read." ;
179 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */