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:
parent
a59598050d
commit
e7af725b7c
1 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue