Commit ebddb529 authored by Julia Radzhabova's avatar Julia Radzhabova

По просьбе отд. техподдержки и проектирования изменено сообщение об отсутствии...

По просьбе отд. техподдержки и проектирования изменено сообщение об отсутствии лицензии (для использования в Enterprise Edition и Integration Edition).
parent 434ef607
......@@ -892,14 +892,19 @@ define([
if (now - value > 86400000) {
Common.localStorage.setItem("de-license-warning", now);
Common.UI.info({
width: 400,
title: this.textNoLicenseTitle,
msg : this.warnNoLicense,
buttons: ['custom'],
primary: 'custom',
customButtonText: this.textBuyNow,
buttons: [
{value: 'buynow', caption: this.textBuyNow},
{value: 'contact', caption: this.textContactUs}
],
primary: 'buynow',
callback: function(btn) {
if (btn == 'custom')
if (btn == 'buynow')
window.open('http://www.onlyoffice.com/enterprise-edition.aspx', "_blank");
else if (btn == 'contact')
window.open('mailto:sales@onlyoffice.com', "_blank");
}
});
}
......@@ -1791,8 +1796,9 @@ define([
textStrict: 'Strict mode',
txtErrorLoadHistory: 'Loading history failed',
textBuyNow: 'Buy now',
textNoLicenseTitle: 'License expired',
warnNoLicense: 'The license expired. You cannot create or edit files.<br>Click the \'Buy now\' button to prolong the license.'
textNoLicenseTitle: 'License expired or not found',
warnNoLicense: 'The license could not be found or expired. You cannot edit files.<br>Click \'Buy now\' to purchase Enterprise Edition license or \'Contact us\' if you use Integration Edition.',
textContactUs: 'Contact us'
}
})(), DE.Controllers.Main || {}))
});
\ No newline at end of file
......@@ -234,7 +234,7 @@
"DE.Controllers.Main.textBuyNow": "Buy now",
"DE.Controllers.Main.textCloseTip": "\nClick to close the tip",
"DE.Controllers.Main.textLoadingDocument": "Loading document",
"DE.Controllers.Main.textNoLicenseTitle": "License expired",
"DE.Controllers.Main.textNoLicenseTitle": "License expired or not found",
"DE.Controllers.Main.textStrict": "Strict mode",
"DE.Controllers.Main.textTryUndoRedo": "The Undo/Redo functions are disabled for the Fast co-editing mode.<br>Click the 'Strict mode' button to switch to the Strict co-editing mode to edit the file without other users interference and send your changes only after you save them. You can switch between the co-editing modes using the editor Advanced settings.",
"DE.Controllers.Main.titleUpdateVersion": "Version changed",
......@@ -264,8 +264,9 @@
"DE.Controllers.Main.uploadImageTitleText": "Uploading Image",
"DE.Controllers.Main.warnBrowserIE9": "The application has low capabilities on IE9. Use IE10 or higher",
"DE.Controllers.Main.warnBrowserZoom": "Your browser current zoom setting is not fully supported. Please reset to the default zoom by pressing Ctrl+0.",
"DE.Controllers.Main.warnNoLicense": "The license expired. You cannot create or edit files.<br>Click the 'Buy now' button to prolong the license.",
"DE.Controllers.Main.warnNoLicense": "The license could not be found or expired. You cannot edit files.<br>Click 'Buy now' to purchase Enterprise Edition license or 'Contact us' if you use Integration Edition.",
"DE.Controllers.Main.warnProcessRightsChange": "You have been denied the right to edit the file.",
"DE.Controllers.Main.textContactUs": "Contact us",
"DE.Controllers.Statusbar.textHasChanges": "New changes have been tracked",
"DE.Controllers.Statusbar.textTrackChanges": "The document is opened with the Track Changes mode enabled",
"DE.Controllers.Statusbar.zoomText": "Zoom {0}%",
......
......@@ -683,14 +683,19 @@ define([
if (now - value > 86400000) {
Common.localStorage.setItem("de-license-warning", now);
Common.UI.info({
width: 400,
title: this.textNoLicenseTitle,
msg : this.warnNoLicense,
buttons: ['custom'],
primary: 'custom',
customButtonText: this.textBuyNow,
buttons: [
{value: 'buynow', caption: this.textBuyNow},
{value: 'contact', caption: this.textContactUs}
],
primary: 'buynow',
callback: function(btn) {
if (btn == 'custom')
if (btn == 'buynow')
window.open('http://www.onlyoffice.com/enterprise-edition.aspx', "_blank");
else if (btn == 'contact')
window.open('mailto:sales@onlyoffice.com', "_blank");
}
});
}
......@@ -1605,8 +1610,9 @@ define([
textTryUndoRedo: 'The Undo/Redo functions are disabled for the Fast co-editing mode.<br>Click the \'Strict mode\' button to switch to the Strict co-editing mode to edit the file without other users interference and send your changes only after you save them. You can switch between the co-editing modes using the editor Advanced settings.',
textStrict: 'Strict mode',
textBuyNow: 'Buy now',
textNoLicenseTitle: 'License expired',
warnNoLicense: 'The license expired. You cannot create or edit files.<br>Click the \'Buy now\' button to prolong the license.'
textNoLicenseTitle: 'License expired or not found',
warnNoLicense: 'The license could not be found or expired. You cannot edit files.<br>Click \'Buy now\' to purchase Enterprise Edition license or \'Contact us\' if you use Integration Edition.',
textContactUs: 'Contact us'
}
})(), PE.Controllers.Main || {}))
});
......@@ -147,7 +147,7 @@
"PE.Controllers.Main.textBuyNow": "Buy now",
"PE.Controllers.Main.textCloseTip": "\nClick to close the tip",
"PE.Controllers.Main.textLoadingDocument": "Loading presentation",
"PE.Controllers.Main.textNoLicenseTitle": "License expired",
"PE.Controllers.Main.textNoLicenseTitle": "License expired or not found",
"PE.Controllers.Main.textShape": "Shape",
"PE.Controllers.Main.textStrict": "Strict mode",
"PE.Controllers.Main.textTryUndoRedo": "The Undo/Redo functions are disabled for the Fast co-editing mode.<br>Click the 'Strict mode' button to switch to the Strict co-editing mode to edit the file without other users interference and send your changes only after you save them. You can switch between the co-editing modes using the editor Advanced settings.",
......@@ -212,8 +212,9 @@
"PE.Controllers.Main.uploadImageTitleText": "Uploading Image",
"PE.Controllers.Main.warnBrowserIE9": "The application has low capabilities on IE9. Use IE10 or higher",
"PE.Controllers.Main.warnBrowserZoom": "Your browser current zoom setting is not fully supported. Please reset to the default zoom by pressing Ctrl+0.",
"PE.Controllers.Main.warnNoLicense": "The license expired. You cannot create or edit files.<br>Click the 'Buy now' button to prolong the license.",
"PE.Controllers.Main.warnNoLicense": "The license could not be found or expired. You cannot edit files.<br>Click 'Buy now' to purchase Enterprise Edition license or 'Contact us' if you use Integration Edition.",
"PE.Controllers.Main.warnProcessRightsChange": "You have been denied the right to edit the file.",
"PE.Controllers.Main.textContactUs": "Contact us",
"PE.Controllers.Statusbar.zoomText": "Zoom {0}%",
"PE.Controllers.Toolbar.confirmAddFontName": "The font you are going to save is not available on the current device.<br>The text style will be displayed using one of the system fonts, the saved font will be used when it is available.<br>Do you want to continue?",
"PE.Controllers.Toolbar.textEmptyImgUrl": "You need to specify image URL.",
......
......@@ -689,14 +689,19 @@ define([
if (now - value > 86400000) {
Common.localStorage.setItem("de-license-warning", now);
Common.UI.info({
width: 400,
title: this.textNoLicenseTitle,
msg : this.warnNoLicense,
buttons: ['custom'],
primary: 'custom',
customButtonText: this.textBuyNow,
buttons: [
{value: 'buynow', caption: this.textBuyNow},
{value: 'contact', caption: this.textContactUs}
],
primary: 'buynow',
callback: function(btn) {
if (btn == 'custom')
if (btn == 'buynow')
window.open('http://www.onlyoffice.com/enterprise-edition.aspx', "_blank");
else if (btn == 'contact')
window.open('mailto:sales@onlyoffice.com', "_blank");
}
});
}
......@@ -1778,8 +1783,9 @@ define([
errorOpenWarning: 'The length of one of the formulas in the file exceeded<br>the allowed number of characters and it was removed.',
errorFrmlWrongReferences: 'The function refers to a sheet that does not exist.<br>Please check the data and try again.',
textBuyNow: 'Buy now',
textNoLicenseTitle: 'License expired',
warnNoLicense: 'The license expired. You cannot create or edit files.<br>Click the \'Buy now\' button to prolong the license.'
textNoLicenseTitle: 'License expired or not found',
warnNoLicense: 'The license could not be found or expired. You cannot edit files.<br>Click \'Buy now\' to purchase Enterprise Edition license or \'Contact us\' if you use Integration Edition.',
textContactUs: 'Contact us'
}
})(), SSE.Controllers.Main || {}))
});
......@@ -184,7 +184,7 @@
"SSE.Controllers.Main.textConfirm": "Confirmation",
"SSE.Controllers.Main.textLoadingDocument": "Loading spreadsheet",
"SSE.Controllers.Main.textNo": "No",
"SSE.Controllers.Main.textNoLicenseTitle": "License expired",
"SSE.Controllers.Main.textNoLicenseTitle": "License expired or not found",
"SSE.Controllers.Main.textPleaseWait": "The operation might take more time than expected. Please wait...",
"SSE.Controllers.Main.textRecalcFormulas": "Calculating formulas...",
"SSE.Controllers.Main.textShape": "Shape",
......@@ -216,8 +216,9 @@
"SSE.Controllers.Main.uploadImageTitleText": "Uploading Image",
"SSE.Controllers.Main.warnBrowserIE9": "The application has low capabilities on IE9. Use IE10 or higher",
"SSE.Controllers.Main.warnBrowserZoom": "Your browser current zoom setting is not fully supported. Please reset to the default zoom by pressing Ctrl+0.",
"SSE.Controllers.Main.warnNoLicense": "The license expired. You cannot create or edit files.<br>Click the 'Buy now' button to prolong the license.",
"SSE.Controllers.Main.warnNoLicense": "The license could not be found or expired. You cannot edit files.<br>Click 'Buy now' to purchase Enterprise Edition license or 'Contact us' if you use Integration Edition.",
"SSE.Controllers.Main.warnProcessRightsChange": "You have been denied the right to edit the file.",
"SSE.Controllers.Main.textContactUs": "Contact us",
"SSE.Controllers.Print.strAllSheets": "All Sheets",
"SSE.Controllers.Print.textWarning": "Warning",
"SSE.Controllers.Print.warnCheckMargings": "Margins are incorrect",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment