isDocOwner?t("You can try reloading the document, or using recovery mode. Recovery mode opens the document to be fully accessible to owners, and inaccessible to others. It also disables formulas. [{{error}}]",{error: err.message}):
isDocOwner
isDenied?t('Sorry, access to this document has been denied. [{{error}}]',{error: err.message}):
?t("You can try reloading the document, or using recovery mode. "+
t("Document owners can attempt to recover the document. [{{error}}]",{error: err.message}),
"Recovery mode opens the document to be fully accessible to "+
{hideCancel: true,
"owners, and inaccessible to others. It also disables "+
@ -113,7 +113,9 @@ export class AccountPage extends Disposable {
),
),
css.subHeader(t("Two-factor authentication")),
css.subHeader(t("Two-factor authentication")),
css.description(
css.description(
t("Two-factor authentication is an extra layer of security for your Grist account designed to ensure that you're the only person who can access your account, even if someone knows your password.")
t("Two-factor authentication is an extra layer of security for your Grist account "+
"designed to ensure that you're the only person who can access your account, "+
body: t("Cannot construct a document tour from the data in this document. Ensure there is a table named GristDocTour with columns Title, Body, Placement, and Location."),
body: t("Cannot construct a document tour from the data in this document. "+
"Ensure there is a table named GristDocTour with columns Title, Body, Placement, and Location."),
t("Instead of duplicating tables, it's usually better to segment data using linked views. {{link}}",{link: cssLink({href: commonUrls.helpLinkingWidgets,target:'_blank'},'Read More.')})
cssErrorText(message||t("You do not have access to this organization's documents.")),
cssErrorText(message||t("You do not have access to this organization's documents.")),
cssErrorText(t("You are signed in as {{email}}. You can sign in with a different account, or ask an administrator for access.",{email: dom('b',user.email)})),// TODO: i18next
cssErrorText(t("You are signed in as {{email}}. You can sign in with a different "+
"account, or ask an administrator for access.",{email: dom('b',user.email)})),
]:[
]:[
// This page is not normally shown because a logged out user with no access will get
// This page is not normally shown because a logged out user with no access will get
// redirected to log in. But it may be seen if a user logs out and returns to a cached
// redirected to log in. But it may be seen if a user logs out and returns to a cached