Skip to content

Commit b448254

Browse files
Frontend/landing: Improve app store badge string keys (#8669)
1 parent 608c71e commit b448254

4 files changed

Lines changed: 8 additions & 8 deletions

File tree

app/web/components/Footer/Footer.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ export default function Footer({ bottomMargin }: { bottomMargin?: string }) {
258258
>
259259
<img
260260
src="/img/Download_on_the_App_Store_Badge_US-UK_RGB_blk_092917.svg"
261-
alt={t("download_on_app_store")}
261+
alt={t("app_store_badge_a11y")}
262262
style={{ height: "26px", width: "auto", display: "block" }}
263263
/>
264264
</a>
@@ -277,7 +277,7 @@ export default function Footer({ bottomMargin }: { bottomMargin?: string }) {
277277
>
278278
<img
279279
src="/img/GetItOnGooglePlay_Badge_Web_color_English.svg"
280-
alt={t("get_it_on_google_play")}
280+
alt={t("google_play_badge_a11y")}
281281
style={{
282282
height: "39px",
283283
width: "auto",

app/web/features/landing/CouchersIntroduction.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ function AppStoreBadges({ appStoreHeight = 38 }: { appStoreHeight?: number }) {
3232
<a href={couchersAppStoreURL} target="_blank" rel="noopener noreferrer">
3333
<img
3434
src="/img/Download_on_the_App_Store_Badge_US-UK_RGB_blk_092917.svg"
35-
alt={t("download_on_app_store")}
35+
alt={t("app_store_badge_a11y")}
3636
style={{
3737
height: `${appStoreHeight}px`,
3838
width: "auto",
@@ -51,7 +51,7 @@ function AppStoreBadges({ appStoreHeight = 38 }: { appStoreHeight?: number }) {
5151
>
5252
<img
5353
src="/img/GetItOnGooglePlay_Badge_Web_color_English.svg"
54-
alt={t("get_it_on_google_play")}
54+
alt={t("google_play_badge_a11y")}
5555
style={{
5656
height: `${googlePlayHeight}px`,
5757
width: "auto",

app/web/resources/locales/de.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -338,6 +338,6 @@
338338
"a11y": "Kopieren",
339339
"copied_tooltip": "In die Zwischenablage kopiert"
340340
},
341-
"download_on_app_store": "Im App Store herunterladen",
342-
"get_it_on_google_play": "Bei Google Play herunterladen"
341+
"app_store_badge_a11y": "Im App Store herunterladen",
342+
"google_play_badge_a11y": "Bei Google Play herunterladen"
343343
}

app/web/resources/locales/en.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
"retract": "Retract",
77
"couchers": "Couchers.org",
88
"learn_more": "Learn more",
9-
"download_on_app_store": "Download on the App Store",
10-
"get_it_on_google_play": "Get it on Google Play",
9+
"app_store_badge_a11y": "Download on the App Store",
10+
"google_play_badge_a11y": "Get it on Google Play",
1111
"legal_name": "Couchers, Inc.",
1212
"login": "Log in",
1313
"sign_up": "Sign up",

0 commit comments

Comments
 (0)