From 21407bbaa4488b281544c7e91aad78c7c644a8fe Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Fri, 17 Feb 2017 17:03:50 +0300 Subject: [PATCH] Check server version. --- .../main/app/controller/Main.js | 26 ++++++++++++++++++- apps/documenteditor/main/app_dev.js | 1 + apps/documenteditor/main/locale/en.json | 2 ++ apps/documenteditor/mobile/app-dev.js | 1 + .../mobile/app/controller/Main.js | 26 ++++++++++++++++++- apps/documenteditor/mobile/locale/en.json | 2 ++ .../main/app/controller/Main.js | 26 ++++++++++++++++++- apps/presentationeditor/main/app_dev.js | 1 + apps/presentationeditor/main/locale/en.json | 2 ++ apps/presentationeditor/mobile/app-dev.js | 1 + .../mobile/app/controller/Main.js | 26 ++++++++++++++++++- apps/presentationeditor/mobile/locale/en.json | 2 ++ .../main/app/controller/Main.js | 26 ++++++++++++++++++- apps/spreadsheeteditor/main/app_dev.js | 1 + apps/spreadsheeteditor/main/locale/en.json | 2 ++ apps/spreadsheeteditor/mobile/app-dev.js | 1 + .../mobile/app/controller/Main.js | 26 ++++++++++++++++++- apps/spreadsheeteditor/mobile/locale/en.json | 2 ++ 18 files changed, 168 insertions(+), 6 deletions(-) diff --git a/apps/documenteditor/main/app/controller/Main.js b/apps/documenteditor/main/app/controller/Main.js index 2415f839c..bf85e25ad 100644 --- a/apps/documenteditor/main/app/controller/Main.js +++ b/apps/documenteditor/main/app/controller/Main.js @@ -135,6 +135,7 @@ define([ this.api.asc_registerCallback('asc_onDocumentContentReady', _.bind(this.onDocumentContentReady, this)); this.api.asc_registerCallback('asc_onOpenDocumentProgress', _.bind(this.onOpenDocument, this)); this.api.asc_registerCallback('asc_onDocumentUpdateVersion', _.bind(this.onUpdateVersion, this)); + this.api.asc_registerCallback('asc_onServerVersion', _.bind(this.onServerVersion, this)); this.api.asc_registerCallback('asc_onAdvancedOptions', _.bind(this.onAdvancedOptions, this)); this.api.asc_registerCallback('asc_onDocumentName', _.bind(this.onDocumentName, this)); this.api.asc_registerCallback('asc_onPrintUrl', _.bind(this.onPrintUrl, this)); @@ -975,6 +976,8 @@ define([ return; } + if ( this.onServerVersion(params.asc_getBuildVersion()) ) return; + this.permissions.review = (this.permissions.review === undefined) ? (this.permissions.edit !== false) : this.permissions.review; if (params.asc_getRights() !== Asc.c_oRights.Edit) @@ -1515,6 +1518,25 @@ define([ }); }, + onServerVersion: function(buildVersion) { + if (this.changeServerVersion) return true; + + if (DocsAPI.DocEditor.version() !== buildVersion && !window.compareVersions) { + this.changeServerVersion = true; + Common.UI.warning({ + title: this.titleServerVersion, + msg: this.errorServerVersion, + callback: function() { + _.defer(function() { + Common.Gateway.updateVersion(); + }) + } + }); + return true; + } + return false; + }, + /** coauthoring begin **/ // fillUserStore: function(users){ // if (!_.isEmpty(users)){ @@ -2061,7 +2083,9 @@ define([ errorSessionAbsolute: 'The document editing session has expired. Please reload the page.', errorSessionIdle: 'The document has not been edited for quite a long time. Please reload the page.', errorSessionToken: 'The connection to the server has been interrupted. Please reload the page.', - errorAccessDeny: 'You are trying to perform an action you do not have rights for.
Please contact your Document Server administrator.' + errorAccessDeny: 'You are trying to perform an action you do not have rights for.
Please contact your Document Server administrator.', + titleServerVersion: 'Editor updated', + errorServerVersion: 'The editor version has been updated. The page will be reloaded to apply the changes.' } })(), DE.Controllers.Main || {})) }); \ No newline at end of file diff --git a/apps/documenteditor/main/app_dev.js b/apps/documenteditor/main/app_dev.js index e37fe92a4..d15f17707 100644 --- a/apps/documenteditor/main/app_dev.js +++ b/apps/documenteditor/main/app_dev.js @@ -189,6 +189,7 @@ require([ ,'common/main/lib/controller/ExternalMergeEditor' ,'common/main/lib/controller/ReviewChanges' ], function() { + window.compareVersions = true; app.start(); }); }, function(err) { diff --git a/apps/documenteditor/main/locale/en.json b/apps/documenteditor/main/locale/en.json index 6b50b20d3..1660ba6ec 100644 --- a/apps/documenteditor/main/locale/en.json +++ b/apps/documenteditor/main/locale/en.json @@ -298,6 +298,8 @@ "DE.Controllers.Main.warnLicenseExp": "Your license has expired.
Please update your license and refresh the page.", "DE.Controllers.Main.warnNoLicense": "You are using an open source version of ONLYOFFICE. The version has limitations for concurrent connections to the document server (20 connections at a time).
If you need more please consider purchasing a commercial license.", "DE.Controllers.Main.warnProcessRightsChange": "You have been denied the right to edit the file.", + "DE.Controllers.Main.titleServerVersion": "Editor updated", + "DE.Controllers.Main.errorServerVersion": "The editor version has been updated. The page will be reloaded to apply the changes.", "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}%", diff --git a/apps/documenteditor/mobile/app-dev.js b/apps/documenteditor/mobile/app-dev.js index 411b2806e..8f9d3a3be 100644 --- a/apps/documenteditor/mobile/app-dev.js +++ b/apps/documenteditor/mobile/app-dev.js @@ -220,6 +220,7 @@ require([ 'documenteditor/mobile/app/controller/add/AddImage', 'documenteditor/mobile/app/controller/add/AddOther' ], function() { + window.compareVersions = true; app.start(); }); }, function(err) { diff --git a/apps/documenteditor/mobile/app/controller/Main.js b/apps/documenteditor/mobile/app/controller/Main.js index 858936935..ad27e066b 100644 --- a/apps/documenteditor/mobile/app/controller/Main.js +++ b/apps/documenteditor/mobile/app/controller/Main.js @@ -131,6 +131,7 @@ define([ me.api.asc_registerCallback('asc_onDocumentContentReady', _.bind(me.onDocumentContentReady, me)); me.api.asc_registerCallback('asc_onOpenDocumentProgress', _.bind(me.onOpenDocument, me)); me.api.asc_registerCallback('asc_onDocumentUpdateVersion', _.bind(me.onUpdateVersion, me)); + me.api.asc_registerCallback('asc_onServerVersion', _.bind(me.onServerVersion, me)); me.api.asc_registerCallback('asc_onAdvancedOptions', _.bind(me.onAdvancedOptions, me)); me.api.asc_registerCallback('asc_onDocumentName', _.bind(me.onDocumentName, me)); me.api.asc_registerCallback('asc_onPrintUrl', _.bind(me.onPrintUrl, me)); @@ -589,6 +590,8 @@ define([ return; } + if ( me.onServerVersion(params.asc_getBuildVersion()) ) return; + me.permissions.review = (me.permissions.review === undefined) ? (me.permissions.edit !== false) : me.permissions.review; me.appOptions.canAnalytics = params.asc_getIsAnalyticsEnable(); me.appOptions.canLicense = (licType === Asc.c_oLicenseResult.Success); @@ -959,6 +962,25 @@ define([ }); }, + onServerVersion: function(buildVersion) { + var me = this; + if (me.changeServerVersion) return true; + + if (DocsAPI.DocEditor.version() !== buildVersion && !window.compareVersions) { + me.changeServerVersion = true; + uiApp.alert( + me.errorServerVersion, + me.titleServerVersion, + function () { + _.defer(function() { + Common.Gateway.updateVersion(); + }) + }); + return true; + } + return false; + }, + onCollaborativeChanges: function() { // }, @@ -1207,7 +1229,9 @@ define([ textPassword: 'Password', textBack: 'Back', textClose: 'Close', - textDone: 'Done' + textDone: 'Done', + titleServerVersion: 'Editor updated', + errorServerVersion: 'The editor version has been updated. The page will be reloaded to apply the changes.' } })(), DE.Controllers.Main || {})) }); \ No newline at end of file diff --git a/apps/documenteditor/mobile/locale/en.json b/apps/documenteditor/mobile/locale/en.json index d6eb79526..dce9e8f8f 100644 --- a/apps/documenteditor/mobile/locale/en.json +++ b/apps/documenteditor/mobile/locale/en.json @@ -127,6 +127,8 @@ "DE.Controllers.Main.warnLicenseExp": "Your license has expired.
Please update your license and refresh the page.", "DE.Controllers.Main.warnNoLicense": "You are using an open source version of ONLYOFFICE. The version has limitations for concurrent connections to the document server (20 connections at a time).
If you need more please consider purchasing a commercial license.", "DE.Controllers.Main.warnProcessRightsChange": "You have been denied the right to edit the file.", + "DE.Controllers.Main.titleServerVersion": "Editor updated", + "DE.Controllers.Main.errorServerVersion": "The editor version has been updated. The page will be reloaded to apply the changes.", "DE.Controllers.Search.textNoTextFound": "Text not Found", "DE.Controllers.Search.textReplaceAll": "Replace All", "DE.Controllers.Settings.notcriticalErrorTitle": "Warning", diff --git a/apps/presentationeditor/main/app/controller/Main.js b/apps/presentationeditor/main/app/controller/Main.js index 63a6009ff..15b2cd0db 100644 --- a/apps/presentationeditor/main/app/controller/Main.js +++ b/apps/presentationeditor/main/app/controller/Main.js @@ -130,6 +130,7 @@ define([ this.api.asc_registerCallback('asc_onOpenDocumentProgress', _.bind(this.onOpenDocument, this)); this.api.asc_registerCallback('asc_onThumbnailsShow', _.bind(this.onThumbnailsShow, this)); this.api.asc_registerCallback('asc_onDocumentUpdateVersion', _.bind(this.onUpdateVersion, this)); + this.api.asc_registerCallback('asc_onServerVersion', _.bind(this.onServerVersion, this)); this.api.asc_registerCallback('asc_onDocumentName', _.bind(this.onDocumentName, this)); this.api.asc_registerCallback('asc_onPrintUrl', _.bind(this.onPrintUrl, this)); this.api.asc_registerCallback('asc_onMeta', _.bind(this.onMeta, this)); @@ -755,6 +756,8 @@ define([ return; } + if ( this.onServerVersion(params.asc_getBuildVersion()) ) return; + if (params.asc_getRights() !== Asc.c_oRights.Edit) this.permissions.edit = false; @@ -1265,6 +1268,25 @@ define([ }); }, + onServerVersion: function(buildVersion) { + if (this.changeServerVersion) return true; + + if (DocsAPI.DocEditor.version() !== buildVersion && !window.compareVersions) { + this.changeServerVersion = true; + Common.UI.warning({ + title: this.titleServerVersion, + msg: this.errorServerVersion, + callback: function() { + _.defer(function() { + Common.Gateway.updateVersion(); + }) + } + }); + return true; + } + return false; + }, + /** coauthoring begin **/ fillUserStore: function(users){ if (!_.isEmpty(users)){ @@ -1852,7 +1874,9 @@ define([ errorSessionAbsolute: 'The document editing session has expired. Please reload the page.', errorSessionIdle: 'The document has not been edited for quite a long time. Please reload the page.', errorSessionToken: 'The connection to the server has been interrupted. Please reload the page.', - errorAccessDeny: 'You are trying to perform an action you do not have rights for.
Please contact your Document Server administrator.' + errorAccessDeny: 'You are trying to perform an action you do not have rights for.
Please contact your Document Server administrator.', + titleServerVersion: 'Editor updated', + errorServerVersion: 'The editor version has been updated. The page will be reloaded to apply the changes.' } })(), PE.Controllers.Main || {})) }); diff --git a/apps/presentationeditor/main/app_dev.js b/apps/presentationeditor/main/app_dev.js index 8409d469c..56aea9616 100644 --- a/apps/presentationeditor/main/app_dev.js +++ b/apps/presentationeditor/main/app_dev.js @@ -181,6 +181,7 @@ require([ 'presentationeditor/main/app/view/ChartSettings', 'common/main/lib/controller/ExternalDiagramEditor' ], function() { + window.compareVersions = true; app.start(); }); }, function(err) { diff --git a/apps/presentationeditor/main/locale/en.json b/apps/presentationeditor/main/locale/en.json index eeaad6749..8a6464467 100644 --- a/apps/presentationeditor/main/locale/en.json +++ b/apps/presentationeditor/main/locale/en.json @@ -245,6 +245,8 @@ "PE.Controllers.Main.warnLicenseExp": "Your license has expired.
Please update your license and refresh the page.", "PE.Controllers.Main.warnNoLicense": "You are using an open source version of ONLYOFFICE. The version has limitations for concurrent connections to the document server (20 connections at a time).
If you need more please consider purchasing a commercial license.", "PE.Controllers.Main.warnProcessRightsChange": "You have been denied the right to edit the file.", + "PE.Controllers.Main.titleServerVersion": "Editor updated", + "PE.Controllers.Main.errorServerVersion": "The editor version has been updated. The page will be reloaded to apply the changes.", "PE.Controllers.Statusbar.zoomText": "Zoom {0}%", "PE.Controllers.Toolbar.confirmAddFontName": "The font you are going to save is not available on the current device.
The text style will be displayed using one of the system fonts, the saved font will be used when it is available.
Do you want to continue?", "PE.Controllers.Toolbar.textAccent": "Accents", diff --git a/apps/presentationeditor/mobile/app-dev.js b/apps/presentationeditor/mobile/app-dev.js index 4474be45d..020c907f2 100644 --- a/apps/presentationeditor/mobile/app-dev.js +++ b/apps/presentationeditor/mobile/app-dev.js @@ -223,6 +223,7 @@ require([ 'presentationeditor/mobile/app/controller/add/AddSlide' ], function() { + window.compareVersions = true; app.start(); }); }, function(err) { diff --git a/apps/presentationeditor/mobile/app/controller/Main.js b/apps/presentationeditor/mobile/app/controller/Main.js index 1e8c47e82..e08626037 100644 --- a/apps/presentationeditor/mobile/app/controller/Main.js +++ b/apps/presentationeditor/mobile/app/controller/Main.js @@ -123,6 +123,7 @@ define([ me.api.asc_registerCallback('asc_onDocumentContentReady', _.bind(me.onDocumentContentReady, me)); me.api.asc_registerCallback('asc_onOpenDocumentProgress', _.bind(me.onOpenDocument, me)); me.api.asc_registerCallback('asc_onDocumentUpdateVersion', _.bind(me.onUpdateVersion, me)); + me.api.asc_registerCallback('asc_onServerVersion', _.bind(me.onServerVersion, me)); me.api.asc_registerCallback('asc_onAdvancedOptions', _.bind(me.onAdvancedOptions, me)); me.api.asc_registerCallback('asc_onDocumentName', _.bind(me.onDocumentName, me)); me.api.asc_registerCallback('asc_onPrintUrl', _.bind(me.onPrintUrl, me)); @@ -544,6 +545,8 @@ define([ return; } + if ( me.onServerVersion(params.asc_getBuildVersion()) ) return; + me.permissions.review = (me.permissions.review === undefined) ? (me.permissions.edit !== false) : me.permissions.review; me.appOptions.canAnalytics = params.asc_getIsAnalyticsEnable(); me.appOptions.canLicense = (licType === Asc.c_oLicenseResult.Success); @@ -919,6 +922,25 @@ define([ }); }, + onServerVersion: function(buildVersion) { + var me = this; + if (me.changeServerVersion) return true; + + if (DocsAPI.DocEditor.version() !== buildVersion && !window.compareVersions) { + me.changeServerVersion = true; + uiApp.alert( + me.errorServerVersion, + me.titleServerVersion, + function () { + _.defer(function() { + Common.Gateway.updateVersion(); + }) + }); + return true; + } + return false; + }, + onCollaborativeChanges: function() { // }, @@ -1209,7 +1231,9 @@ define([ textPassword: 'Password', textBack: 'Back', textClose: 'Close', - textDone: 'Done' + textDone: 'Done', + titleServerVersion: 'Editor updated', + errorServerVersion: 'The editor version has been updated. The page will be reloaded to apply the changes.' } })(), PE.Controllers.Main || {})) }); \ No newline at end of file diff --git a/apps/presentationeditor/mobile/locale/en.json b/apps/presentationeditor/mobile/locale/en.json index e81063787..e7245423e 100644 --- a/apps/presentationeditor/mobile/locale/en.json +++ b/apps/presentationeditor/mobile/locale/en.json @@ -140,6 +140,8 @@ "PE.Controllers.Main.textBack": "Back", "PE.Controllers.Main.textClose": "Close", "PE.Controllers.Main.textDone": "Done", + "PE.Controllers.Main.titleServerVersion": "Editor updated", + "PE.Controllers.Main.errorServerVersion": "The editor version has been updated. The page will be reloaded to apply the changes.", "PE.Controllers.DocumentHolder.menuCut": "Cut", "PE.Controllers.DocumentHolder.menuCopy": "Copy", diff --git a/apps/spreadsheeteditor/main/app/controller/Main.js b/apps/spreadsheeteditor/main/app/controller/Main.js index a4ecd222b..d27cbfd4d 100644 --- a/apps/spreadsheeteditor/main/app/controller/Main.js +++ b/apps/spreadsheeteditor/main/app/controller/Main.js @@ -129,6 +129,7 @@ define([ this.api.asc_registerCallback('asc_onCoAuthoringDisconnect', _.bind(this.onCoAuthoringDisconnect, this)); this.api.asc_registerCallback('asc_onAdvancedOptions', _.bind(this.onAdvancedOptions, this)); this.api.asc_registerCallback('asc_onDocumentUpdateVersion', _.bind(this.onUpdateVersion, this)); + this.api.asc_registerCallback('asc_onServerVersion', _.bind(this.onServerVersion, this)); this.api.asc_registerCallback('asc_onDocumentName', _.bind(this.onDocumentName, this)); this.api.asc_registerCallback('asc_onPrintUrl', _.bind(this.onPrintUrl, this)); this.api.asc_registerCallback('asc_onMeta', _.bind(this.onMeta, this)); @@ -776,6 +777,8 @@ define([ return; } + if ( this.onServerVersion(params.asc_getBuildVersion()) ) return; + if (params.asc_getRights() !== Asc.c_oRights.Edit) this.permissions.edit = false; @@ -1404,6 +1407,25 @@ define([ }); }, + onServerVersion: function(buildVersion) { + if (this.changeServerVersion) return true; + + if (DocsAPI.DocEditor.version() !== buildVersion && !window.compareVersions) { + this.changeServerVersion = true; + Common.UI.warning({ + title: this.titleServerVersion, + msg: this.errorServerVersion, + callback: function() { + _.defer(function() { + Common.Gateway.updateVersion(); + }) + } + }); + return true; + } + return false; + }, + onAdvancedOptions: function(advOptions) { var type = advOptions.asc_getOptionId(), me = this, dlg; @@ -2067,7 +2089,9 @@ define([ errorSessionAbsolute: 'The document editing session has expired. Please reload the page.', errorSessionIdle: 'The document has not been edited for quite a long time. Please reload the page.', errorSessionToken: 'The connection to the server has been interrupted. Please reload the page.', - errorAccessDeny: 'You are trying to perform an action you do not have rights for.
Please contact your Document Server administrator.' + errorAccessDeny: 'You are trying to perform an action you do not have rights for.
Please contact your Document Server administrator.', + titleServerVersion: 'Editor updated', + errorServerVersion: 'The editor version has been updated. The page will be reloaded to apply the changes.' } })(), SSE.Controllers.Main || {})) }); diff --git a/apps/spreadsheeteditor/main/app_dev.js b/apps/spreadsheeteditor/main/app_dev.js index 4f7c82778..3d8301bbb 100644 --- a/apps/spreadsheeteditor/main/app_dev.js +++ b/apps/spreadsheeteditor/main/app_dev.js @@ -177,6 +177,7 @@ require([ 'common/main/lib/controller/Chat', 'common/main/lib/controller/Plugins' ], function() { + window.compareVersions = true; app.start(); }); }, function(err) { diff --git a/apps/spreadsheeteditor/main/locale/en.json b/apps/spreadsheeteditor/main/locale/en.json index 866d69098..10331948a 100644 --- a/apps/spreadsheeteditor/main/locale/en.json +++ b/apps/spreadsheeteditor/main/locale/en.json @@ -338,6 +338,8 @@ "SSE.Controllers.Main.warnLicenseExp": "Your license has expired.
Please update your license and refresh the page.", "SSE.Controllers.Main.warnNoLicense": "You are using an open source version of ONLYOFFICE. The version has limitations for concurrent connections to the document server (20 connections at a time).
If you need more please consider purchasing a commercial license.", "SSE.Controllers.Main.warnProcessRightsChange": "You have been denied the right to edit the file.", + "SSE.Controllers.Main.titleServerVersion": "Editor updated", + "SSE.Controllers.Main.errorServerVersion": "The editor version has been updated. The page will be reloaded to apply the changes.", "SSE.Controllers.Print.strAllSheets": "All Sheets", "SSE.Controllers.Print.textWarning": "Warning", "SSE.Controllers.Print.warnCheckMargings": "Margins are incorrect", diff --git a/apps/spreadsheeteditor/mobile/app-dev.js b/apps/spreadsheeteditor/mobile/app-dev.js index 6fd8724cf..70e500048 100644 --- a/apps/spreadsheeteditor/mobile/app-dev.js +++ b/apps/spreadsheeteditor/mobile/app-dev.js @@ -206,6 +206,7 @@ require([ ,'spreadsheeteditor/mobile/app/controller/add/AddOther' ,'spreadsheeteditor/mobile/app/controller/add/AddLink' ], function() { + window.compareVersions = true; app.start(); }); }, function(err) { diff --git a/apps/spreadsheeteditor/mobile/app/controller/Main.js b/apps/spreadsheeteditor/mobile/app/controller/Main.js index ecbd09ffc..3cbbf3d8b 100644 --- a/apps/spreadsheeteditor/mobile/app/controller/Main.js +++ b/apps/spreadsheeteditor/mobile/app/controller/Main.js @@ -125,6 +125,7 @@ define([ me.api.asc_registerCallback('asc_onOpenDocumentProgress', _.bind(me.onOpenDocument, me)); me.api.asc_registerCallback('asc_onAdvancedOptions', _.bind(me.onAdvancedOptions, me)); me.api.asc_registerCallback('asc_onDocumentUpdateVersion', _.bind(me.onUpdateVersion, me)); + me.api.asc_registerCallback('asc_onServerVersion', _.bind(me.onServerVersion, me)); me.api.asc_registerCallback('asc_onPrintUrl', _.bind(me.onPrintUrl, me)); me.api.asc_registerCallback('asc_onDocumentName', _.bind(me.onDocumentName, me)); me.api.asc_registerCallback('asc_onEndAction', _.bind(me.onLongActionEnd, me)); @@ -631,6 +632,8 @@ define([ return; } + if ( me.onServerVersion(params.asc_getBuildVersion()) ) return; + if (params.asc_getRights() !== Asc.c_oRights.Edit) { me.permissions.edit = false; } @@ -1115,6 +1118,25 @@ define([ }); }, + onServerVersion: function(buildVersion) { + var me = this; + if (me.changeServerVersion) return true; + + if (DocsAPI.DocEditor.version() !== buildVersion && !window.compareVersions) { + me.changeServerVersion = true; + uiApp.alert( + me.errorServerVersion, + me.titleServerVersion, + function () { + _.defer(function() { + Common.Gateway.updateVersion(); + }) + }); + return true; + } + return false; + }, + onCollaborativeChanges: function() { // }, @@ -1421,7 +1443,9 @@ define([ textPassword: 'Password', textBack: 'Back', textClose: 'Close', - textDone: 'Done' + textDone: 'Done', + titleServerVersion: 'Editor updated', + errorServerVersion: 'The editor version has been updated. The page will be reloaded to apply the changes.' } })(), SSE.Controllers.Main || {})) }); \ No newline at end of file diff --git a/apps/spreadsheeteditor/mobile/locale/en.json b/apps/spreadsheeteditor/mobile/locale/en.json index d7ba058c2..88b7f95a4 100644 --- a/apps/spreadsheeteditor/mobile/locale/en.json +++ b/apps/spreadsheeteditor/mobile/locale/en.json @@ -195,6 +195,8 @@ "SSE.Controllers.Main.warnLicenseExp": "Your license has expired.
Please update your license and refresh the page.", "SSE.Controllers.Main.warnNoLicense": "You are using an open source version of ONLYOFFICE. The version has limitations for concurrent connections to the document server (20 connections at a time).
If you need more please consider purchasing a commercial license.", "SSE.Controllers.Main.warnProcessRightsChange": "You have been denied the right to edit the file.", + "SSE.Controllers.Main.titleServerVersion": "Editor updated", + "SSE.Controllers.Main.errorServerVersion": "The editor version has been updated. The page will be reloaded to apply the changes.", "SSE.Controllers.Search.textNoTextFound": "Text not found", "SSE.Controllers.Search.textReplaceAll": "Replace All", "SSE.Controllers.Settings.notcriticalErrorTitle": "Warning",