Skip to content

Commit ba1a760

Browse files
Frontend/i18n: Localize app store badges
1 parent b448254 commit ba1a760

52 files changed

Lines changed: 2854 additions & 66 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

app/web/components/Footer/Footer.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ export default function Footer({ bottomMargin }: { bottomMargin?: string }) {
257257
rel="noopener noreferrer"
258258
>
259259
<img
260-
src="/img/Download_on_the_App_Store_Badge_US-UK_RGB_blk_092917.svg"
260+
src={`/img/app-store-badge/${locale}.svg`}
261261
alt={t("app_store_badge_a11y")}
262262
style={{ height: "26px", width: "auto", display: "block" }}
263263
/>
@@ -276,7 +276,7 @@ export default function Footer({ bottomMargin }: { bottomMargin?: string }) {
276276
}}
277277
>
278278
<img
279-
src="/img/GetItOnGooglePlay_Badge_Web_color_English.svg"
279+
src={`/img/google-play-badge/${locale}.svg`}
280280
alt={t("google_play_badge_a11y")}
281281
style={{
282282
height: "39px",

app/web/features/auth/verification/StrongVerificationPage.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ export default function StrongVerificationInstructions() {
151151
rel="noopener noreferrer"
152152
>
153153
<img
154-
src="/img/Download_on_the_App_Store_Badge_US-UK_RGB_blk_092917.svg"
154+
src={`/img/app-store-badge/${locale}.svg`}
155155
alt={t(
156156
"auth:strong_verification.instructions.download_app_store",
157157
)}
@@ -164,7 +164,7 @@ export default function StrongVerificationInstructions() {
164164
rel="noopener noreferrer"
165165
>
166166
<img
167-
src="/img/GetItOnGooglePlay_Badge_Web_color_English.svg"
167+
src={`/img/google-play-badge/${locale}.svg`}
168168
alt={t(
169169
"auth:strong_verification.instructions.download_google_play",
170170
)}

app/web/features/landing/CouchersIntroduction.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ function AppStoreBadges({ appStoreHeight = 38 }: { appStoreHeight?: number }) {
3131
>
3232
<a href={couchersAppStoreURL} target="_blank" rel="noopener noreferrer">
3333
<img
34-
src="/img/Download_on_the_App_Store_Badge_US-UK_RGB_blk_092917.svg"
34+
src={`/img/app-store-badge/${locale}.svg`}
3535
alt={t("app_store_badge_a11y")}
3636
style={{
3737
height: `${appStoreHeight}px`,
@@ -50,7 +50,7 @@ function AppStoreBadges({ appStoreHeight = 38 }: { appStoreHeight?: number }) {
5050
}}
5151
>
5252
<img
53-
src="/img/GetItOnGooglePlay_Badge_Web_color_English.svg"
53+
src={`/img/google-play-badge/${locale}.svg`}
5454
alt={t("google_play_badge_a11y")}
5555
style={{
5656
height: `${googlePlayHeight}px`,

app/web/public/img/GetItOnGooglePlay_Badge_Web_color_English.svg

Lines changed: 0 additions & 60 deletions
This file was deleted.

0 commit comments

Comments
 (0)