add translations

pull/903/head
CamilleLegeron 3 months ago
parent b66e695eee
commit 6f1932c405

@ -74,7 +74,7 @@ class NewSiteModalContent extends Disposable {
}
export function buildUpgradeModal(owner: Disposable, planName: string): void {
throw new UserError(t(`There is no plan logical in this instance of Grist`));
throw new UserError(t(`Billing is not supported in grist-core`));
}
export interface UpgradeButton {
@ -96,9 +96,9 @@ export function buildConfirm({
}) {
return cssConfirmWrapper(
cssSparks(),
hspace('22px'),
hspace('1.5em'),
cssHeaderLine(t('Team site created'), testId("confirmation")),
hspace('40px'),
hspace('2em'),
bigPrimaryButtonLink(
urlState().setLinkUrl({org: domain || undefined}), t('Go to your site'), testId("confirmation-link")
)
@ -133,7 +133,7 @@ function buildTeamPage({
return cssWide(
cssHeaderLine(t("Work as a Team")),
cssSubHeaderLine(t("Choose a name and url for your team site")),
hspace('24px'),
hspace('1.5em'),
cssColumns(
cssSetup(
cssLabel(t('Team name')),
@ -262,7 +262,6 @@ const cssLabel = styled('label', `
font-weight: ${vars.headerControlTextWeight};
font-size: ${vars.mediumFontSize};
color: ${theme.text};
line-height: 38px;
line-height: 1.5em;
margin: 0px;
margin-bottom: 0.3em;

@ -173,8 +173,8 @@ export class SupportGristNudge extends Disposable {
cssCenterAlignedHeader(t('Opted In')),
cssParagraph(
t(
'Thank you! Your trust and support is greatly appreciated. ' +
'Opt out any time from the {{link}} in the user menu.',
'Thank you! Your trust and support is greatly appreciated.\
Opt out any time from the {{link}} in the user menu.',
{link: supportGristLink()},
),
),

@ -1278,7 +1278,8 @@
"Opt in to Telemetry": "Opt in to Telemetry",
"Opted In": "Opted In",
"Support Grist": "Support Grist",
"Support Grist page": "Support Grist page"
"Support Grist page": "Support Grist page",
"Thank you! Your trust and support is greatly appreciated.Opt out any time from the {{link}} in the user menu.": "Thank you! Your trust and support is greatly appreciated.Opt out any time from the {{link}} in the user menu."
},
"SupportGristPage": {
"GitHub": "GitHub",
@ -1433,7 +1434,7 @@
"Team name is required": "Team name is required",
"Team site created": "Team site created",
"Team url": "Team url",
"There is no plan logical in this instance of Grist": "There is no plan logical in this instance of Grist",
"Work as a Team": "Work as a Team"
"Work as a Team": "Work as a Team",
"Billing is not supported in grist-core": "Billing is not supported in grist-core"
}
}

Loading…
Cancel
Save