mirror of
https://github.com/gristlabs/grist-core.git
synced 2024-10-27 20:44:07 +00:00
(core) Un-escape names in HomeIntro
Summary: Characters such as & were mistakenly being escaped in the site name during translation. Test Plan: Tested manually. Reviewers: jarek Differential Revision: https://phab.getgrist.com/D3836
This commit is contained in:
parent
edff50238d
commit
3a1fbbc533
@ -64,7 +64,7 @@ function makeViewerTeamSiteIntro(homeModel: HomeModel) {
|
||||
return [
|
||||
css.docListHeader(
|
||||
dom.autoDispose(personalOrg),
|
||||
t("Welcome to {{orgName}}", {orgName: homeModel.app.currentOrgName}),
|
||||
t("Welcome to {{- orgName}}", {orgName: homeModel.app.currentOrgName}),
|
||||
productPill(homeModel.app.currentOrg, {large: true}),
|
||||
testId('welcome-title')
|
||||
),
|
||||
@ -85,7 +85,7 @@ function makeTeamSiteIntro(homeModel: HomeModel) {
|
||||
const sproutsProgram = cssLink({href: commonUrls.sproutsProgram, target: '_blank'}, t("Sprouts Program"));
|
||||
return [
|
||||
css.docListHeader(
|
||||
t("Welcome to {{orgName}}", {orgName: homeModel.app.currentOrgName}),
|
||||
t("Welcome to {{- orgName}}", {orgName: homeModel.app.currentOrgName}),
|
||||
productPill(homeModel.app.currentOrg, {large: true}),
|
||||
testId('welcome-title')
|
||||
),
|
||||
@ -102,7 +102,7 @@ function makeTeamSiteIntro(homeModel: HomeModel) {
|
||||
|
||||
function makePersonalIntro(homeModel: HomeModel, user: FullUser) {
|
||||
return [
|
||||
css.docListHeader(t("Welcome to Grist, {{name}}!", {name: user.name}), testId('welcome-title')),
|
||||
css.docListHeader(t("Welcome to Grist, {{- name}}!", {name: user.name}), testId('welcome-title')),
|
||||
cssIntroLine(t("Get started by creating your first Grist document.")),
|
||||
(shouldHideUiElement('helpCenter') ? null :
|
||||
cssIntroLine(t("Visit our {{link}} to learn more.", { link: helpCenterLink() }),
|
||||
|
Loading…
Reference in New Issue
Block a user