[DE forms] Change name of the Download button

This commit is contained in:
Julia Radzhabova 2021-11-30 14:12:25 +03:00
parent fda8076ec7
commit 126ff5e716
2 changed files with 8 additions and 0 deletions

View file

@ -535,6 +535,10 @@ define([
var me = this;
me.view.btnSubmit.setVisible(this.appOptions.canFillForms && this.appOptions.canSubmitForms);
me.view.btnDownload.setVisible(this.appOptions.canDownload && this.appOptions.canFillForms && !this.appOptions.canSubmitForms);
if (me.appOptions.canRequestSaveAs || !!me.appOptions.saveAsUrl) {
me.view.btnDownload.setCaption(me.textSaveAs);
me.view.btnDownload.updateHint(me.textTipSaveAs);
}
if (!this.appOptions.canFillForms) {
me.view.btnPrev.setVisible(false);
me.view.btnNext.setVisible(false);
@ -1776,6 +1780,8 @@ define([
errorSessionToken: 'The connection to the server has been interrupted. Please reload the page.',
errorBadImageUrl: 'Image url is incorrect',
errorDataEncrypted: 'Encrypted changes have been received, they cannot be deciphered.',
textSaveAs: 'Save as',
textTipSaveAs: 'Save as pdf'
}, DE.Controllers.ApplicationController));

View file

@ -139,6 +139,8 @@
"DE.Controllers.ApplicationController.errorSessionToken": "The connection to the server has been interrupted. Please reload the page.",
"DE.Controllers.ApplicationController.errorBadImageUrl": "Image URL is incorrect",
"DE.Controllers.ApplicationController.errorDataEncrypted": "Encrypted changes have been received, they cannot be deciphered.",
"DE.Controllers.ApplicationController.textSaveAs": "Save as",
"DE.Controllers.ApplicationController.textTipSaveAs": "Save as pdf",
"DE.Views.ApplicationView.textClear": "Clear All Fields",
"DE.Views.ApplicationView.textCopy": "Copy",
"DE.Views.ApplicationView.textCut": "Cut",