summaryrefslogtreecommitdiff
path: root/uui
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-02-07 13:09:31 +0000
committerCaolán McNamara <caolanm@redhat.com>2017-02-07 13:09:31 +0000
commit19ea3db6d33e8e1de57104e42796454757facd45 (patch)
treee6baffa68f6cb5c4a8b1e234d3f98a82c827d580 /uui
parenteee0206831f9682f1fa1806d08bbbeaf4783b4e9 (diff)
revert unready stuff
Change-Id: I2b112a17a2bc70bfe4d5a6af7964a3c1d7eacf9b
Diffstat (limited to 'uui')
-rw-r--r--uui/source/iahndl.cxx10
-rw-r--r--uui/source/iahndl.hxx8
-rw-r--r--uui/source/ids.src429
3 files changed, 295 insertions, 152 deletions
diff --git a/uui/source/iahndl.cxx b/uui/source/iahndl.cxx
index fe4aebb6379c..f2915b119e49 100644
--- a/uui/source/iahndl.cxx
+++ b/uui/source/iahndl.cxx
@@ -1302,10 +1302,14 @@ bool
ErrorResource::getString(ErrCode nErrorCode, OUString &rString)
const
{
- sal_uInt32 nIdx = m_aStringArray.FindIndex(nErrorCode & ERRCODE_RES_MASK);
- if (nIdx == RESARRAY_INDEX_NOTFOUND)
+ ResId aResId(static_cast< sal_uInt16 >(nErrorCode & ERRCODE_RES_MASK),
+ *m_pResMgr);
+ aResId.SetRT(RSC_STRING);
+ if (!IsAvailableRes(aResId))
return false;
- rString = m_aStringArray.GetString(nIdx);
+ aResId.SetAutoRelease(false);
+ rString = aResId.toString();
+ m_pResMgr->PopContext();
return true;
}
diff --git a/uui/source/iahndl.hxx b/uui/source/iahndl.hxx
index 6e6cda4743d6..6543b345247f 100644
--- a/uui/source/iahndl.hxx
+++ b/uui/source/iahndl.hxx
@@ -32,7 +32,6 @@
#include <tools/errcode.hxx>
#include <tools/rc.hxx>
-#include <tools/resary.hxx>
#include <tools/wintypes.hxx>
#include <unordered_map>
@@ -248,11 +247,12 @@ private:
css::uno::Sequence< css::uno::Reference< css::task::XInteractionContinuation > > const & rContinuations );
};
-class ErrorResource
+class ErrorResource: private Resource
{
- ResStringArray m_aStringArray;
public:
- explicit ErrorResource(ResId& rResId) : m_aStringArray(rResId) {}
+ explicit ErrorResource(ResId & rResId): Resource(rResId) {}
+
+ ~ErrorResource() { FreeResource(); }
bool getString(ErrCode nErrorCode, OUString &rString) const;
};
diff --git a/uui/source/ids.src b/uui/source/ids.src
index b5e5f37d56f6..d7ae643399fc 100644
--- a/uui/source/ids.src
+++ b/uui/source/ids.src
@@ -41,223 +41,362 @@ String STR_WARNING_INCOMPLETE_ENCRYPTION_TITLE
Text [ en-US ] = "Non-Encrypted Streams" ;
};
-StringArray RID_UUI_ERRHDL
+Resource RID_UUI_ERRHDL
{
- ItemList [ en-US ] =
+ String (ERRCODE_UUI_IO_ABORT & ERRCODE_RES_MASK)
{
- < "The operation executed on $(ARG1) was aborted." ;
- (ERRCODE_UUI_IO_ABORT & ERRCODE_RES_MASK) ; >;
-
- < "Access to $(ARG1) was denied." ;
- (ERRCODE_UUI_IO_ACCESSDENIED & ERRCODE_RES_MASK) ; >;
+ Text [ en-US ] = "The operation executed on $(ARG1) was aborted.";
+ };
- < "$(ARG1) already exists.";
- (ERRCODE_UUI_IO_ALREADYEXISTS & ERRCODE_RES_MASK) ; >;
+ String (ERRCODE_UUI_IO_ACCESSDENIED & ERRCODE_RES_MASK)
+ {
+ Text [ en-US ] = "Access to $(ARG1) was denied.";
+ };
- < "Target already exists." ;
- (ERRCODE_UUI_IO_TARGETALREADYEXISTS & ERRCODE_RES_MASK) ; >;
+ String (ERRCODE_UUI_IO_ALREADYEXISTS & ERRCODE_RES_MASK)
+ {
+ Text [ en-US ] = "$(ARG1) already exists.";
+ };
- < "You are about to save/export a password protected basic library containing module(s) \n$(ARG1)\nwhich are too large to store in binary format. If you wish users that don't have access to the library password to be able to run macros in those module(s) you must split those modules into a number of smaller modules. Do you wish to continue to save/export this library?" ;
- (ERRCODE_UUI_IO_MODULESIZEEXCEEDED & ERRCODE_RES_MASK) ; >;
+ String (ERRCODE_UUI_IO_TARGETALREADYEXISTS & ERRCODE_RES_MASK)
+ {
+ Text [ en-US ] = "Target already exists.";
+ };
- < "The data from $(ARG1) has an incorrect checksum." ;
- (ERRCODE_UUI_IO_BADCRC & ERRCODE_RES_MASK) ; >;
+ String (ERRCODE_UUI_IO_MODULESIZEEXCEEDED & ERRCODE_RES_MASK)
+ {
+ Text [ en-US ] = "You are about to save/export a password protected basic library containing module(s) \n$(ARG1)\nwhich are too large to store in binary format. If you wish users that don't have access to the library password to be able to run macros in those module(s) you must split those modules into a number of smaller modules. Do you wish to continue to save/export this library?" ;
+ };
- < "The object $(ARG1) cannot be created in directory $(ARG2)." ;
- (ERRCODE_UUI_IO_CANTCREATE & ERRCODE_RES_MASK) ; >;
+ String (ERRCODE_UUI_IO_BADCRC & ERRCODE_RES_MASK)
+ {
+ Text [ en-US ] = "The data from $(ARG1) has an incorrect checksum.";
+ };
- < "Data of $(ARG1) could not be read." ;
- (ERRCODE_UUI_IO_CANTREAD & ERRCODE_RES_MASK) ; >;
+ String (ERRCODE_UUI_IO_CANTCREATE & ERRCODE_RES_MASK)
+ {
+ Text [ en-US ] = "The object $(ARG1) cannot be created in directory $(ARG2).";
+ };
- < "The seek operation on $(ARG1) could not be performed." ;
- (ERRCODE_UUI_IO_CANTSEEK & ERRCODE_RES_MASK) ; >;
+ String (ERRCODE_UUI_IO_CANTREAD & ERRCODE_RES_MASK)
+ {
+ Text [ en-US ] = "Data of $(ARG1) could not be read.";
+ };
- < "The tell operation on $(ARG1) could not be performed." ;
- (ERRCODE_UUI_IO_CANTTELL & ERRCODE_RES_MASK) ; >;
+ String (ERRCODE_UUI_IO_CANTSEEK & ERRCODE_RES_MASK)
+ {
+ Text [ en-US ] = "The seek operation on $(ARG1) could not be performed.";
+ };
- < "Data for $(ARG1) could not be written." ;
- (ERRCODE_UUI_IO_CANTWRITE & ERRCODE_RES_MASK) ; >;
+ String (ERRCODE_UUI_IO_CANTTELL & ERRCODE_RES_MASK)
+ {
+ Text [ en-US ] = "The tell operation on $(ARG1) could not be performed.";
+ };
- < "Action impossible: $(ARG1) is the current directory." ;
- (ERRCODE_UUI_IO_CURRENTDIR & ERRCODE_RES_MASK) ; >;
+ String (ERRCODE_UUI_IO_CANTWRITE & ERRCODE_RES_MASK)
+ {
+ Text [ en-US ] = "Data for $(ARG1) could not be written.";
+ };
- < "$(ARG1) is not ready." ;
- (ERRCODE_UUI_IO_NOTREADY & ERRCODE_RES_MASK) ; >;
+ String (ERRCODE_UUI_IO_CURRENTDIR & ERRCODE_RES_MASK)
+ {
+ Text [ en-US ] = "Action impossible: $(ARG1) is the current directory.";
+ };
- < "Action impossible: $(ARG1) and $(ARG2) are different devices (drives)." ;
- (ERRCODE_UUI_IO_NOTSAMEDEVICE & ERRCODE_RES_MASK) ; >;
+ String (ERRCODE_UUI_IO_NOTREADY & ERRCODE_RES_MASK)
+ {
+ Text [ en-US ] = "$(ARG1) is not ready.";
+ };
- < "General input/output error while accessing $(ARG1)." ;
- (ERRCODE_UUI_IO_GENERAL & ERRCODE_RES_MASK) ; >;
+ String (ERRCODE_UUI_IO_NOTSAMEDEVICE & ERRCODE_RES_MASK)
+ {
+ Text [ en-US ] = "Action impossible: $(ARG1) and $(ARG2) are different devices (drives).";
+ };
- < "An attempt was made to access $(ARG1) in an invalid way." ;
- (ERRCODE_UUI_IO_INVALIDACCESS & ERRCODE_RES_MASK) ; >;
+ String (ERRCODE_UUI_IO_GENERAL & ERRCODE_RES_MASK)
+ {
+ Text [ en-US ] = "General input/output error while accessing $(ARG1).";
+ };
- < "$(ARG1) contains invalid characters." ;
- (ERRCODE_UUI_IO_INVALIDCHAR & ERRCODE_RES_MASK) ; >;
+ String (ERRCODE_UUI_IO_INVALIDACCESS & ERRCODE_RES_MASK)
+ {
+ Text [ en-US ] = "An attempt was made to access $(ARG1) in an invalid way.";
+ };
- < "The device (drive) $(ARG1) is invalid." ;
- (ERRCODE_UUI_IO_INVALIDDEVICE & ERRCODE_RES_MASK) ; >;
+ String (ERRCODE_UUI_IO_INVALIDCHAR & ERRCODE_RES_MASK)
+ {
+ Text [ en-US ] = "$(ARG1) contains invalid characters.";
+ };
- < "The data from $(ARG1) has an invalid length." ;
- (ERRCODE_UUI_IO_INVALIDLENGTH & ERRCODE_RES_MASK) ; >;
+ String (ERRCODE_UUI_IO_INVALIDDEVICE & ERRCODE_RES_MASK)
+ {
+ Text [ en-US ] = "The device (drive) $(ARG1) is invalid.";
+ };
- < "The operation on $(ARG1) was started with an invalid parameter." ;
- (ERRCODE_UUI_IO_INVALIDPARAMETER & ERRCODE_RES_MASK) ; >;
+ String (ERRCODE_UUI_IO_INVALIDLENGTH & ERRCODE_RES_MASK)
+ {
+ Text [ en-US ] = "The data from $(ARG1) has an invalid length.";
+ };
- < "The operation cannot be performed because $(ARG1) contains wildcards." ;
- (ERRCODE_UUI_IO_ISWILDCARD & ERRCODE_RES_MASK) ; >;
+ String (ERRCODE_UUI_IO_INVALIDPARAMETER & ERRCODE_RES_MASK)
+ {
+ Text [ en-US ] = "The operation on $(ARG1) was started with an invalid parameter.";
+ };
- < "Error during shared access to $(ARG1)." ;
- (ERRCODE_UUI_IO_LOCKVIOLATION & ERRCODE_RES_MASK) ; >;
+ String (ERRCODE_UUI_IO_ISWILDCARD & ERRCODE_RES_MASK)
+ {
+ Text [ en-US ] = "The operation cannot be performed because $(ARG1) contains wildcards.";
+ };
- < "$(ARG1) contains misplaced characters." ;
- (ERRCODE_UUI_IO_MISPLACEDCHAR & ERRCODE_RES_MASK) ; >;
+ String (ERRCODE_UUI_IO_LOCKVIOLATION & ERRCODE_RES_MASK)
+ {
+ Text [ en-US ] = "Error during shared access to $(ARG1).";
+ };
- < "The name $(ARG1) contains too many characters." ;
- (ERRCODE_UUI_IO_NAMETOOLONG & ERRCODE_RES_MASK) ; >;
+ String (ERRCODE_UUI_IO_MISPLACEDCHAR & ERRCODE_RES_MASK)
+ {
+ Text [ en-US ] = "$(ARG1) contains misplaced characters.";
+ };
- < "$(ARG1) does not exist." ;
- (ERRCODE_UUI_IO_NOTEXISTS & ERRCODE_RES_MASK) ; >;
+ String (ERRCODE_UUI_IO_NAMETOOLONG & ERRCODE_RES_MASK)
+ {
+ Text [ en-US ] = "The name $(ARG1) contains too many characters.";
+ };
- < "The path $(ARG1) does not exist." ;
- (ERRCODE_UUI_IO_NOTEXISTSPATH & ERRCODE_RES_MASK) ; >;
+ String (ERRCODE_UUI_IO_NOTEXISTS & ERRCODE_RES_MASK)
+ {
+ Text [ en-US ] = "$(ARG1) does not exist.";
+ };
- < "The operation on $(ARG1) is not supported on this operating system." ;
- (ERRCODE_UUI_IO_NOTSUPPORTED & ERRCODE_RES_MASK) ; >;
+ String (ERRCODE_UUI_IO_NOTEXISTSPATH & ERRCODE_RES_MASK)
+ {
+ Text [ en-US ] = "The path $(ARG1) does not exist.";
+ };
- < "$(ARG1) is not a directory." ;
- (ERRCODE_UUI_IO_NOTADIRECTORY & ERRCODE_RES_MASK) ; >;
+ String (ERRCODE_UUI_IO_NOTSUPPORTED & ERRCODE_RES_MASK)
+ {
+ Text [ en-US ] = "The operation on $(ARG1) is not supported on this operating system.";
+ };
- < "$(ARG1) is not a file." ;
- (ERRCODE_UUI_IO_NOTAFILE & ERRCODE_RES_MASK) ; >;
+ String (ERRCODE_UUI_IO_NOTADIRECTORY & ERRCODE_RES_MASK)
+ {
+ Text [ en-US ] = "$(ARG1) is not a directory.";
+ };
- < "There is no space left on device $(ARG1)." ;
- (ERRCODE_UUI_IO_OUTOFSPACE & ERRCODE_RES_MASK) ; >;
+ String (ERRCODE_UUI_IO_NOTAFILE & ERRCODE_RES_MASK)
+ {
+ Text [ en-US ] = "$(ARG1) is not a file.";
+ };
- < "The operation on $(ARG1) cannot be performed because too many files are already open." ;
- (ERRCODE_UUI_IO_TOOMANYOPENFILES & ERRCODE_RES_MASK) ; >;
+ String (ERRCODE_UUI_IO_OUTOFSPACE & ERRCODE_RES_MASK)
+ {
+ Text [ en-US ] = "There is no space left on device $(ARG1).";
+ };
- < "The operation on $(ARG1) cannot be performed because there is no more memory available." ;
- (ERRCODE_UUI_IO_OUTOFMEMORY & ERRCODE_RES_MASK) ; >;
+ String (ERRCODE_UUI_IO_TOOMANYOPENFILES & ERRCODE_RES_MASK)
+ {
+ Text [ en-US ] = "The operation on $(ARG1) cannot be performed because too many files are already open.";
+ };
- < "The operation on $(ARG1) cannot continue because more data is pending." ;
- (ERRCODE_UUI_IO_PENDING & ERRCODE_RES_MASK) ; >;
+ String (ERRCODE_UUI_IO_OUTOFMEMORY & ERRCODE_RES_MASK)
+ {
+ Text [ en-US ] = "The operation on $(ARG1) cannot be performed because there is no more memory available.";
+ };
- < "$(ARG1) cannot be copied into itself." ;
- (ERRCODE_UUI_IO_RECURSIVE & ERRCODE_RES_MASK) ; >;
+ String (ERRCODE_UUI_IO_PENDING & ERRCODE_RES_MASK)
+ {
+ Text [ en-US ] = "The operation on $(ARG1) cannot continue because more data is pending.";
+ };
- < "Unknown input/output error while accessing $(ARG1)." ;
- (ERRCODE_UUI_IO_UNKNOWN & ERRCODE_RES_MASK) ; >;
+ String (ERRCODE_UUI_IO_RECURSIVE & ERRCODE_RES_MASK)
+ {
+ Text [ en-US ] = "$(ARG1) cannot be copied into itself.";
+ };
- < "$(ARG1) is write protected." ;
- (ERRCODE_UUI_IO_WRITEPROTECTED & ERRCODE_RES_MASK) ; >;
+ String (ERRCODE_UUI_IO_UNKNOWN & ERRCODE_RES_MASK)
+ {
+ Text [ en-US ] = "Unknown input/output error while accessing $(ARG1).";
+ };
- < "$(ARG1) is not in the correct format." ;
- (ERRCODE_UUI_IO_WRONGFORMAT & ERRCODE_RES_MASK) ; >;
+ String (ERRCODE_UUI_IO_WRITEPROTECTED & ERRCODE_RES_MASK)
+ {
+ Text [ en-US ] = "$(ARG1) is write protected.";
+ };
- < "The version of $(ARG1) is not correct." ;
- (ERRCODE_UUI_IO_WRONGVERSION & ERRCODE_RES_MASK) ; >;
+ String (ERRCODE_UUI_IO_WRONGFORMAT & ERRCODE_RES_MASK)
+ {
+ Text [ en-US ] = "$(ARG1) is not in the correct format.";
+ };
- < "Drive $(ARG1) does not exist." ;
- (ERRCODE_UUI_IO_NOTEXISTS_VOLUME & ERRCODE_RES_MASK) ; >;
+ String (ERRCODE_UUI_IO_WRONGVERSION & ERRCODE_RES_MASK)
+ {
+ Text [ en-US ] = "The version of $(ARG1) is not correct.";
+ };
- < "Folder $(ARG1) does not exist." ;
- (ERRCODE_UUI_IO_NOTEXISTS_FOLDER & ERRCODE_RES_MASK) ; >;
+ String (ERRCODE_UUI_IO_NOTEXISTS_VOLUME & ERRCODE_RES_MASK)
+ {
+ Text [ en-US ] = "Drive $(ARG1) does not exist.";
+ };
- < "The installed Java version is not supported." ;
- (ERRCODE_UUI_WRONGJAVA & ERRCODE_RES_MASK) ; >;
+ String (ERRCODE_UUI_IO_NOTEXISTS_FOLDER & ERRCODE_RES_MASK)
+ {
+ Text [ en-US ] = "Folder $(ARG1) does not exist.";
+ };
- < "The installed Java version $(ARG1) is not supported." ;
- (ERRCODE_UUI_WRONGJAVA_VERSION & ERRCODE_RES_MASK) ; >;
+ String (ERRCODE_UUI_WRONGJAVA & ERRCODE_RES_MASK)
+ {
+ Text [ en-US ] = "The installed Java version is not supported.";
+ };
- < "The installed Java version is not supported, at least version $(ARG1) is required." ;
- (ERRCODE_UUI_WRONGJAVA_MIN & ERRCODE_RES_MASK) ; >;
+ String (ERRCODE_UUI_WRONGJAVA_VERSION & ERRCODE_RES_MASK)
+ {
+ Text [ en-US ] = "The installed Java version $(ARG1) is not supported.";
+ };
+ String (ERRCODE_UUI_WRONGJAVA_MIN & ERRCODE_RES_MASK)
+ {
+ Text [ en-US ] = "The installed Java version is not supported, at least version $(ARG1) is required.";
+ };
- < "The installed Java version $(ARG1) is not supported, at least version $(ARG2) is required." ;
- (ERRCODE_UUI_WRONGJAVA_VERSION_MIN & ERRCODE_RES_MASK) ; >;
+ String (ERRCODE_UUI_WRONGJAVA_VERSION_MIN & ERRCODE_RES_MASK)
+ {
+ Text [ en-US ] = "The installed Java version $(ARG1) is not supported, at least version $(ARG2) is required.";
+ };
- < "The data associated with the partnership is corrupted." ;
- (ERRCODE_UUI_BADPARTNERSHIP & ERRCODE_RES_MASK) ; >;
+ String (ERRCODE_UUI_BADPARTNERSHIP & ERRCODE_RES_MASK)
+ {
+ Text [ en-US ] = "The data associated with the partnership is corrupted.";
+ };
- < "The data associated with the partnership $(ARG1) is corrupted." ;
- (ERRCODE_UUI_BADPARTNERSHIP_NAME & ERRCODE_RES_MASK) ; >;
+ String (ERRCODE_UUI_BADPARTNERSHIP_NAME & ERRCODE_RES_MASK)
+ {
+ Text [ en-US ] = "The data associated with the partnership $(ARG1) is corrupted.";
+ };
- < "Volume $(ARG1) is not ready." ;
- (ERRCODE_UUI_IO_NOTREADY_VOLUME & ERRCODE_RES_MASK) ; >;
+ String (ERRCODE_UUI_IO_NOTREADY_VOLUME & ERRCODE_RES_MASK)
+ {
+ Text [ en-US ] = "Volume $(ARG1) is not ready.";
+ };
- < "$(ARG1) is not ready; please insert a storage medium." ;
- (ERRCODE_UUI_IO_NOTREADY_REMOVABLE & ERRCODE_RES_MASK) ; >;
+ String (ERRCODE_UUI_IO_NOTREADY_REMOVABLE & ERRCODE_RES_MASK)
+ {
+ Text [ en-US ] = "$(ARG1) is not ready; please insert a storage medium.";
+ };
- < "Volume $(ARG1) is not ready; please insert a storage medium." ;
- (ERRCODE_UUI_IO_NOTREADY_VOLUME_REMOVABLE & ERRCODE_RES_MASK) ; >;
+ String (ERRCODE_UUI_IO_NOTREADY_VOLUME_REMOVABLE & ERRCODE_RES_MASK)
+ {
+ Text [ en-US ] = "Volume $(ARG1) is not ready; please insert a storage medium.";
+ };
- < "Please insert disk $(ARG1)." ;
- (ERRCODE_UUI_WRONGMEDIUM & ERRCODE_RES_MASK) ; >;
+ String (ERRCODE_UUI_WRONGMEDIUM & ERRCODE_RES_MASK)
+ {
+ Text [ en-US ] = "Please insert disk $(ARG1).";
+ };
- < "The object cannot be created in directory $(ARG1)." ;
- (ERRCODE_UUI_IO_CANTCREATE_NONAME & ERRCODE_RES_MASK) ; >;
+ String (ERRCODE_UUI_IO_CANTCREATE_NONAME & ERRCODE_RES_MASK)
+ {
+ Text[ en-US ] = "The object cannot be created in directory $(ARG1).";
+ };
- < "%PRODUCTNAME cannot keep files from being overwritten when this transmission protocol is used. Do you want to continue anyway?" ;
- (ERRCODE_UUI_IO_UNSUPPORTEDOVERWRITE & ERRCODE_RES_MASK) ; >;
+ String (ERRCODE_UUI_IO_UNSUPPORTEDOVERWRITE & ERRCODE_RES_MASK)
+ {
+ Text [ en-US ] = "%PRODUCTNAME cannot keep files from being overwritten when this transmission protocol is used. Do you want to continue anyway?";
+ };
- < "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 & ERRCODE_RES_MASK) ; >;
+ String (ERRCODE_UUI_IO_BROKENPACKAGE & ERRCODE_RES_MASK)
+ {
+ Text [ en-US ] = "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";
+ };
- < "The file '$(ARG1)' could not be repaired and therefore cannot be opened." ;
- (ERRCODE_UUI_IO_BROKENPACKAGE_CANTREPAIR & ERRCODE_RES_MASK) ; >;
+ String (ERRCODE_UUI_IO_BROKENPACKAGE_CANTREPAIR & ERRCODE_RES_MASK)
+ {
+ Text [ en-US ] = "The file '$(ARG1)' could not be repaired and therefore cannot be opened.";
+ };
- < "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 & ERRCODE_RES_MASK) ; >;
+ String (ERRCODE_UUI_CONFIGURATION_BROKENDATA_NOREMOVE & ERRCODE_RES_MASK)
+ {
+ Text [ en-US ] = "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?";
+ };
- < "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 & ERRCODE_RES_MASK) ; >;
+ String (ERRCODE_UUI_CONFIGURATION_BROKENDATA_WITHREMOVE & ERRCODE_RES_MASK)
+ {
+ Text [ en-US ] = "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?";
+ };
- < "The configuration data source '$(ARG1)' is unavailable. Without this data some functions may not operate correctly." ;
- (ERRCODE_UUI_CONFIGURATION_BACKENDMISSING & ERRCODE_RES_MASK) ; >;
+ String (ERRCODE_UUI_CONFIGURATION_BACKENDMISSING & ERRCODE_RES_MASK)
+ {
+ Text [ en-US ] = "The configuration data source '$(ARG1)' is unavailable. Without this data some functions may not operate correctly.";
+ };
- < "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 & ERRCODE_RES_MASK) ; >;
+ String (ERRCODE_UUI_CONFIGURATION_BACKENDMISSING_WITHRECOVER & ERRCODE_RES_MASK)
+ {
+ Text [ en-US ] = "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?";
+ };
- < "The form contains invalid data. Do you still want to continue?" ;
- (ERRCODE_UUI_INVALID_XFORMS_SUBMISSION_DATA & ERRCODE_RES_MASK) ; >;
+ String (ERRCODE_UUI_INVALID_XFORMS_SUBMISSION_DATA & ERRCODE_RES_MASK)
+ {
+ Text [ en-US ] = "The form contains invalid data. Do you still want to continue?";
+ };
- < "The file $(ARG1) is locked by another user. Currently, another write access to this file cannot be granted." ;
- (ERRCODE_UUI_LOCKING_LOCKED & ERRCODE_RES_MASK) ; >;
+ String (ERRCODE_UUI_LOCKING_LOCKED & ERRCODE_RES_MASK)
+ {
+ Text [ en-US ] = "The file $(ARG1) is locked by another user. Currently, another write access to this file cannot be granted.";
- < "The file $(ARG1) is locked by yourself. Currently, another write access to this file cannot be granted." ;
- (ERRCODE_UUI_LOCKING_LOCKED_SELF & ERRCODE_RES_MASK) ; >;
+ };
- < "The file $(ARG1) is currently not locked by yourself." ;
- (ERRCODE_UUI_LOCKING_NOT_LOCKED & ERRCODE_RES_MASK) ; >;
+ String (ERRCODE_UUI_LOCKING_LOCKED_SELF & ERRCODE_RES_MASK)
+ {
+ Text [ en-US ] = "The file $(ARG1) is locked by yourself. Currently, another write access to this file cannot be granted.";
+ };
- < "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 & ERRCODE_RES_MASK) ; >;
+ String (ERRCODE_UUI_LOCKING_NOT_LOCKED & ERRCODE_RES_MASK)
+ {
+ Text [ en-US ] = "The file $(ARG1) is currently not locked by yourself.";
+ };
- < "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)?" ;
- (ERRCODE_UUI_UNKNOWNAUTH_UNTRUSTED) ; >;
+ String (ERRCODE_UUI_LOCKING_LOCK_EXPIRED & ERRCODE_RES_MASK)
+ {
+ Text [ en-US ] = "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!";
+ };
- < "$(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." ;
- (ERRCODE_UUI_SSLWARN_EXPIRED_1) ; >;
+ String (ERRCODE_UUI_UNKNOWNAUTH_UNTRUSTED)
+ {
+ Text [ en-US ] = "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)?";
+ };
- < "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?" ;
- (ERRCODE_UUI_SSLWARN_DOMAINMISMATCH_1) ; >;
+ String (ERRCODE_UUI_SSLWARN_EXPIRED_1)
+ {
+ Text [ en-US ] = "$(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.";
+ };
- < "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." ;
- (ERRCODE_UUI_SSLWARN_INVALID_1) ; >;
+ String (ERRCODE_UUI_SSLWARN_DOMAINMISMATCH_1)
+ {
+ Text [ en-US ] = "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?";
+ };
- < "Security Warning: Domain Name Mismatch" ;
- (TITLE_UUI_SSLWARN_DOMAINMISMATCH) ; >;
+ String (ERRCODE_UUI_SSLWARN_INVALID_1)
+ {
+ Text [ en-US ] = "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.";
+ };
+ String (TITLE_UUI_SSLWARN_DOMAINMISMATCH)
+ {
+ Text [ en-US ] = "Security Warning: Domain Name Mismatch";
+ };
- < "Security Warning: Server Certificate Expired" ;
- (TITLE_UUI_SSLWARN_EXPIRED) ; >;
+ String (TITLE_UUI_SSLWARN_EXPIRED)
+ {
+ Text [ en-US ] = "Security Warning: Server Certificate Expired";
+ };
- < "Security Warning: Server Certificate Invalid" ;
- (TITLE_UUI_SSLWARN_INVALID) ; >;
+ String (TITLE_UUI_SSLWARN_INVALID)
+ {
+ Text [ en-US ] = "Security Warning: Server Certificate Invalid";
+ };
- < "Component cannot be loaded, possibly broken or incomplete installation.\nFull error message:\n\n $(ARG1)." ;
- (ERRCODE_UUI_CANNOT_ACTIVATE_FACTORY & ERRCODE_RES_MASK) ; >;
+ String (ERRCODE_UUI_CANNOT_ACTIVATE_FACTORY & ERRCODE_RES_MASK)
+ {
+ Text [ en-US ] = "Component cannot be loaded, possibly broken or incomplete installation.\nFull error message:\n\n $(ARG1).";
};
+
};
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */