From a30f8c4daaab5bfc850c18b2b0bce3fdb2281a1f Mon Sep 17 00:00:00 2001 From: Mike Kaganski Date: Wed, 21 Feb 2018 00:45:04 +0300 Subject: tdf#115742: allow ignoring stale lockfile on save This change reuses TryLaterQueryBox, but only uses the new option to ignore the lock and save. Other options ("Try Again" and "Save As") are not used, because this functionality is not implemented currently (TODO/LATER). Change-Id: Idf825be23cf97d2b338c0cf5d532f8460843bf48 Reviewed-on: https://gerrit.libreoffice.org/50371 Tested-by: Jenkins Reviewed-by: Mike Kaganski --- uui/inc/strings.hrc | 1 + 1 file changed, 1 insertion(+) (limited to 'uui/inc') diff --git a/uui/inc/strings.hrc b/uui/inc/strings.hrc index 590a582eba06..a47412520bca 100644 --- a/uui/inc/strings.hrc +++ b/uui/inc/strings.hrc @@ -59,6 +59,7 @@ #define STR_TRYLATER_TITLE NC_("STR_TRYLATER_TITLE", "Document in Use") #define STR_TRYLATER_MSG NC_("STR_TRYLATER_MSG", "Document file '$(ARG1)' is locked for editing by:\n\n$(ARG2)\n\nTry again later to save document or save a copy of that document.\n\n") +#define STR_OVERWRITE_IGNORELOCK_MSG NC_("STR_OVERWRITE_IGNORELOCK_MSG", "Document file '$(ARG1)' is locked for editing by:\n\n$(ARG2)\n\nYou may try to ignore the file locking and overwrite the existing document.\n\n") #define STR_TRYLATER_RETRYSAVING_BTN NC_("STR_TRYLATER_RETRYSAVING_BTN", "~Retry Saving") #define STR_TRYLATER_SAVEAS_BTN NC_("STR_TRYLATER_SAVEAS_BTN", "~Save As...") -- cgit