mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
Remove "Bummer" from the "Save failed!" message
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
This commit is contained in:
parent
2b0969c31c
commit
57e93c47d5
@ -556,7 +556,7 @@ Buffer::~Buffer()
|
|||||||
try {
|
try {
|
||||||
msg += emergencyWrite();
|
msg += emergencyWrite();
|
||||||
} catch (...) {
|
} catch (...) {
|
||||||
msg += " " + _("Save failed! Bummer. Document is lost.");
|
msg += " " + _("Save failed! Document is lost.");
|
||||||
}
|
}
|
||||||
Alert::warning(_("Attempting to close changed document!"), msg);
|
Alert::warning(_("Attempting to close changed document!"), msg);
|
||||||
}
|
}
|
||||||
@ -1610,7 +1610,7 @@ docstring Buffer::emergencyWrite()
|
|||||||
return user_message;
|
return user_message;
|
||||||
}
|
}
|
||||||
|
|
||||||
user_message += " " + _("Save failed! Bummer. Document is lost.");
|
user_message += " " + _("Save failed! Document is lost.");
|
||||||
// Don't try again.
|
// Don't try again.
|
||||||
markClean();
|
markClean();
|
||||||
return user_message;
|
return user_message;
|
||||||
|
Loading…
Reference in New Issue
Block a user