summaryrefslogtreecommitdiffstats
path: root/uui/inc/ids.hrc
blob: e36a66d847d457c6c516c213f0181c89dbd56ff6 (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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
/* -*- 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 .
 */

#pragma once

#include <unotools/resmgr.hxx>
#include <comphelper/errcode.hxx>

#include <utility>

#include "ids.hxx"

#define NC_(Context, String) TranslateId(Context, u8##String)

const std::pair<TranslateId, ErrCode> RID_UUI_ERRHDL[] =
{
    { NC_("RID_UUI_ERRHDL", "The operation executed on $(ARG1) was aborted."),
      ERRCODE_UUI_IO_ABORT },
    { NC_("RID_UUI_ERRHDL", "Access to $(ARG1) was denied."),
      ERRCODE_UUI_IO_ACCESSDENIED },
    { NC_("RID_UUI_ERRHDL", "$(ARG1) already exists."),
      ERRCODE_UUI_IO_ALREADYEXISTS },
    { NC_("RID_UUI_ERRHDL", "Target already exists."),
      ERRCODE_UUI_IO_TARGETALREADYEXISTS },
    { NC_("RID_UUI_ERRHDL", "You are saving a password protected Basic library containing the following large module(s): \n$(ARG1)\nStoring those large module(s) in binary format, which is necessary for password protection, makes them unreadable in versions older than LibreOffice 5.0.3. If you want this please split the module into smaller pieces."),
      ERRCODE_UUI_IO_MODULESIZEEXCEEDED },
    { NC_("RID_UUI_ERRHDL", "Beware!\n\nYou are about to load a very unusual sort of file ($(ARG2)) from the URL:\n\n$(ARG1)\n\nAre you certain that this file is a legacy document created many years ago?"),
      ERRCODE_UUI_IO_EXOTICFILEFORMAT },
    { NC_("RID_UUI_ERRHDL", "The data from $(ARG1) has an incorrect checksum."),
      ERRCODE_UUI_IO_BADCRC },
    { NC_("RID_UUI_ERRHDL", "The object $(ARG1) cannot be created in directory $(ARG2)."),
      ERRCODE_UUI_IO_CANTCREATE },
    { NC_("RID_UUI_ERRHDL", "Data of $(ARG1) could not be read."),
      ERRCODE_UUI_IO_CANTREAD },
    { NC_("RID_UUI_ERRHDL", "The seek operation on $(ARG1) could not be performed."),
      ERRCODE_UUI_IO_CANTSEEK },
    { NC_("RID_UUI_ERRHDL", "The tell operation on $(ARG1) could not be performed."),
      ERRCODE_UUI_IO_CANTTELL },
    { NC_("RID_UUI_ERRHDL", "Data for $(ARG1) could not be written."),
      ERRCODE_UUI_IO_CANTWRITE },
    { NC_("RID_UUI_ERRHDL", "Action impossible: $(ARG1) is the current directory."),
      ERRCODE_UUI_IO_CURRENTDIR },
    { NC_("RID_UUI_ERRHDL", "$(ARG1) is not ready."),
      ERRCODE_UUI_IO_NOTREADY },
    { NC_("RID_UUI_ERRHDL", "Action impossible: $(ARG1) and $(ARG2) are different devices (drives)."),
      ERRCODE_UUI_IO_NOTSAMEDEVICE },
    { NC_("RID_UUI_ERRHDL", "General input/output error while accessing $(ARG1)."),
      ERRCODE_UUI_IO_GENERAL },
    { NC_("RID_UUI_ERRHDL", "An attempt was made to access $(ARG1) in an invalid way."),
      ERRCODE_UUI_IO_INVALIDACCESS },
    { NC_("RID_UUI_ERRHDL", "$(ARG1) contains invalid characters."),
      ERRCODE_UUI_IO_INVALIDCHAR },
    { NC_("RID_UUI_ERRHDL", "The device (drive) $(ARG1) is invalid."),
      ERRCODE_UUI_IO_INVALIDDEVICE },
    { NC_("RID_UUI_ERRHDL", "The data from $(ARG1) has an invalid length."),
      ERRCODE_UUI_IO_INVALIDLENGTH },
    { NC_("RID_UUI_ERRHDL", "The operation on $(ARG1) was started with an invalid parameter."),
      ERRCODE_UUI_IO_INVALIDPARAMETER },
    { NC_("RID_UUI_ERRHDL", "The operation cannot be performed because $(ARG1) contains wildcards."),
      ERRCODE_UUI_IO_ISWILDCARD },
    { NC_("RID_UUI_ERRHDL", "Error during shared access to $(ARG1)."),
      ERRCODE_UUI_IO_LOCKVIOLATION },
    { NC_("RID_UUI_ERRHDL", "$(ARG1) contains misplaced characters."),
      ERRCODE_UUI_IO_MISPLACEDCHAR },
    { NC_("RID_UUI_ERRHDL", "The name $(ARG1) contains too many characters."),
      ERRCODE_UUI_IO_NAMETOOLONG },
    { NC_("RID_UUI_ERRHDL", "$(ARG1) does not exist."),
      ERRCODE_UUI_IO_NOTEXISTS },
    { NC_("RID_UUI_ERRHDL", "The path $(ARG1) does not exist."),
      ERRCODE_UUI_IO_NOTEXISTSPATH },
    { NC_("RID_UUI_ERRHDL", "The operation on $(ARG1) is not supported on this operating system."),
      ERRCODE_UUI_IO_NOTSUPPORTED },
    { NC_("RID_UUI_ERRHDL", "$(ARG1) is not a directory."),
      ERRCODE_UUI_IO_NOTADIRECTORY },
    { NC_("RID_UUI_ERRHDL", "$(ARG1) is not a file."),
      ERRCODE_UUI_IO_NOTAFILE },
    { NC_("RID_UUI_ERRHDL", "There is no space left on device $(ARG1)."),
      ERRCODE_UUI_IO_OUTOFSPACE },
    { NC_("RID_UUI_ERRHDL", "The operation on $(ARG1) cannot be performed because too many files are already open."),
      ERRCODE_UUI_IO_TOOMANYOPENFILES },
    { NC_("RID_UUI_ERRHDL", "The operation on $(ARG1) cannot be performed because there is no more memory available."),
      ERRCODE_UUI_IO_OUTOFMEMORY },
    { NC_("RID_UUI_ERRHDL", "The operation on $(ARG1) cannot continue because more data is pending."),
      ERRCODE_UUI_IO_PENDING },
    { NC_("RID_UUI_ERRHDL", "$(ARG1) cannot be copied into itself."),
      ERRCODE_UUI_IO_RECURSIVE },
    { NC_("RID_UUI_ERRHDL", "Unknown input/output error while accessing $(ARG1)."),
      ERRCODE_UUI_IO_UNKNOWN },
    { NC_("RID_UUI_ERRHDL", "$(ARG1) is write protected."),
      ERRCODE_UUI_IO_WRITEPROTECTED },
    { NC_("RID_UUI_ERRHDL", "$(ARG1) is not in the correct format."),
      ERRCODE_UUI_IO_WRONGFORMAT },
    { NC_("RID_UUI_ERRHDL", "The version of $(ARG1) is not correct."),
      ERRCODE_UUI_IO_WRONGVERSION },
    { NC_("RID_UUI_ERRHDL", "Drive $(ARG1) does not exist."),
      ERRCODE_UUI_IO_NOTEXISTS_VOLUME },
    { NC_("RID_UUI_ERRHDL", "Folder $(ARG1) does not exist."),
      ERRCODE_UUI_IO_NOTEXISTS_FOLDER },
    { NC_("RID_UUI_ERRHDL", "The installed Java version is not supported."),
      ERRCODE_UUI_WRONGJAVA },
    { NC_("RID_UUI_ERRHDL", "The installed Java version $(ARG1) is not supported."),
      ERRCODE_UUI_WRONGJAVA_VERSION },
    { NC_("RID_UUI_ERRHDL", "The installed Java version is not supported, at least version $(ARG1) is required."),
      ERRCODE_UUI_WRONGJAVA_MIN },
    { NC_("RID_UUI_ERRHDL", "The installed Java version $(ARG1) is not supported, at least version $(ARG2) is required."),
      ERRCODE_UUI_WRONGJAVA_VERSION_MIN },
    { NC_("RID_UUI_ERRHDL", "The data associated with the partnership is corrupted."),
      ERRCODE_UUI_BADPARTNERSHIP },
    { NC_("RID_UUI_ERRHDL", "The data associated with the partnership $(ARG1) is corrupted."),
      ERRCODE_UUI_BADPARTNERSHIP_NAME },
    { NC_("RID_UUI_ERRHDL", "Volume $(ARG1) is not ready."),
      ERRCODE_UUI_IO_NOTREADY_VOLUME },
    { NC_("RID_UUI_ERRHDL", "$(ARG1) is not ready; please insert a storage medium."),
      ERRCODE_UUI_IO_NOTREADY_REMOVABLE },
    { NC_("RID_UUI_ERRHDL", "Volume $(ARG1) is not ready; please insert a storage medium."),
      ERRCODE_UUI_IO_NOTREADY_VOLUME_REMOVABLE },
    { NC_("RID_UUI_ERRHDL", "Please insert disk $(ARG1)."),
      ERRCODE_UUI_WRONGMEDIUM },
    { NC_("RID_UUI_ERRHDL", "The object cannot be created in directory $(ARG1)."),
      ERRCODE_UUI_IO_CANTCREATE_NONAME },
    { NC_("RID_UUI_ERRHDL", "%PRODUCTNAME cannot keep files from being overwritten when this transmission protocol is used. Do you want to continue anyway?"),
      ERRCODE_UUI_IO_UNSUPPORTEDOVERWRITE },
    { NC_("RID_UUI_ERRHDL", "The file '$(ARG1)' is corrupt and therefore cannot be opened. %PRODUCTNAME can try to repair the file.\n\nThe corruption could be the result of document manipulation or of structural document damage due to data transmission.\n\nWe recommend that you do not trust the content of the repaired document.\nExecution of macros is disabled for this document.\n\nShould %PRODUCTNAME repair the file?\n"),
      ERRCODE_UUI_IO_BROKENPACKAGE },
    { NC_("RID_UUI_ERRHDL", "The file '$(ARG1)' could not be repaired and therefore cannot be opened."),
      ERRCODE_UUI_IO_BROKENPACKAGE_CANTREPAIR },
    { NC_("RID_UUI_ERRHDL", "Configuration data in '$(ARG1)' is corrupted. Without this data some functions may not operate correctly.\nDo you want to continue startup of %PRODUCTNAME without the corrupted configuration data?"),
      ERRCODE_UUI_CONFIGURATION_BROKENDATA_NOREMOVE },
    { NC_("RID_UUI_ERRHDL", "The personal configuration file '$(ARG1)' is corrupted and must be deleted to continue. Some of your personal settings may be lost.\nDo you want to continue startup of %PRODUCTNAME without the corrupted configuration data?"),
      ERRCODE_UUI_CONFIGURATION_BROKENDATA_WITHREMOVE },
    { NC_("RID_UUI_ERRHDL", "The configuration data source '$(ARG1)' is unavailable. Without this data some functions may not operate correctly."),
      ERRCODE_UUI_CONFIGURATION_BACKENDMISSING },
    { NC_("RID_UUI_ERRHDL", "The configuration data source '$(ARG1)' is unavailable. Without this data some functions may not operate correctly.\nDo you want to continue startup of %PRODUCTNAME without the missing configuration data?"),
      ERRCODE_UUI_CONFIGURATION_BACKENDMISSING_WITHRECOVER },
    { NC_("RID_UUI_ERRHDL", "The form contains invalid data. Do you still want to continue?"),
      ERRCODE_UUI_INVALID_XFORMS_SUBMISSION_DATA },
    { NC_("RID_UUI_ERRHDL", "The file $(ARG1) is locked by another user. Currently, another write access to this file cannot be granted."),
      ERRCODE_UUI_LOCKING_LOCKED },
    { NC_("RID_UUI_ERRHDL", "The file $(ARG1) is locked by yourself. Currently, another write access to this file cannot be granted."),
      ERRCODE_UUI_LOCKING_LOCKED_SELF },
    { NC_("RID_UUI_ERRHDL", "The file $(ARG1) is currently not locked by yourself."),
      ERRCODE_UUI_LOCKING_NOT_LOCKED },
    { NC_("RID_UUI_ERRHDL", "The previously obtained lock for file $(ARG1) has expired.\nThis can happen due to problems on the server managing the file lock. It cannot be guaranteed that write operations on this file will not overwrite changes done by other users!"),
      ERRCODE_UUI_LOCKING_LOCK_EXPIRED },
    { NC_("RID_UUI_ERRHDL", "Component cannot be loaded, possibly broken or incomplete installation.\nFull error message:\n\n $(ARG1)."),
      ERRCODE_UUI_CANNOT_ACTIVATE_FACTORY },
    { {}, ERRCODE_NONE }
};

#define STR_UUI_UNKNOWNAUTH_UNTRUSTED        NC_("STR_UUI_UNKNOWNAUTH_UNTRUSTED", "Unable to verify the identity of $(ARG1) site.\n\nBefore accepting this certificate, you should examine this site's certificate carefully. Are you willing to accept this certificate for the purpose of identifying the Web site $(ARG1)?")
#define STR_UUI_SSLWARN_EXPIRED              NC_("STR_UUI_SSLWARN_EXPIRED", "$(ARG1) is a site that uses a security certificate to encrypt data during transmission, but its certificate expired on $(ARG2).\n\nYou should check to make sure that your computer's time is correct.")
#define STR_UUI_SSLWARN_EXPIRED_TITLE        NC_("STR_UUI_SSLWARN_EXPIRED_TITLE", "Security Warning: Server Certificate Invalid")
#define STR_UUI_SSLWARN_DOMAINMISMATCH       NC_("STR_UUI_SSLWARN_DOMAINMISMATCH", "You have attempted to establish a connection with $(ARG1). However, the security certificate presented belongs to $(ARG2). It is possible, though unlikely, that someone may be trying to intercept your communication with this web site.\n\nIf you suspect the certificate shown does not belong to $(ARG1), please cancel the connection and notify the site administrator.\n\nWould you like to continue anyway?")
#define STR_UUI_SSLWARN_DOMAINMISMATCH_TITLE NC_("STR_UUI_SSLWARN_DOMAINMISMATCH_TITLE", "Security Warning: Server Certificate Expired")
#define STR_UUI_SSLWARN_INVALID              NC_("STR_UUI_SSLWARN_INVALID", "The certificate could not be validated. You should examine this site's certificate carefully.\n\nIf you suspect the certificate shown, please cancel the connection and notify the site administrator.")
#define STR_UUI_SSLWARN_INVALID_TITLE        NC_("STR_UUI_SSLWARN_INVALID_TITLE", "Security Warning: Domain Name Mismatch")

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