[DE forms] Change name of the Download button
This commit is contained in:
parent
fda8076ec7
commit
126ff5e716
|
@ -535,6 +535,10 @@ define([
|
||||||
var me = this;
|
var me = this;
|
||||||
me.view.btnSubmit.setVisible(this.appOptions.canFillForms && this.appOptions.canSubmitForms);
|
me.view.btnSubmit.setVisible(this.appOptions.canFillForms && this.appOptions.canSubmitForms);
|
||||||
me.view.btnDownload.setVisible(this.appOptions.canDownload && 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) {
|
if (!this.appOptions.canFillForms) {
|
||||||
me.view.btnPrev.setVisible(false);
|
me.view.btnPrev.setVisible(false);
|
||||||
me.view.btnNext.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.',
|
errorSessionToken: 'The connection to the server has been interrupted. Please reload the page.',
|
||||||
errorBadImageUrl: 'Image url is incorrect',
|
errorBadImageUrl: 'Image url is incorrect',
|
||||||
errorDataEncrypted: 'Encrypted changes have been received, they cannot be deciphered.',
|
errorDataEncrypted: 'Encrypted changes have been received, they cannot be deciphered.',
|
||||||
|
textSaveAs: 'Save as',
|
||||||
|
textTipSaveAs: 'Save as pdf'
|
||||||
|
|
||||||
}, DE.Controllers.ApplicationController));
|
}, DE.Controllers.ApplicationController));
|
||||||
|
|
||||||
|
|
|
@ -139,6 +139,8 @@
|
||||||
"DE.Controllers.ApplicationController.errorSessionToken": "The connection to the server has been interrupted. Please reload the page.",
|
"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.errorBadImageUrl": "Image URL is incorrect",
|
||||||
"DE.Controllers.ApplicationController.errorDataEncrypted": "Encrypted changes have been received, they cannot be deciphered.",
|
"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.textClear": "Clear All Fields",
|
||||||
"DE.Views.ApplicationView.textCopy": "Copy",
|
"DE.Views.ApplicationView.textCopy": "Copy",
|
||||||
"DE.Views.ApplicationView.textCut": "Cut",
|
"DE.Views.ApplicationView.textCut": "Cut",
|
||||||
|
|
Loading…
Reference in a new issue