(core) Makes GristTooltips translatable

Test Plan: Should no break anything

Reviewers: jarek

Reviewed By: jarek

Differential Revision: https://phab.getgrist.com/D3785
This commit is contained in:
Cyprien P
2023-01-31 17:35:46 +01:00
parent ab2e2ef402
commit ef0a55ced1
4 changed files with 107 additions and 62 deletions

View File

@@ -117,7 +117,7 @@ function makeAnonIntro(homeModel: HomeModel) {
return [
css.docListHeader(t("Welcome to Grist!"), testId('welcome-title')),
cssIntroLine(t("Get started by exploring templates, or creating your first Grist document.")),
cssIntroLine(signUp, ' to save your work. ', // TODO i18n
cssIntroLine(t("{{signUp}} to save your work. ", {signUp}),
(shouldHideUiElement('helpCenter') ? null : t("Visit our {{link}} to learn more.", { link: helpCenterLink() })),
testId('welcome-text')),
makeCreateButtons(homeModel),