diff --git a/apps/documenteditor/mobile/locale/en.json b/apps/documenteditor/mobile/locale/en.json index 027c09915..719701a32 100644 --- a/apps/documenteditor/mobile/locale/en.json +++ b/apps/documenteditor/mobile/locale/en.json @@ -433,6 +433,7 @@ "errorUserDrop": "The file can't be accessed right now.", "errorUsersExceed": "The number of users allowed by the pricing plan was exceeded", "errorViewerDisconnect": "Connection is lost. You can still view the document,
but you won't be able to download or print it until the connection is restored and the page is reloaded.", + "errorDirectUrl": "Please verify the link to the document.
This link must be a direct link to the file for downloading.", "notcriticalErrorTitle": "Warning", "openErrorText": "An error has occurred while opening the file", "saveErrorText": "An error has occurred while saving the file", diff --git a/apps/documenteditor/mobile/src/controller/Error.jsx b/apps/documenteditor/mobile/src/controller/Error.jsx index d3afc4771..f06fbce0c 100644 --- a/apps/documenteditor/mobile/src/controller/Error.jsx +++ b/apps/documenteditor/mobile/src/controller/Error.jsx @@ -193,6 +193,10 @@ const ErrorController = inject('storeAppOptions')(({storeAppOptions, LoadingDocu config.msg = _t.errorTextFormWrongFormat; break; + case Asc.c_oAscError.ID.DirectUrl: + config.msg = _t.errorDirectUrl; + break; + default: config.msg = _t.errorDefaultMessage.replace('%1', id); break; diff --git a/apps/presentationeditor/main/app/controller/Main.js b/apps/presentationeditor/main/app/controller/Main.js index aac291c68..2879f9150 100644 --- a/apps/presentationeditor/main/app/controller/Main.js +++ b/apps/presentationeditor/main/app/controller/Main.js @@ -1566,6 +1566,10 @@ define([ config.msg = this.errorLoadingFont; break; + case Asc.c_oAscError.ID.DirectUrl: + config.msg = this.errorDirectUrl; + break; + default: config.msg = (typeof id == 'string') ? id : this.errorDefaultMessage.replace('%1', id); break; diff --git a/apps/presentationeditor/main/locale/en.json b/apps/presentationeditor/main/locale/en.json index f130a20b7..d1e3bacf4 100644 --- a/apps/presentationeditor/main/locale/en.json +++ b/apps/presentationeditor/main/locale/en.json @@ -679,6 +679,7 @@ "PE.Controllers.Main.errorUserDrop": "The file cannot be accessed right now.", "PE.Controllers.Main.errorUsersExceed": "The number of users allowed by the pricing plan was exceeded", "PE.Controllers.Main.errorViewerDisconnect": "Connection is lost. You can still view the document,
but will not be able to download or print it until the connection is restored and page is reloaded.", + "PE.Controllers.Main.errorDirectUrl": "Please verify the link to the document.
This link must be a direct link to the file for downloading.", "PE.Controllers.Main.leavePageText": "You have unsaved changes in this presentation. Click \"Stay on This Page\", then \"Save\" to save them. Click \"Leave This Page\" to discard all the unsaved changes.", "PE.Controllers.Main.leavePageTextOnClose": "All unsaved changes in this presentation will be lost.
Click \"Cancel\" then \"Save\" to save them. Click \"OK\" to discard all the unsaved changes.", "PE.Controllers.Main.loadFontsTextText": "Loading data...", diff --git a/apps/presentationeditor/mobile/locale/en.json b/apps/presentationeditor/mobile/locale/en.json index c7bb52db0..4a129b936 100644 --- a/apps/presentationeditor/mobile/locale/en.json +++ b/apps/presentationeditor/mobile/locale/en.json @@ -163,6 +163,7 @@ "errorUserDrop": "The file cannot be accessed right now.", "errorUsersExceed": "The number of users allowed by the pricing plan was exceeded", "errorViewerDisconnect": "Connection is lost. You can still view the document,
but you won't be able to download or print it until the connection is restored and the page is reloaded.", + "errorDirectUrl": "Please verify the link to the document.
This link must be a direct link to the file for downloading.", "notcriticalErrorTitle": "Warning", "openErrorText": "An error has occurred while opening the file", "saveErrorText": "An error has occurred while saving the file", diff --git a/apps/presentationeditor/mobile/src/controller/Error.jsx b/apps/presentationeditor/mobile/src/controller/Error.jsx index 85b605270..8ae921b20 100644 --- a/apps/presentationeditor/mobile/src/controller/Error.jsx +++ b/apps/presentationeditor/mobile/src/controller/Error.jsx @@ -173,6 +173,10 @@ const ErrorController = inject('storeAppOptions')(({storeAppOptions, LoadingDocu config.msg = _t.errorLoadingFont; break; + case Asc.c_oAscError.ID.DirectUrl: + config.msg = _t.errorDirectUrl; + break; + default: config.msg = _t.errorDefaultMessage.replace('%1', id); break; diff --git a/apps/spreadsheeteditor/main/app/controller/Main.js b/apps/spreadsheeteditor/main/app/controller/Main.js index c19383f84..bfe9dfb9a 100644 --- a/apps/spreadsheeteditor/main/app/controller/Main.js +++ b/apps/spreadsheeteditor/main/app/controller/Main.js @@ -1967,6 +1967,10 @@ define([ config.msg = this.errorCannotUseCommandProtectedSheet; break; + case Asc.c_oAscError.ID.DirectUrl: + config.msg = this.errorDirectUrl; + break; + default: config.msg = (typeof id == 'string') ? id : this.errorDefaultMessage.replace('%1', id); break; diff --git a/apps/spreadsheeteditor/main/locale/en.json b/apps/spreadsheeteditor/main/locale/en.json index 9ea34733c..e2a76568c 100644 --- a/apps/spreadsheeteditor/main/locale/en.json +++ b/apps/spreadsheeteditor/main/locale/en.json @@ -791,6 +791,7 @@ "SSE.Controllers.Main.errorWrongOperator": "An error in the entered formula. Wrong operator is used.
Please correct the error.", "SSE.Controllers.Main.errorWrongPassword": "The password you supplied is not correct.", "SSE.Controllers.Main.errRemDuplicates": "Duplicate values found and deleted: {0}, unique values left: {1}.", + "SSE.Controllers.Main.errorDirectUrl": "Please verify the link to the document.
This link must be a direct link to the file for downloading.", "SSE.Controllers.Main.leavePageText": "You have unsaved changes in this spreadsheet. Click 'Stay on this Page' then 'Save' to save them. Click 'Leave this Page' to discard all the unsaved changes.", "SSE.Controllers.Main.leavePageTextOnClose": "All unsaved changes in this spreadsheet will be lost.
Click \"Cancel\" then \"Save\" to save them. Click \"OK\" to discard all the unsaved changes.", "SSE.Controllers.Main.loadFontsTextText": "Loading data...", diff --git a/apps/spreadsheeteditor/mobile/locale/en.json b/apps/spreadsheeteditor/mobile/locale/en.json index 3911ad4d8..c34dabd34 100644 --- a/apps/spreadsheeteditor/mobile/locale/en.json +++ b/apps/spreadsheeteditor/mobile/locale/en.json @@ -235,6 +235,7 @@ "errorViewerDisconnect": "Connection is lost. You can still view the document,
but you won't be able to download or print it until the connection is restored and the page is reloaded.", "errorWrongBracketsCount": "An error in the formula.
Wrong number of brackets.", "errorWrongOperator": "An error in the entered formula. Wrong operator is used.
Please correct the error.", + "errorDirectUrl": "Please verify the link to the document.
This link must be a direct link to the file for downloading.", "notcriticalErrorTitle": "Warning", "openErrorText": "An error has occurred while opening the file", "pastInMergeAreaError": "Cannot change a part of a merged cell", diff --git a/apps/spreadsheeteditor/mobile/src/controller/Error.jsx b/apps/spreadsheeteditor/mobile/src/controller/Error.jsx index 5a836adef..e76cd578c 100644 --- a/apps/spreadsheeteditor/mobile/src/controller/Error.jsx +++ b/apps/spreadsheeteditor/mobile/src/controller/Error.jsx @@ -324,6 +324,10 @@ const ErrorController = inject('storeAppOptions')(({storeAppOptions, LoadingDocu config.msg = t('Error.errorCannotUseCommandProtectedSheet'); break; + case Asc.c_oAscError.ID.DirectUrl: + config.msg = _t.errorDirectUrl; + break; + default: config.msg = _t.errorDefaultMessage.replace('%1', id); break;