diff --git a/apps/documenteditor/main/app/controller/Main.js b/apps/documenteditor/main/app/controller/Main.js index 0c1043fd5..28a4cdb25 100644 --- a/apps/documenteditor/main/app/controller/Main.js +++ b/apps/documenteditor/main/app/controller/Main.js @@ -191,7 +191,6 @@ define([ this.api.asc_registerCallback('asc_onPrintUrl', _.bind(this.onPrintUrl, this)); this.api.asc_registerCallback('asc_onMeta', _.bind(this.onMeta, this)); this.api.asc_registerCallback('asc_onSpellCheckInit', _.bind(this.loadLanguages, this)); - this.api.asc_registerCallback('asc_onLicenseError', _.bind(this.onPaidFeatureError, this)); Common.NotificationCenter.on('api:disconnect', _.bind(this.onCoAuthoringDisconnect, this)); Common.NotificationCenter.on('goback', _.bind(this.goBack, this)); @@ -1088,26 +1087,6 @@ define([ } }, - onPaidFeatureError: function() { - var buttons = [], primary, - mail = (this.appOptions.canBranding) ? ((this.editorConfig && this.editorConfig.customization && this.editorConfig.customization.customer) ? this.editorConfig.customization.customer.mail : '') : 'sales@onlyoffice.com'; - if (mail.length>0) { - buttons.push({value: 'contact', caption: this.textContactUs}); - primary = 'contact'; - } - buttons.push({value: 'close', caption: this.textClose}); - Common.UI.info({ - title: this.textPaidFeature, - msg : this.textLicencePaidFeature, - buttons: buttons, - primary: primary, - callback: function(btn) { - if (btn == 'contact') - window.open('mailto:'+mail, "_blank"); - } - }); - }, - onOpenDocument: function(progress) { var elem = document.getElementById('loadmask-text'); var proc = (progress.asc_getCurrentFont() + progress.asc_getCurrentImage())/(progress.asc_getFontsCount() + progress.asc_getImagesCount()); @@ -2381,7 +2360,6 @@ define([ errorDataEncrypted: 'Encrypted changes have been received, they cannot be deciphered.', textClose: 'Close', textPaidFeature: 'Paid feature', - textLicencePaidFeature: 'The feature you are trying to use is available for additional payment.
If you need it, please contact Sales Department', scriptLoadError: 'The connection is too slow, some of the components could not be loaded. Please reload the page.', errorEditingSaveas: 'An error occurred during the work with the document.
Use the \'Save as...\' option to save the file backup copy to your computer hard drive.', errorEditingDownloadas: 'An error occurred during the work with the document.
Use the \'Download as...\' option to save the file backup copy to your computer hard drive.', diff --git a/apps/documenteditor/main/locale/en.json b/apps/documenteditor/main/locale/en.json index 01aca3261..afb7ae85c 100644 --- a/apps/documenteditor/main/locale/en.json +++ b/apps/documenteditor/main/locale/en.json @@ -401,7 +401,7 @@ "DE.Controllers.Main.textCloseTip": "Click to close the tip", "DE.Controllers.Main.textContactUs": "Contact sales", "DE.Controllers.Main.textCustomLoader": "Please note that according to the terms of the license you are not entitled to change the loader.
Please contact our Sales Department to get a quote.", - "DE.Controllers.Main.textLicencePaidFeature": "The feature you are trying to use is available for extended license.
If you need it, please contact Sales Department", + "del_DE.Controllers.Main.textLicencePaidFeature": "The feature you are trying to use is available for extended license.
If you need it, please contact Sales Department", "DE.Controllers.Main.textLoadingDocument": "Loading document", "DE.Controllers.Main.textNoLicenseTitle": "ONLYOFFICE connection limitation", "DE.Controllers.Main.textPaidFeature": "Paid feature", diff --git a/apps/documenteditor/mobile/index.html.deploy b/apps/documenteditor/mobile/index.html.deploy index 2095047f2..d84e4762c 100644 --- a/apps/documenteditor/mobile/index.html.deploy +++ b/apps/documenteditor/mobile/index.html.deploy @@ -185,7 +185,7 @@ var ua = navigator.userAgent; if (/Sailfish/.test(ua) || /Jolla/.test(ua)) { - document.write('