Change translation keys for complex context keys

This commit is contained in:
Louis Delbosc
2022-12-06 17:23:29 +01:00
parent 37dc0cc9fb
commit e0ae321ff5
3 changed files with 21 additions and 16 deletions

View File

@@ -293,7 +293,8 @@ function buildOtherSites(home: HomeModel) {
const siteName = home.app.currentOrgName;
return [
dom('div',
t("You are on the {{siteName}} site. You also have access to the following sites:", { siteName, context: personal ? 'personal' : '' }),
personal ? t("You are on the {{siteName}} site. You also have access to the following sites:", {siteName}) :
t("You are on your personal site. You also have access to the following sites:"),
testId('other-sites-message')
),
css.otherSitesButtons(