Send various state changes to LOK
[LibreOffice.git] / svx / inc / svxerr.hrc
blob79409d118b41f979fd42f7ba3daeb80264616af0
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3  * This file is part of the LibreOffice project.
4  *
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/.
8  *
9  * This file incorporates work covered by the following license notice:
10  *
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 .
18  */
20 #ifndef INCLUDED_SVX_INC_SVXERR_HRC
21 #define INCLUDED_SVX_INC_SVXERR_HRC
23 #include <utility>
25 #define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String)
27 #include <svx/svxerr.hxx>
28 #include <editeng/editerr.hxx>
30 // Error-Context ---------------------------------------------------------
31 const ErrMsgCode RID_SVXERRCTX[] =
33     { NC_("RID_SVXERRCTX", "$(ERR) executing the thesaurus.") ,
34       ErrCode(ERRCTX_SVX_LINGU_THESAURUS) },
35     { NC_("RID_SVXERRCTX", "$(ERR) executing the spellcheck.") ,
36       ErrCode(ERRCTX_SVX_LINGU_SPELLING) },
37     { NC_("RID_SVXERRCTX", "$(ERR) executing the hyphenation.") ,
38       ErrCode(ERRCTX_SVX_LINGU_HYPHENATION) },
39     { NC_("RID_SVXERRCTX", "$(ERR) creating a dictionary.") ,
40       ErrCode(ERRCTX_SVX_LINGU_DICTIONARY) },
41     { NC_("RID_SVXERRCTX", "$(ERR) setting background attribute.") ,
42       ErrCode(ERRCTX_SVX_BACKGROUND) },
43     { NC_("RID_SVXERRCTX", "$(ERR) loading the graphics.") ,
44       ErrCode(ERRCTX_SVX_IMPORT_GRAPHIC) },
45     { nullptr, ERRCODE_NONE }
48 // Error-Code ------------------------------------------------------------
49 const ErrMsgCode RID_SVXERRCODE[] =
51     { NC_("RID_SVXERRCODE", "$(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'."),
52       ERRCODE_SVX_LINGU_LANGUAGENOTEXISTS },
53     { NC_("RID_SVXERRCODE", "Spellcheck is not available.") ,
54       ERRCODE_SVX_LINGU_LINGUNOTEXISTS },
55     { NC_("RID_SVXERRCODE", "The custom dictionary $(ARG1) cannot be created.") ,
56       ERRCODE_SVX_LINGU_DICT_NOTWRITEABLE },
57     { NC_("RID_SVXERRCODE", "The graphic $(ARG1) could not be found.") ,
58       ERRCODE_SVX_GRAPHIC_NOTREADABLE },
59     { NC_("RID_SVXERRCODE", "An unlinked graphic could not be loaded."),
60       ERRCODE_SVX_GRAPHIC_WRONG_FILEFORMAT },
61     { NC_("RID_SVXERRCODE", "A language has not been fixed for the selected term."),
62       ERRCODE_SVX_LINGU_NOLANGUAGE },
63     { NC_("RID_SVXERRCODE", "All changes to the Basic Code are lost. The original VBA Macro Code is saved instead."),
64       ERRCODE_SVX_MODIFIED_VBASIC_STORAGE },
65     { NC_("RID_SVXERRCODE", "The original VBA Basic Code contained in the document will not be saved."),
66       ERRCODE_SVX_VBASIC_STORAGE_EXIST },
67     { NC_("RID_SVXERRCODE", "The password is incorrect. The document cannot be opened."),
68       ERRCODE_SVX_WRONGPASS },
69     { NC_("RID_SVXERRCODE", "The encryption method used in this document is not supported. Only Microsoft Office 97/2000 compatible password encryption is supported."),
70       ERRCODE_SVX_READ_FILTER_CRYPT },
71     { NC_("RID_SVXERRCODE", "The loading of password-encrypted Microsoft PowerPoint presentations is not supported."),
72       ERRCODE_SVX_READ_FILTER_PPOINT },
73     { NC_("RID_SVXERRCODE", "Password protection is not supported when documents are saved in a Microsoft Office format.\nDo you want to save the document without password protection?"),
74       ERRCODE_SVX_EXPORT_FILTER_CRYPT },
75     { nullptr, ERRCODE_NONE }
78 #endif
80 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */