summaryrefslogtreecommitdiff
path: root/svx/source/items/svxerr.src
blob: c3adc42f5d1464e1a445c66fff185205bb247840 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
 * This file is part of the LibreOffice project.
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 *
 * This file incorporates work covered by the following license notice:
 *
 *   Licensed to the Apache Software Foundation (ASF) under one or more
 *   contributor license agreements. See the NOTICE file distributed
 *   with this work for additional information regarding copyright
 *   ownership. The ASF licenses this file to you under the Apache
 *   License, Version 2.0 (the "License"); you may not use this file
 *   except in compliance with the License. You may obtain a copy of
 *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
 */

#define __RSC
#include "svx/svxerr.hxx"
#include <svx/dialogs.hrc>
#include <editeng/editerr.hxx>

 // Error-Context ---------------------------------------------------------
StringArray RID_SVXERRCTX
{
    ItemList [ en-US ] =
    {
        < "$(ERR) executing the thesaurus." ;
          ERRCTX_SVX_LINGU_THESAURUS&ERRCODE_RES_MASK ; >;
        < "$(ERR) executing the spellcheck." ;
          ERRCTX_SVX_LINGU_SPELLING&ERRCODE_RES_MASK ; >;
        < "$(ERR) executing the hyphenation." ;
          ERRCTX_SVX_LINGU_HYPHENATION&ERRCODE_RES_MASK ; >;
        < "$(ERR) creating a dictionary." ;
          ERRCTX_SVX_LINGU_DICTIONARY&ERRCODE_RES_MASK ; >;
        < "$(ERR) setting background attribute." ;
          ERRCTX_SVX_BACKGROUND&ERRCODE_RES_MASK ; >;
        < "$(ERR) loading the graphics." ;
          ERRCTX_SVX_IMPORT_GRAPHIC&ERRCODE_RES_MASK ; >;
    };
};

 // Error-Code ------------------------------------------------------------
StringArray RID_SVXERRCODE
{
    ItemList [ en-US ] =
    {
        < "No thesaurus available for the current language.\nPlease check your installation and install the desired language." ;
          ERRCODE_SVX_LINGU_THESAURUSNOTEXISTS&ERRCODE_RES_MASK ; >;
        < "$(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\n or activate it under 'Tools - Options -  Language Settings - Writing Aids'.";
          ERRCODE_SVX_LINGU_LANGUAGENOTEXISTS&ERRCODE_RES_MASK ; >;
        < "Spellcheck is not available." ;
          ERRCODE_SVX_LINGU_LINGUNOTEXISTS&ERRCODE_RES_MASK ; >;
        < "Hyphenation not available." ;
          ERRCODE_SVX_LINGU_HYPHENNOTEXISTS&ERRCODE_RES_MASK ; >;
        < "The custom dictionary $(ARG1) cannot be read." ;
          ERRCODE_SVX_LINGU_DICT_NOTREADABLE&ERRCODE_RES_MASK ; >;
        < "The custom dictionary $(ARG1) cannot be created." ;
          ERRCODE_SVX_LINGU_DICT_NOTWRITEABLE&ERRCODE_RES_MASK ; >;
        < "The graphic $(ARG1) could not be found." ;
          ERRCODE_SVX_GRAPHIC_NOTREADABLE&ERRCODE_RES_MASK ; >;
        < "An unlinked graphic could not be loaded.";
          ERRCODE_SVX_GRAPHIC_WRONG_FILEFORMAT&ERRCODE_RES_MASK ; >;
        < "A language has not been fixed for the selected term.";
          ERRCODE_SVX_LINGU_NOLANGUAGE&ERRCODE_RES_MASK ; >;
        < "The form layer wasn't loaded as the required IO-services (com.sun.star.io.*) could not be instantiated.";
          (ERRCODE_SVX_FORMS_NOIOSERVICES | ERRCODE_CLASS_READ) & ERRCODE_RES_MASK ; >;
        < "The form layer wasn't written as the required IO services (com.sun.star.io.*) could not be instantiated.";
          (ERRCODE_SVX_FORMS_NOIOSERVICES | ERRCODE_CLASS_WRITE) & ERRCODE_RES_MASK ; >;
        < "An error occurred while reading the form controls. The form layer has not been loaded.";
          (ERRCODE_SVX_FORMS_READWRITEFAILED | ERRCODE_CLASS_READ) & ERRCODE_RES_MASK ; >;
        < "An error occurred while writing the form controls. The form layer has not been saved.";
          (ERRCODE_SVX_FORMS_READWRITEFAILED | ERRCODE_CLASS_WRITE) & ERRCODE_RES_MASK ; >;
        < "An error occurred while reading one of the bullets. Not all of the bullets were loaded.";
          (ERRCODE_SVX_BULLETITEM_NOBULLET | ERRCODE_CLASS_READ) & ERRCODE_RES_MASK ; >;

        < "All changes to the Basic Code are lost. The original VBA Macro Code is saved instead.";
          ERRCODE_SVX_MODIFIED_VBASIC_STORAGE & ERRCODE_RES_MASK ; >;

        < "The original VBA Basic Code contained in the document will not be saved.";
          ERRCODE_SVX_VBASIC_STORAGE_EXIST & ERRCODE_RES_MASK ; >;

        < "The password is incorrect. The document cannot be opened.";
          ERRCODE_SVX_WRONGPASS & ERRCODE_RES_MASK ; >;

        < "The encryption method used in this document is not supported. Only Microsoft Office 97/2000 compatible password encryption is supported.";
          ERRCODE_SVX_READ_FILTER_CRYPT & ERRCODE_RES_MASK ; >;

        < "The loading of password-encrypted Microsoft PowerPoint presentations is not supported.";
          ERRCODE_SVX_READ_FILTER_PPOINT & ERRCODE_RES_MASK ; >;

        < "Password protection is not supported when documents are saved in a Microsoft Office format.\nDo you want to save the document without password protection?";
          ERRCODE_SVX_EXPORT_FILTER_CRYPT & ERRCODE_RES_MASK ; >;
    };
};

/* vim:set shiftwidth=4 softtabstop=4 expandtab: */