From 07da9ef243954ddf1e7ca62749a89bb658118e48 Mon Sep 17 00:00:00 2001 From: Ahmad Ansori Palembani Date: Sat, 28 Oct 2023 03:26:33 +0000 Subject: [PATCH] chore(l10n): Migrated login --- src/locales/en-US/app.ftl | 1 + src/soapbox/features/ui/components/cta-banner.tsx | 9 ++++++--- .../ui/components/modals/unauthorized-modal.tsx | 13 +++++++++++-- src/soapbox/features/ui/components/navbar.tsx | 9 ++++++--- src/soapbox/locales/en.json | 1 - 5 files changed, 24 insertions(+), 9 deletions(-) diff --git a/src/locales/en-US/app.ftl b/src/locales/en-US/app.ftl index 5c5e92a55..c4c6b63f7 100644 --- a/src/locales/en-US/app.ftl +++ b/src/locales/en-US/app.ftl @@ -67,6 +67,7 @@ about-Page--available = Available in: # Components that related to Account such as profile, hover card. -edit-profile = Edit profile +account-Action--login = Sign in account-Badge--admin = Admin account-Badge--bot = Bot account-Badge--moderator = Moderator diff --git a/src/soapbox/features/ui/components/cta-banner.tsx b/src/soapbox/features/ui/components/cta-banner.tsx index cecd4fbbd..f27733546 100644 --- a/src/soapbox/features/ui/components/cta-banner.tsx +++ b/src/soapbox/features/ui/components/cta-banner.tsx @@ -1,3 +1,4 @@ +import { Localized } from '@fluent/react'; import React from 'react'; import { FormattedMessage } from 'react-intl'; @@ -27,9 +28,11 @@ const CtaBanner = () => { - + + + + + + {isOpen && (