Added new error messages.
This commit is contained in:
parent
e2936a8f0a
commit
38444d61fa
|
@ -1211,11 +1211,11 @@ define([
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case Asc.c_oAscError.ID.VKeyEncrypt:
|
case Asc.c_oAscError.ID.VKeyEncrypt:
|
||||||
config.msg = this.errorKeyEncrypt;
|
config.msg = this.errorToken;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case Asc.c_oAscError.ID.KeyExpire:
|
case Asc.c_oAscError.ID.KeyExpire:
|
||||||
config.msg = this.errorKeyExpire;
|
config.msg = this.errorTokenExpire;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case Asc.c_oAscError.ID.UserCountExceed:
|
case Asc.c_oAscError.ID.UserCountExceed:
|
||||||
|
@ -1263,6 +1263,22 @@ define([
|
||||||
config.msg = this.errorConnectToServer;
|
config.msg = this.errorConnectToServer;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case Asc.c_oAscError.ID.SessionAbsolute:
|
||||||
|
config.msg = this.errorSessionAbsolute;
|
||||||
|
break;
|
||||||
|
|
||||||
|
case Asc.c_oAscError.ID.SessionIdle:
|
||||||
|
config.msg = this.errorSessionIdle;
|
||||||
|
break;
|
||||||
|
|
||||||
|
case Asc.c_oAscError.ID.SessionToken:
|
||||||
|
config.msg = this.errorSessionToken;
|
||||||
|
break;
|
||||||
|
|
||||||
|
case Asc.c_oAscError.ID.AccessDeny:
|
||||||
|
config.msg = this.errorAccessDeny;
|
||||||
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
config.msg = this.errorDefaultMessage.replace('%1', id);
|
config.msg = this.errorDefaultMessage.replace('%1', id);
|
||||||
break;
|
break;
|
||||||
|
@ -2002,7 +2018,13 @@ define([
|
||||||
warnLicenseExp: 'Your license has expired.<br>Please update your license and refresh the page.',
|
warnLicenseExp: 'Your license has expired.<br>Please update your license and refresh the page.',
|
||||||
titleLicenseExp: 'License expired',
|
titleLicenseExp: 'License expired',
|
||||||
openErrorText: 'An error has occurred while opening the file',
|
openErrorText: 'An error has occurred while opening the file',
|
||||||
saveErrorText: 'An error has occurred while saving the file'
|
saveErrorText: 'An error has occurred while saving the file',
|
||||||
|
errorToken: 'The document security token is not correctly formed.<br>Please contact your Document Server administrator.',
|
||||||
|
errorTokenExpire: 'The document security token has expired.<br>Please contact your Document Server administrator.',
|
||||||
|
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.<br>Please contact your Document Server administrator.'
|
||||||
}
|
}
|
||||||
})(), DE.Controllers.Main || {}))
|
})(), DE.Controllers.Main || {}))
|
||||||
});
|
});
|
|
@ -221,6 +221,12 @@
|
||||||
"DE.Controllers.Main.errorUserDrop": "The file cannot be accessed right now.",
|
"DE.Controllers.Main.errorUserDrop": "The file cannot be accessed right now.",
|
||||||
"DE.Controllers.Main.errorUsersExceed": "The number of users allowed by the pricing plan was exceeded",
|
"DE.Controllers.Main.errorUsersExceed": "The number of users allowed by the pricing plan was exceeded",
|
||||||
"DE.Controllers.Main.errorViewerDisconnect": "Connection is lost. You can still view the document,<br>but will not be able to download or print until the connection is restored.",
|
"DE.Controllers.Main.errorViewerDisconnect": "Connection is lost. You can still view the document,<br>but will not be able to download or print until the connection is restored.",
|
||||||
|
"DE.Controllers.Main.errorToken": "The document security token is not correctly formed.<br>Please contact your Document Server administrator.",
|
||||||
|
"DE.Controllers.Main.errorTokenExpire": "The document security token has expired.<br>Please contact your Document Server administrator.",
|
||||||
|
"DE.Controllers.Main.errorSessionAbsolute": "The document editing session has expired. Please reload the page.",
|
||||||
|
"DE.Controllers.Main.errorSessionIdle": "The document has not been edited for quite a long time. Please reload the page.",
|
||||||
|
"DE.Controllers.Main.errorSessionToken": "The connection to the server has been interrupted. Please reload the page.",
|
||||||
|
"DE.Controllers.Main.errorAccessDeny": "You are trying to perform an action you do not have rights for.<br>Please contact your Document Server administrator.",
|
||||||
"DE.Controllers.Main.leavePageText": "You have unsaved changes in this document. Click \"Stay on This Page\", then \"Save\" to save them. Click \"Leave This Page\" to discard all the unsaved changes.",
|
"DE.Controllers.Main.leavePageText": "You have unsaved changes in this document. Click \"Stay on This Page\", then \"Save\" to save them. Click \"Leave This Page\" to discard all the unsaved changes.",
|
||||||
"DE.Controllers.Main.loadFontsTextText": "Loading data...",
|
"DE.Controllers.Main.loadFontsTextText": "Loading data...",
|
||||||
"DE.Controllers.Main.loadFontsTitleText": "Loading Data",
|
"DE.Controllers.Main.loadFontsTitleText": "Loading Data",
|
||||||
|
|
|
@ -974,11 +974,11 @@ define([
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case Asc.c_oAscError.ID.VKeyEncrypt:
|
case Asc.c_oAscError.ID.VKeyEncrypt:
|
||||||
config.msg = this.errorKeyEncrypt;
|
config.msg = this.errorToken;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case Asc.c_oAscError.ID.KeyExpire:
|
case Asc.c_oAscError.ID.KeyExpire:
|
||||||
config.msg = this.errorKeyExpire;
|
config.msg = this.errorTokenExpire;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case Asc.c_oAscError.ID.UserCountExceed:
|
case Asc.c_oAscError.ID.UserCountExceed:
|
||||||
|
@ -1018,6 +1018,22 @@ define([
|
||||||
config.msg = this.errorConnectToServer;
|
config.msg = this.errorConnectToServer;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case Asc.c_oAscError.ID.SessionAbsolute:
|
||||||
|
config.msg = this.errorSessionAbsolute;
|
||||||
|
break;
|
||||||
|
|
||||||
|
case Asc.c_oAscError.ID.SessionIdle:
|
||||||
|
config.msg = this.errorSessionIdle;
|
||||||
|
break;
|
||||||
|
|
||||||
|
case Asc.c_oAscError.ID.SessionToken:
|
||||||
|
config.msg = this.errorSessionToken;
|
||||||
|
break;
|
||||||
|
|
||||||
|
case Asc.c_oAscError.ID.AccessDeny:
|
||||||
|
config.msg = this.errorAccessDeny;
|
||||||
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
config.msg = this.errorDefaultMessage.replace('%1', id);
|
config.msg = this.errorDefaultMessage.replace('%1', id);
|
||||||
break;
|
break;
|
||||||
|
@ -1809,7 +1825,13 @@ define([
|
||||||
warnLicenseExp: 'Your license has expired.<br>Please update your license and refresh the page.',
|
warnLicenseExp: 'Your license has expired.<br>Please update your license and refresh the page.',
|
||||||
titleLicenseExp: 'License expired',
|
titleLicenseExp: 'License expired',
|
||||||
openErrorText: 'An error has occurred while opening the file',
|
openErrorText: 'An error has occurred while opening the file',
|
||||||
saveErrorText: 'An error has occurred while saving the file'
|
saveErrorText: 'An error has occurred while saving the file',
|
||||||
|
errorToken: 'The document security token is not correctly formed.<br>Please contact your Document Server administrator.',
|
||||||
|
errorTokenExpire: 'The document security token has expired.<br>Please contact your Document Server administrator.',
|
||||||
|
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.<br>Please contact your Document Server administrator.'
|
||||||
}
|
}
|
||||||
})(), PE.Controllers.Main || {}))
|
})(), PE.Controllers.Main || {}))
|
||||||
});
|
});
|
||||||
|
|
|
@ -135,6 +135,12 @@
|
||||||
"PE.Controllers.Main.errorUserDrop": "The file cannot be accessed right now.",
|
"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.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,<br>but will not be able to download or print until the connection is restored.",
|
"PE.Controllers.Main.errorViewerDisconnect": "Connection is lost. You can still view the document,<br>but will not be able to download or print until the connection is restored.",
|
||||||
|
"PE.Controllers.Main.errorToken": "The document security token is not correctly formed.<br>Please contact your Document Server administrator.",
|
||||||
|
"PE.Controllers.Main.errorTokenExpire": "The document security token has expired.<br>Please contact your Document Server administrator.",
|
||||||
|
"PE.Controllers.Main.errorSessionAbsolute": "The document editing session has expired. Please reload the page.",
|
||||||
|
"PE.Controllers.Main.errorSessionIdle": "The document has not been edited for quite a long time. Please reload the page.",
|
||||||
|
"PE.Controllers.Main.errorSessionToken": "The connection to the server has been interrupted. Please reload the page.",
|
||||||
|
"PE.Controllers.Main.errorAccessDeny": "You are trying to perform an action you do not have rights for.<br>Please contact your Document Server administrator.",
|
||||||
"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.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.loadFontsTextText": "Loading data...",
|
"PE.Controllers.Main.loadFontsTextText": "Loading data...",
|
||||||
"PE.Controllers.Main.loadFontsTitleText": "Loading Data",
|
"PE.Controllers.Main.loadFontsTitleText": "Loading Data",
|
||||||
|
|
|
@ -1087,11 +1087,11 @@ define([
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case Asc.c_oAscError.ID.VKeyEncrypt:
|
case Asc.c_oAscError.ID.VKeyEncrypt:
|
||||||
config.msg = this.errorKeyEncrypt;
|
config.msg = this.errorToken;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case Asc.c_oAscError.ID.KeyExpire:
|
case Asc.c_oAscError.ID.KeyExpire:
|
||||||
config.msg = this.errorKeyExpire;
|
config.msg = this.errorTokenExpire;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case Asc.c_oAscError.ID.UserCountExceed:
|
case Asc.c_oAscError.ID.UserCountExceed:
|
||||||
|
@ -1183,6 +1183,22 @@ define([
|
||||||
config.msg = this.errorPrintMaxPagesCount;
|
config.msg = this.errorPrintMaxPagesCount;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case Asc.c_oAscError.ID.SessionAbsolute:
|
||||||
|
config.msg = this.errorSessionAbsolute;
|
||||||
|
break;
|
||||||
|
|
||||||
|
case Asc.c_oAscError.ID.SessionIdle:
|
||||||
|
config.msg = this.errorSessionIdle;
|
||||||
|
break;
|
||||||
|
|
||||||
|
case Asc.c_oAscError.ID.SessionToken:
|
||||||
|
config.msg = this.errorSessionToken;
|
||||||
|
break;
|
||||||
|
|
||||||
|
case Asc.c_oAscError.ID.AccessDeny:
|
||||||
|
config.msg = this.errorAccessDeny;
|
||||||
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
config.msg = this.errorDefaultMessage.replace('%1', id);
|
config.msg = this.errorDefaultMessage.replace('%1', id);
|
||||||
break;
|
break;
|
||||||
|
@ -2019,7 +2035,13 @@ define([
|
||||||
openErrorText: 'An error has occurred while opening the file',
|
openErrorText: 'An error has occurred while opening the file',
|
||||||
saveErrorText: 'An error has occurred while saving the file',
|
saveErrorText: 'An error has occurred while saving the file',
|
||||||
errorCopyMultiselectArea: 'This command cannot be used with multiple selections.<br>Select a single range and try again.',
|
errorCopyMultiselectArea: 'This command cannot be used with multiple selections.<br>Select a single range and try again.',
|
||||||
errorPrintMaxPagesCount: 'Unfortunately, it’s not possible to print more than 1500 pages at once in the current version of the program.<br>This restriction will be eliminated in upcoming releases.'
|
errorPrintMaxPagesCount: 'Unfortunately, it’s not possible to print more than 1500 pages at once in the current version of the program.<br>This restriction will be eliminated in upcoming releases.',
|
||||||
|
errorToken: 'The document security token is not correctly formed.<br>Please contact your Document Server administrator.',
|
||||||
|
errorTokenExpire: 'The document security token has expired.<br>Please contact your Document Server administrator.',
|
||||||
|
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.<br>Please contact your Document Server administrator.'
|
||||||
}
|
}
|
||||||
})(), SSE.Controllers.Main || {}))
|
})(), SSE.Controllers.Main || {}))
|
||||||
});
|
});
|
||||||
|
|
|
@ -260,6 +260,12 @@
|
||||||
"SSE.Controllers.Main.errorViewerDisconnect": "Connection is lost. You can still view the document,<br>but will not be able to download or print until the connection is restored.",
|
"SSE.Controllers.Main.errorViewerDisconnect": "Connection is lost. You can still view the document,<br>but will not be able to download or print until the connection is restored.",
|
||||||
"SSE.Controllers.Main.errorWrongBracketsCount": "An error in the entered formula.<br>Wrong number of brackets is used.",
|
"SSE.Controllers.Main.errorWrongBracketsCount": "An error in the entered formula.<br>Wrong number of brackets is used.",
|
||||||
"SSE.Controllers.Main.errorWrongOperator": "An error in the entered formula. Wrong operator is used.<br>Please correct the error or use the Esc button to cancel the formula editing.",
|
"SSE.Controllers.Main.errorWrongOperator": "An error in the entered formula. Wrong operator is used.<br>Please correct the error or use the Esc button to cancel the formula editing.",
|
||||||
|
"SSE.Controllers.Main.errorToken": "The document security token is not correctly formed.<br>Please contact your Document Server administrator.",
|
||||||
|
"SSE.Controllers.Main.errorTokenExpire": "The document security token has expired.<br>Please contact your Document Server administrator.",
|
||||||
|
"SSE.Controllers.Main.errorSessionAbsolute": "The document editing session has expired. Please reload the page.",
|
||||||
|
"SSE.Controllers.Main.errorSessionIdle": "The document has not been edited for quite a long time. Please reload the page.",
|
||||||
|
"SSE.Controllers.Main.errorSessionToken": "The connection to the server has been interrupted. Please reload the page.",
|
||||||
|
"SSE.Controllers.Main.errorAccessDeny": "You are trying to perform an action you do not have rights for.<br>Please contact your Document Server administrator.",
|
||||||
"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.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.loadFontsTextText": "Loading data...",
|
"SSE.Controllers.Main.loadFontsTextText": "Loading data...",
|
||||||
"SSE.Controllers.Main.loadFontsTitleText": "Loading Data",
|
"SSE.Controllers.Main.loadFontsTitleText": "Loading Data",
|
||||||
|
|
Loading…
Reference in a new issue