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 #ifndef INCLUDED_SVX_INC_SVXERR_HRC
21 #define INCLUDED_SVX_INC_SVXERR_HRC
23 #define NC_(Context, String) TranslateId(Context, u8##String)
25 #include <svx/svxerr.hxx>
26 #include <editeng/editerr.hxx>
28 // Error-Context ---------------------------------------------------------
29 const ErrMsgCode RID_SVXERRCTX[] =
31 { NC_("RID_SVXERRCTX", "$(ERR) executing the thesaurus.") ,
32 ErrCode(ERRCTX_SVX_LINGU_THESAURUS) },
33 { NC_("RID_SVXERRCTX", "$(ERR) executing the spellcheck.") ,
34 ErrCode(ERRCTX_SVX_LINGU_SPELLING) },
35 { NC_("RID_SVXERRCTX", "$(ERR) executing the hyphenation.") ,
36 ErrCode(ERRCTX_SVX_LINGU_HYPHENATION) },
37 { NC_("RID_SVXERRCTX", "$(ERR) creating a dictionary.") ,
38 ErrCode(ERRCTX_SVX_LINGU_DICTIONARY) },
39 { NC_("RID_SVXERRCTX", "$(ERR) setting background attribute.") ,
40 ErrCode(ERRCTX_SVX_BACKGROUND) },
41 { NC_("RID_SVXERRCTX", "$(ERR) loading the graphics.") ,
42 ErrCode(ERRCTX_SVX_IMPORT_GRAPHIC) },
46 // Error-Code ------------------------------------------------------------
47 const ErrMsgCode RID_SVXERRCODE[] =
49 { 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 - Languages and Locales - Writing Aids'."),
50 ERRCODE_SVX_LINGU_LANGUAGENOTEXISTS },
51 { NC_("RID_SVXERRCODE", "Spellcheck is not available.") ,
52 ERRCODE_SVX_LINGU_LINGUNOTEXISTS },
53 { NC_("RID_SVXERRCODE", "The custom dictionary $(ARG1) cannot be created.") ,
54 ERRCODE_SVX_LINGU_DICT_NOTWRITEABLE },
55 { NC_("RID_SVXERRCODE", "The graphic $(ARG1) could not be found.") ,
56 ERRCODE_SVX_GRAPHIC_NOTREADABLE },
57 { NC_("RID_SVXERRCODE", "An unlinked graphic could not be loaded."),
58 ERRCODE_SVX_GRAPHIC_WRONG_FILEFORMAT },
59 { NC_("RID_SVXERRCODE", "A language has not been fixed for the selected term."),
60 ERRCODE_SVX_LINGU_NOLANGUAGE },
61 { NC_("RID_SVXERRCODE", "All changes to the Basic Code are lost. The original VBA Macro Code is saved instead."),
62 ERRCODE_SVX_MODIFIED_VBASIC_STORAGE },
63 { NC_("RID_SVXERRCODE", "The original VBA Basic Code contained in the document will not be saved."),
64 ERRCODE_SVX_VBASIC_STORAGE_EXIST },
65 { NC_("RID_SVXERRCODE", "The password is incorrect. The document cannot be opened."),
66 ERRCODE_SVX_WRONGPASS },
67 { NC_("RID_SVXERRCODE", "The encryption method used in this document is not supported. Only Microsoft Office 97/2000 compatible password encryption is supported."),
68 ERRCODE_SVX_READ_FILTER_CRYPT },
69 { NC_("RID_SVXERRCODE", "The loading of password-encrypted Microsoft PowerPoint presentations is not supported."),
70 ERRCODE_SVX_READ_FILTER_PPOINT },
71 { 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?"),
72 ERRCODE_SVX_EXPORT_FILTER_CRYPT },
78 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */