X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/58ba604b1c414d5484d8165c38662050809655aa..2c3bcb5d2d550bb6546c0f8aa3721f623ca9d6b6:/src/editor/modules/data/data.js?ds=sidebyside diff --git a/src/editor/modules/data/data.js b/src/editor/modules/data/data.js index 3bb2c2c..540f896 100644 --- a/src/editor/modules/data/data.js +++ b/src/editor/modules/data/data.js @@ -175,7 +175,8 @@ return function(sandbox) { dialog = Dialog.create({ fields: documentSaveForm.fields, title: gettext('Save Document'), - executeButtonText: gettext('Save') + executeButtonText: gettext('Save'), + cancelButtonText: gettext('Cancel') }); dialog.on('execute', function(event) { @@ -239,7 +240,8 @@ return function(sandbox) { dialog = Dialog.create({ fields: documentRestoreForm.fields, title: gettext('Restore Version'), - executeButtonText: gettext('Restore') + executeButtonText: gettext('Restore'), + cancelButtonText: gettext('Cancel') }); dialog.on('execute', function(event) {