From 554f5dbe7a8e32b02dd94af3c2e6c0f3448adc8e Mon Sep 17 00:00:00 2001 From: trevor-signal <131492920+trevor-signal@users.noreply.github.com> Date: Wed, 24 Jul 2024 16:18:32 -0400 Subject: [PATCH] Update "link new device" mobile client button text when linking --- _locales/en/messages.json | 6 +++--- .../InstallScreenQrCodeNotScannedStep.scss | 19 ------------------- .../InstallScreenQrCodeNotScannedStep.tsx | 6 ------ 3 files changed, 3 insertions(+), 28 deletions(-) diff --git a/_locales/en/messages.json b/_locales/en/messages.json index 74f2397682..128c94bac4 100644 --- a/_locales/en/messages.json +++ b/_locales/en/messages.json @@ -1483,8 +1483,8 @@ "description": "Used in the guidance to help people find the 'link new device' area of their Signal mobile app" }, "icu:linkNewDevice": { - "messageformat": "Link New Device", - "description": "The menu option shown in Signal iOS to add a new linked device" + "messageformat": "Link a New Device", + "description": "The menu option shown in Signal mobile clients to add a new linked device" }, "icu:Install__learn-more": { "messageformat": "Learn more", @@ -1507,7 +1507,7 @@ "description": "Part of the 2nd instruction on the device link screen" }, "icu:Install__instructions__3": { - "messageformat": "Tap {plusButton} (Android) or {linkNewDevice} (iPhone)", + "messageformat": "Tap {linkNewDevice}", "description": "Instructions on the device link screen" }, "icu:Install__qr-failed-load": { diff --git a/stylesheets/components/InstallScreenQrCodeNotScannedStep.scss b/stylesheets/components/InstallScreenQrCodeNotScannedStep.scss index 14e84c4168..c4da94ee2f 100644 --- a/stylesheets/components/InstallScreenQrCodeNotScannedStep.scss +++ b/stylesheets/components/InstallScreenQrCodeNotScannedStep.scss @@ -145,25 +145,6 @@ // We want the right link color in dark mode. This is a no-op in light mode. color: $color-ultramarine; } - - &__android-plus { - background: $color-gray-25; - border-radius: 100%; - display: inline-block; - padding: 5px; - vertical-align: middle; - - &::before { - @include color-svg( - '../images/icons/v3/plus/plus-compact.svg', - $color-white - ); - content: ''; - display: block; - height: 12px; - width: 12px; - } - } } @keyframes module-InstallScreenQrCodeNotScannedStep__slide-in { diff --git a/ts/components/installScreen/InstallScreenQrCodeNotScannedStep.tsx b/ts/components/installScreen/InstallScreenQrCodeNotScannedStep.tsx index 7aeb3f5781..ec412f74ad 100644 --- a/ts/components/installScreen/InstallScreenQrCodeNotScannedStep.tsx +++ b/ts/components/installScreen/InstallScreenQrCodeNotScannedStep.tsx @@ -102,12 +102,6 @@ export function InstallScreenQrCodeNotScannedStep({ i18n={i18n} id="icu:Install__instructions__3" components={{ - plusButton: ( -
- ), linkNewDevice: {i18n('icu:linkNewDevice')}, }} />