xref: /aoo42x/main/svx/source/items/svxerr.src (revision f606a7ad)
109a1d057SAndrew Rist/**************************************************************
2*f606a7adSMatthias Seidel *
309a1d057SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
409a1d057SAndrew Rist * or more contributor license agreements.  See the NOTICE file
509a1d057SAndrew Rist * distributed with this work for additional information
609a1d057SAndrew Rist * regarding copyright ownership.  The ASF licenses this file
709a1d057SAndrew Rist * to you under the Apache License, Version 2.0 (the
809a1d057SAndrew Rist * "License"); you may not use this file except in compliance
909a1d057SAndrew Rist * with the License.  You may obtain a copy of the License at
10*f606a7adSMatthias Seidel *
1109a1d057SAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12*f606a7adSMatthias Seidel *
1309a1d057SAndrew Rist * Unless required by applicable law or agreed to in writing,
1409a1d057SAndrew Rist * software distributed under the License is distributed on an
1509a1d057SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
1609a1d057SAndrew Rist * KIND, either express or implied.  See the License for the
1709a1d057SAndrew Rist * specific language governing permissions and limitations
1809a1d057SAndrew Rist * under the License.
19*f606a7adSMatthias Seidel *
2009a1d057SAndrew Rist *************************************************************/
2109a1d057SAndrew Rist
2209a1d057SAndrew Rist
23*f606a7adSMatthias Seidel
24*f606a7adSMatthias Seidel// include ---------------------------------------------------------------
25cdf0e10cSrcweir#define __RSC
26cdf0e10cSrcweir#include "svx/svxerr.hxx"
27cdf0e10cSrcweir#include <svx/dialogs.hrc>
28cdf0e10cSrcweir#include <editeng/editerr.hxx>
29cdf0e10cSrcweir
30cdf0e10cSrcweir
31*f606a7adSMatthias Seidel// Error-Context ---------------------------------------------------------
32cdf0e10cSrcweirResource RID_SVXERRCTX
33cdf0e10cSrcweir{
34cdf0e10cSrcweir	String ERRCTX_SVX_LINGU_THESAURUS&ERRCODE_RES_MASK
35cdf0e10cSrcweir	{
36cdf0e10cSrcweir		Text [ en-US ] = "$(ERR) executing the thesaurus." ;
37cdf0e10cSrcweir	};
38cdf0e10cSrcweir	String ERRCTX_SVX_LINGU_SPELLING&ERRCODE_RES_MASK
39cdf0e10cSrcweir	{
40cdf0e10cSrcweir		Text [ en-US ] = "$(ERR) executing the spellcheck." ;
41cdf0e10cSrcweir	};
42cdf0e10cSrcweir	String ERRCTX_SVX_LINGU_HYPHENATION&ERRCODE_RES_MASK
43cdf0e10cSrcweir	{
44cdf0e10cSrcweir		Text [ en-US ] = "$(ERR) executing the hyphenation." ;
45cdf0e10cSrcweir	};
46cdf0e10cSrcweir	String ERRCTX_SVX_LINGU_DICTIONARY&ERRCODE_RES_MASK
47cdf0e10cSrcweir	{
48cdf0e10cSrcweir		Text [ en-US ] = "$(ERR) creating a dictionary." ;
49cdf0e10cSrcweir	};
50cdf0e10cSrcweir	String ERRCTX_SVX_BACKGROUND&ERRCODE_RES_MASK
51cdf0e10cSrcweir	{
52cdf0e10cSrcweir		Text [ en-US ] = "$(ERR) setting background attribute." ;
53cdf0e10cSrcweir	};
54cdf0e10cSrcweir	String ERRCTX_SVX_IMPORT_GRAPHIC&ERRCODE_RES_MASK
55cdf0e10cSrcweir	{
56cdf0e10cSrcweir		Text [ en-US ] = "$(ERR) loading the graphics." ;
57cdf0e10cSrcweir	};
58cdf0e10cSrcweir};
59*f606a7adSMatthias Seidel
60*f606a7adSMatthias Seidel// Error-Code ------------------------------------------------------------
61cdf0e10cSrcweirResource RID_SVXERRCODE
62cdf0e10cSrcweir{
63cdf0e10cSrcweir	String ERRCODE_SVX_LINGU_THESAURUSNOTEXISTS&ERRCODE_RES_MASK
64cdf0e10cSrcweir	{
65cdf0e10cSrcweir		Text [ en-US ] = "No thesaurus available for the current language.\nPlease check your installation and install the desired language." ;
66cdf0e10cSrcweir	};
67cdf0e10cSrcweir	String ERRCODE_SVX_LINGU_LANGUAGENOTEXISTS&ERRCODE_RES_MASK
68cdf0e10cSrcweir	{
69*f606a7adSMatthias Seidel		Text [ en-US ] = "$(ARG1) is not supported by the spellcheck function or is not presently active.\nPlease check your installation and, if necessary, install the required language module\nor activate it under 'Tools - Options - Language Settings - Writing Aids'." ;
70cdf0e10cSrcweir	};
71cdf0e10cSrcweir	String ERRCODE_SVX_LINGU_LINGUNOTEXISTS&ERRCODE_RES_MASK
72cdf0e10cSrcweir	{
73cdf0e10cSrcweir		Text [ en-US ] = "Spellcheck is not available." ;
74cdf0e10cSrcweir	};
75cdf0e10cSrcweir	String ERRCODE_SVX_LINGU_HYPHENNOTEXISTS&ERRCODE_RES_MASK
76cdf0e10cSrcweir	{
77cdf0e10cSrcweir		Text [ en-US ] = "Hyphenation not available." ;
78cdf0e10cSrcweir	};
79cdf0e10cSrcweir	String ERRCODE_SVX_LINGU_DICT_NOTREADABLE&ERRCODE_RES_MASK
80cdf0e10cSrcweir	{
81cdf0e10cSrcweir		Text [ en-US ] = "The custom dictionary $(ARG1) cannot be read." ;
82cdf0e10cSrcweir	};
83cdf0e10cSrcweir	String ERRCODE_SVX_LINGU_DICT_NOTWRITEABLE&ERRCODE_RES_MASK
84cdf0e10cSrcweir	{
85cdf0e10cSrcweir		Text [ en-US ] = "The custom dictionary $(ARG1) cannot be created." ;
86cdf0e10cSrcweir	};
87cdf0e10cSrcweir	String ERRCODE_SVX_GRAPHIC_NOTREADABLE&ERRCODE_RES_MASK
88cdf0e10cSrcweir	{
89cdf0e10cSrcweir		Text [ en-US ] = "The graphic $(ARG1) could not be found." ;
90cdf0e10cSrcweir	};
91cdf0e10cSrcweir	String ERRCODE_SVX_GRAPHIC_WRONG_FILEFORMAT&ERRCODE_RES_MASK
92cdf0e10cSrcweir	{
93*f606a7adSMatthias Seidel		Text [ en-US ] = "An unlinked graphic could not be loaded." ;
94cdf0e10cSrcweir	};
95cdf0e10cSrcweir	String ERRCODE_SVX_LINGU_NOLANGUAGE&ERRCODE_RES_MASK
96cdf0e10cSrcweir	{
97*f606a7adSMatthias Seidel		Text [ en-US ] = "A language has not been fixed for the selected term." ;
98cdf0e10cSrcweir	};
99cdf0e10cSrcweir	String (ERRCODE_SVX_FORMS_NOIOSERVICES | ERRCODE_CLASS_READ) & ERRCODE_RES_MASK
100cdf0e10cSrcweir	{
101*f606a7adSMatthias Seidel		Text [ en-US ] = "The form layer wasn't loaded as the required IO-services (stardiv.uno.io.*) could not be instantiated." ;
102cdf0e10cSrcweir	};
103cdf0e10cSrcweir	String (ERRCODE_SVX_FORMS_NOIOSERVICES | ERRCODE_CLASS_WRITE) & ERRCODE_RES_MASK
104cdf0e10cSrcweir	{
105*f606a7adSMatthias Seidel		Text [ en-US ] = "The form layer wasn't written as the required IO services (stardiv.uno.io.*) could not be instantiated." ;
106cdf0e10cSrcweir	};
107cdf0e10cSrcweir	String (ERRCODE_SVX_FORMS_READWRITEFAILED | ERRCODE_CLASS_READ) & ERRCODE_RES_MASK
108cdf0e10cSrcweir	{
109*f606a7adSMatthias Seidel		Text [ en-US ] = "An error occurred while reading the form controls. The form layer has not been loaded." ;
110cdf0e10cSrcweir	};
111cdf0e10cSrcweir	String (ERRCODE_SVX_FORMS_READWRITEFAILED | ERRCODE_CLASS_WRITE) & ERRCODE_RES_MASK
112cdf0e10cSrcweir	{
113*f606a7adSMatthias Seidel		Text [ en-US ] = "An error occurred while writing the form controls. The form layer has not been saved." ;
114cdf0e10cSrcweir	};
115cdf0e10cSrcweir	String (ERRCODE_SVX_BULLETITEM_NOBULLET | ERRCODE_CLASS_READ) & ERRCODE_RES_MASK
116cdf0e10cSrcweir	{
117*f606a7adSMatthias Seidel		Text [ en-US ] = "An error occurred while reading one of the bullets. Not all of the bullets were loaded." ;
118cdf0e10cSrcweir	};
119cdf0e10cSrcweir	String ERRCODE_SVX_MODIFIED_VBASIC_STORAGE & ERRCODE_RES_MASK
120cdf0e10cSrcweir	{
121*f606a7adSMatthias Seidel		Text [ en-US ] = "All changes to the Basic Code are lost. The original VBA Macro Code is saved instead." ;
122cdf0e10cSrcweir	};
123cdf0e10cSrcweir
124cdf0e10cSrcweir	String ERRCODE_SVX_VBASIC_STORAGE_EXIST & ERRCODE_RES_MASK
125cdf0e10cSrcweir	{
126*f606a7adSMatthias Seidel		Text [ en-US ] = "The original VBA Basic Code contained in the document will not be saved." ;
127cdf0e10cSrcweir	};
128cdf0e10cSrcweir
129*f606a7adSMatthias Seidel	String ERRCODE_SVX_WRONGPASS & ERRCODE_RES_MASK
130*f606a7adSMatthias Seidel	{
131*f606a7adSMatthias Seidel		Text [ en-US ] = "The password is incorrect. The document cannot be opened." ;
132*f606a7adSMatthias Seidel	};
133cdf0e10cSrcweir
134*f606a7adSMatthias Seidel	String ERRCODE_SVX_READ_FILTER_CRYPT & ERRCODE_RES_MASK
135*f606a7adSMatthias Seidel	{
136*f606a7adSMatthias Seidel		Text [ en-US ] = "The encryption method used in this document is not supported. Only Microsoft Office 97/2000 compatible password encryption is supported." ;
137*f606a7adSMatthias Seidel	};
138cdf0e10cSrcweir
139*f606a7adSMatthias Seidel	String ERRCODE_SVX_READ_FILTER_PPOINT & ERRCODE_RES_MASK
140*f606a7adSMatthias Seidel	{
141*f606a7adSMatthias Seidel		Text [ en-US ] = "The loading of password-encrypted Microsoft PowerPoint presentations is not supported." ;
142*f606a7adSMatthias Seidel	};
143cdf0e10cSrcweir
144*f606a7adSMatthias Seidel	String ERRCODE_SVX_EXPORT_FILTER_CRYPT & ERRCODE_RES_MASK
145*f606a7adSMatthias Seidel	{
146*f606a7adSMatthias Seidel		Text [ en-US ] = "Password protection is not supported when documents are saved in a Microsoft Office format.\nDo you want to save the document without password protection?" ;
147*f606a7adSMatthias Seidel	};
148cdf0e10cSrcweir};
149cdf0e10cSrcweir
150*f606a7adSMatthias Seidel// ********************************************************************** EOF
151