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}):
isDenied?t('Sorry, access to this document has been denied. [{{error}}]',{error: err.message}):
t("Document owners can attempt to recover the document. [{{error}}]",{error: err.message}),
@ -113,7 +113,9 @@ export class AccountPage extends Disposable {
),
css.subHeader(t("Two-factor authentication")),
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."),
@ -83,10 +83,9 @@ class DuplicateTableModal extends Disposable {
),
cssWarning(
cssWarningIcon('Warning'),
dom('div',
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.')})
),//TODO: i18next
dom('div',t("Instead of duplicating tables, it's usually better to segment data using linked views. {{link}}",
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
// redirected to log in. But it may be seen if a user logs out and returns to a cached