Better description of the buttons in case of document conflict.

Change-Id: I177e0fdafef218f958f2efae7eb5ca3e099414de
Reviewed-on: https://gerrit.libreoffice.org/40888
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
This commit is contained in:
Jan Holesovsky 2017-08-08 16:14:38 +02:00
parent a59598050d
commit e7af725b7c

View file

@ -389,7 +389,11 @@ L.Socket = L.Class.extend({
}
vex.dialog.confirm({
message: _('Document has been changed in storage. Do you want to refresh the page to load the new document ? Cancelling will continue editing and overwrite.'),
message: _('Document has been changed in storage. Do you want to discard your changes, and load the new document?'),
buttons: [
$.extend({}, vex.dialog.buttons.YES, { text: _('Discard changes') }),
$.extend({}, vex.dialog.buttons.NO, { text: _('Overwrite document') })
],
callback: L.bind(function(value) {
if (value) {
// They want to refresh the page and load document again for all