browser: give clear message to user about expired token

user would not know what is token and what to do if it expires

Signed-off-by: Pranam Lashkari <lpranam@collabora.com>
Change-Id: I227690c91faec0465165ce4b59ff2d73b79271b7
This commit is contained in:
Pranam Lashkari 2024-07-03 15:08:20 +01:00 committed by Andras Timar
parent b3ec03804f
commit ae20bc5ad4

View file

@ -44,7 +44,7 @@ if (window.ThisIsAMobileApp) {
loadfailed: _('Failed to load document.'),
savediskfull: _('Save failed due to no disk space left. Document will now be read-only.'),
savetoolarge: _('The document is too large or no disk space left to save. Document will now be read-only.'),
saveunauthorized: _('Document cannot be saved due to expired or invalid access token.'),
saveunauthorized: _('Document cannot be saved due to expired session, please reopen the document to continue.' ),
savefailed: _('Document cannot be saved.'),
renamefailed: _('Document cannot be renamed.')
};
@ -53,7 +53,7 @@ if (window.ThisIsAMobileApp) {
loadfailed: _('Failed to read document from storage, please try to load the document again.'),
savediskfull: _('Save failed due to no storage space left. Document will now be read-only. Please make sure enough disk space is available and try to save again.'),
savetoolarge: _('Save failed because the document is too large or exceeds the remaining storage space. The document will now be read-only but you may still download it now to preserve a copy locally.'),
saveunauthorized: _('Document cannot be saved due to expired or invalid access token.'),
saveunauthorized: _('Document cannot be saved due to expired session, please reload the page to continue.'),
savefailed: _('Document cannot be saved, please check your permissions.'),
renamefailed: _('Document cannot be renamed, please check your permissions.'),
saveasfailed: _('Document cannot be exported. Please try again.')