]> git.lyx.org Git - features.git/commitdiff
Remove "Bummer" from the "Save failed!" message
authorScott Kostyshak <skostysh@lyx.org>
Thu, 6 Apr 2017 02:08:10 +0000 (22:08 -0400)
committerScott Kostyshak <skostysh@lyx.org>
Thu, 6 Apr 2017 02:08:10 +0000 (22:08 -0400)
There is a small chance that the user could get offended by this
nonchalant word in a data loss situation.

For discussion, see

  https://www.mail-archive.com/search?l=mid&q=20170401043945.7bpmrdugtqo6dw3j%40steph

src/Buffer.cpp

index 17516fe13c81e32a90b54d8bbb8c3e9ea216a568..58de3b5a922d01630545cca1d9078d04a1d94dee 100644 (file)
@@ -556,7 +556,7 @@ Buffer::~Buffer()
                        try {
                                msg += emergencyWrite();
                        } catch (...) {
-                               msg += "  " + _("Save failed! Bummer. Document is lost.");
+                               msg += "  " + _("Save failed! Document is lost.");
                        }
                        Alert::warning(_("Attempting to close changed document!"), msg);
                }
@@ -1610,7 +1610,7 @@ docstring Buffer::emergencyWrite()
                return user_message;
        }
 
-       user_message += "  " + _("Save failed! Bummer. Document is lost.");
+       user_message += "  " + _("Save failed! Document is lost.");
        // Don't try again.
        markClean();
        return user_message;