From 161f7b7f62cb33dab681add6c5b5b68a887e2ea1 Mon Sep 17 00:00:00 2001 From: Guillaume MM Date: Tue, 16 May 2017 00:28:43 +0200 Subject: [PATCH] Improve wording (#10670) --- src/frontends/qt4/GuiView.cpp | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/src/frontends/qt4/GuiView.cpp b/src/frontends/qt4/GuiView.cpp index fc5b480ed4..d02b9be8dd 100644 --- a/src/frontends/qt4/GuiView.cpp +++ b/src/frontends/qt4/GuiView.cpp @@ -3781,15 +3781,21 @@ void GuiView::dispatch(FuncRequest const & cmd, DispatchResult & dr) if (!doc_buffer->isClean()) { docstring const file = makeDisplayPath(doc_buffer->absFileName(), 20); - docstring text = doc_buffer->notifiesExternalModification() ? - _("Any changes will be lost. " + if (doc_buffer->notifiesExternalModification()) { + docstring text = _("The current version will be lost. " "Are you sure you want to load the version on disk " - "of the document %1$s?") - : _("Any changes will be lost. " + "of the document %1$s?"); + ret = Alert::prompt(_("Reload saved document?"), + bformat(text, file), 1, 1, + _("&Reload"), _("&Cancel")); + } else { + docstring text = _("Any changes will be lost. " "Are you sure you want to revert to the saved version " "of the document %1$s?"); - ret = Alert::prompt(_("Revert to file on disk?"), - bformat(text, file), 1, 1, _("&Revert"), _("&Cancel")); + ret = Alert::prompt(_("Revert to saved document?"), + bformat(text, file), 1, 1, + _("&Revert"), _("&Cancel")); + } } if (ret == 0) { -- 2.39.5