From 259fb1a2bb0bc8ec3db03bfc1318b7349433e6cd Mon Sep 17 00:00:00 2001 From: kiwansim Date: Wed, 17 Jul 2024 14:39:05 -0400 Subject: [PATCH] [sc-15200] change CTA to get alerts, manually add corresponding translation (#951) --- client/src/components/EmailAlertSignup.tsx | 2 +- client/src/locales/en/messages.po | 8 ++++++-- client/src/locales/es/messages.po | 8 ++++++-- 3 files changed, 13 insertions(+), 5 deletions(-) diff --git a/client/src/components/EmailAlertSignup.tsx b/client/src/components/EmailAlertSignup.tsx index ec58c0bf..7e2a79ff 100644 --- a/client/src/components/EmailAlertSignup.tsx +++ b/client/src/components/EmailAlertSignup.tsx @@ -132,7 +132,7 @@ const BuildingSubscribeWithoutI18n = (props: BuildingSubscribeProps) => { variant="primary" size="small" className="is-full-width" - labelText={i18n._(t`Follow building`)} + labelText={i18n._(t`Get alerts`)} labelIcon="circlePlus" onClick={() => { !isLoggedIn diff --git a/client/src/locales/en/messages.po b/client/src/locales/en/messages.po index e633f6c8..913e67cb 100644 --- a/client/src/locales/en/messages.po +++ b/client/src/locales/en/messages.po @@ -773,8 +773,8 @@ msgstr "Find other buildings your landlord might own in NYC:" #~ msgstr "Find other buildings your landlord might own:" #: src/components/EmailAlertSignup.tsx:91 -msgid "Follow building" -msgstr "Follow building" +#~ msgid "Follow building" +#~ msgstr "Follow building" #: src/components/Login.tsx:143 msgid "Forgot your password?" @@ -800,6 +800,10 @@ msgstr "Get a weekly email alert on complaints, violations, and eviction filings #~ msgid "Get a weekly email update on complaints, violations, and eviction filings for this building." #~ msgstr "Get a weekly email update on complaints, violations, and eviction filings for this building." +#: src/components/EmailAlertSignup.tsx:91 +msgid "Get alerts" +msgstr "Get alerts" + #: src/components/EmailAlertSignup.tsx:50 #: src/components/EmailAlertSignup.tsx:51 #~ msgid "Get email updates for this building" diff --git a/client/src/locales/es/messages.po b/client/src/locales/es/messages.po index 9964c582..4b899552 100644 --- a/client/src/locales/es/messages.po +++ b/client/src/locales/es/messages.po @@ -778,8 +778,8 @@ msgstr "Encuentre otros edificios que su dueño pueda tener en NYC:" #~ msgstr "Find other buildings your landlord might own:" #: src/components/EmailAlertSignup.tsx:91 -msgid "Follow building" -msgstr "Seguir edifico" +#~ msgid "Follow building" +#~ msgstr "Seguir edifico" #: src/components/Login.tsx:143 msgid "Forgot your password?" @@ -805,6 +805,10 @@ msgstr "Reciba por correo electrónico una alerta semanal de las quejas, infracc #~ msgid "Get a weekly email update on complaints, violations, and eviction filings for this building." #~ msgstr "Reciba por correo electrónico una actualización semanal de las quejas, infracciones y expedientes de desalojo de este edificio." +#: src/components/EmailAlertSignup.tsx:91 +msgid "Get alerts" +msgstr "Recibir alertas" + #: src/components/EmailAlertSignup.tsx:50 #: src/components/EmailAlertSignup.tsx:51 #~ msgid "Get email updates for this building"