Update "link new device" mobile client button text when linking

This commit is contained in:
trevor-signal 2024-07-24 16:18:32 -04:00 committed by GitHub
parent 3555ccc629
commit 554f5dbe7a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 3 additions and 28 deletions

View file

@ -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": {

View file

@ -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 {

View file

@ -102,12 +102,6 @@ export function InstallScreenQrCodeNotScannedStep({
i18n={i18n}
id="icu:Install__instructions__3"
components={{
plusButton: (
<div
className="module-InstallScreenQrCodeNotScannedStep__android-plus"
aria-label="+"
/>
),
linkNewDevice: <strong>{i18n('icu:linkNewDevice')}</strong>,
}}
/>