From 156a471db7b04e5ed7984fdf02d932500640060c Mon Sep 17 00:00:00 2001 From: Louis Delbosc Date: Tue, 6 Dec 2022 14:24:54 +0100 Subject: [PATCH] Change translation keys for lib directory --- app/client/lib/ACUserManager.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/client/lib/ACUserManager.ts b/app/client/lib/ACUserManager.ts index 65f5e9e5..66cc095e 100644 --- a/app/client/lib/ACUserManager.ts +++ b/app/client/lib/ACUserManager.ts @@ -109,10 +109,10 @@ export function buildACMemberEmail( cssUserImagePlus.cls('-invalid', (use) => !use(enableAdd), )), cssMemberText( - cssMemberPrimaryPlus(t("InviteNewMember")), + cssMemberPrimaryPlus(t("Invite new member")), cssMemberSecondaryPlus( // dom.text(use => `We'll email an invite to ${use(emailObs)}`) - dom.text(use => t('InviteEmail', {email: use(emailObs)})) // TODO i18next + dom.text(use => t("We'll email an invite to {{email}}", {email: use(emailObs)})) // TODO i18next ) ), testId("um-add-email") @@ -143,7 +143,7 @@ export function buildACMemberEmail( (emailInput = cssEmailInput( emailObs, {onInput: true, isValid}, - {type: "email", placeholder: t("EmailInputPlaceholder")}, + {type: "email", placeholder: t("Enter email address")}, dom.on("input", acOpen), dom.on("focus", acOpen), dom.on("click", acOpen),