Skip to content

Commit 12cf037

Browse files
committed
feat(localizations): add web3SolanaWalletsSection to localization files for title and subtitle
Signed-off-by: Kenton Duprey <[email protected]>
1 parent fbfa14c commit 12cf037

Some content is hidden

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

52 files changed

+256
-56
lines changed

packages/clerk-js/src/ui/components/UserProfile/Web3SelectWalletScreen.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ export const Web3SelectWalletScreen = ({ onConnect }: Web3SelectWalletProps) =>
3838

3939
return (
4040
<FormContainer
41-
headerTitle={localizationKeys('userProfile.start.web3WalletsSection.web3SolanaWalletsSection.title')}
42-
headerSubtitle={localizationKeys('userProfile.start.web3WalletsSection.web3SolanaWalletsSection.subtitle')}
41+
headerTitle={localizationKeys('userProfile.start.web3WalletsSection.web3SelectSolanaWalletScreen.title')}
42+
headerSubtitle={localizationKeys('userProfile.start.web3WalletsSection.web3SelectSolanaWalletScreen.subtitle')}
4343
>
4444
<Form.Root>
4545
<Suspense

packages/clerk-js/src/ui/elements/Web3SolanaWalletButtons.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ const Web3SolanaWalletButtonsInner = ({ web3AuthCallback }: Web3WalletButtonsPro
7575
<Card.Alert>
7676
<LinkRenderer
7777
text={t(
78-
localizationKeys('web3WalletButtons.noneAvailable', {
78+
localizationKeys('web3SolanaWalletButtons.noneAvailable', {
7979
solanaWalletsLink: 'https://solana.com/solana-wallets',
8080
}),
8181
)}
@@ -127,7 +127,7 @@ const Web3SolanaWalletButtonsInner = ({ web3AuthCallback }: Web3WalletButtonsPro
127127
{row.map(w => {
128128
const shouldShowPreText = installedWallets.length === SOCIAL_BUTTON_PRE_TEXT_THRESHOLD;
129129
const label = shouldShowPreText
130-
? localizationKeys('web3WalletButtons.continue', { walletName: w.name })
130+
? localizationKeys('web3SolanaWalletButtons.continue', { walletName: w.name })
131131
: w.name;
132132

133133
const imageOrInitial = w.icon ? (
@@ -136,7 +136,7 @@ const Web3SolanaWalletButtonsInner = ({ web3AuthCallback }: Web3WalletButtonsPro
136136
isDisabled={card.isLoading}
137137
isLoading={card.loadingMetadata === w.name}
138138
src={w.icon}
139-
alt={t(localizationKeys('web3WalletButtons.connect', { walletName: w.name }))}
139+
alt={t(localizationKeys('web3SolanaWalletButtons.connect', { walletName: w.name }))}
140140
sx={theme => ({ width: theme.sizes.$4, height: 'auto', maxWidth: '100%' })}
141141
/>
142142
) : (

packages/localizations/src/ar-SA.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1311,6 +1311,10 @@ export const arSA: LocalizationResource = {
13111311
detailsAction__nonPrimary: undefined,
13121312
primaryButton: 'محافظ Web3',
13131313
title: 'محافظ Web3',
1314+
web3SelectSolanaWalletScreen: {
1315+
subtitle: undefined,
1316+
title: undefined,
1317+
},
13141318
},
13151319
},
13161320
usernamePage: {
@@ -1346,7 +1350,7 @@ export const arSA: LocalizationResource = {
13461350
title: undefined,
13471351
},
13481352
},
1349-
web3WalletButtons: {
1353+
web3SolanaWalletButtons: {
13501354
connect: undefined,
13511355
continue: undefined,
13521356
noneAvailable: undefined,

packages/localizations/src/be-BY.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1329,6 +1329,10 @@ export const beBY: LocalizationResource = {
13291329
detailsAction__nonPrimary: undefined,
13301330
primaryButton: 'Web3 кашалькі',
13311331
title: 'Web3 кашалькі',
1332+
web3SelectSolanaWalletScreen: {
1333+
subtitle: undefined,
1334+
title: undefined,
1335+
},
13321336
},
13331337
},
13341338
usernamePage: {
@@ -1364,7 +1368,7 @@ export const beBY: LocalizationResource = {
13641368
title: 'Вы ў чакальным спісе',
13651369
},
13661370
},
1367-
web3WalletButtons: {
1371+
web3SolanaWalletButtons: {
13681372
connect: undefined,
13691373
continue: undefined,
13701374
noneAvailable: undefined,

packages/localizations/src/bg-BG.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1320,6 +1320,10 @@ export const bgBG: LocalizationResource = {
13201320
detailsAction__nonPrimary: undefined,
13211321
primaryButton: 'Web3 портфейли',
13221322
title: 'Web3 портфейли',
1323+
web3SelectSolanaWalletScreen: {
1324+
subtitle: undefined,
1325+
title: undefined,
1326+
},
13231327
},
13241328
},
13251329
usernamePage: {
@@ -1355,7 +1359,7 @@ export const bgBG: LocalizationResource = {
13551359
title: 'Waitlist successful',
13561360
},
13571361
},
1358-
web3WalletButtons: {
1362+
web3SolanaWalletButtons: {
13591363
connect: undefined,
13601364
continue: undefined,
13611365
noneAvailable: undefined,

packages/localizations/src/bn-IN.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1330,6 +1330,10 @@ export const bnIN: LocalizationResource = {
13301330
detailsAction__nonPrimary: 'প্রাথমিক হিসাবে সেট করুন',
13311331
primaryButton: 'ওয়ালেট সংযুক্ত করুন',
13321332
title: 'Web3 ওয়ালেট',
1333+
web3SelectSolanaWalletScreen: {
1334+
subtitle: undefined,
1335+
title: undefined,
1336+
},
13331337
},
13341338
},
13351339
usernamePage: {
@@ -1365,7 +1369,7 @@ export const bnIN: LocalizationResource = {
13651369
title: 'ওয়েটলিস্টে যোগ দেওয়ার জন্য ধন্যবাদ!',
13661370
},
13671371
},
1368-
web3WalletButtons: {
1372+
web3SolanaWalletButtons: {
13691373
connect: undefined,
13701374
continue: undefined,
13711375
noneAvailable: undefined,

packages/localizations/src/ca-ES.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1326,6 +1326,10 @@ export const caES: LocalizationResource = {
13261326
detailsAction__nonPrimary: undefined,
13271327
primaryButton: 'Carteres Web3',
13281328
title: 'Carteres Web3',
1329+
web3SelectSolanaWalletScreen: {
1330+
subtitle: undefined,
1331+
title: undefined,
1332+
},
13291333
},
13301334
},
13311335
usernamePage: {
@@ -1361,7 +1365,7 @@ export const caES: LocalizationResource = {
13611365
title: undefined,
13621366
},
13631367
},
1364-
web3WalletButtons: {
1368+
web3SolanaWalletButtons: {
13651369
connect: undefined,
13661370
continue: undefined,
13671371
noneAvailable: undefined,

packages/localizations/src/cs-CZ.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1333,6 +1333,10 @@ export const csCZ: LocalizationResource = {
13331333
detailsAction__nonPrimary: 'Nastavit jako primární',
13341334
primaryButton: 'Připojit peněženku',
13351335
title: 'Web3 peněženky',
1336+
web3SelectSolanaWalletScreen: {
1337+
subtitle: undefined,
1338+
title: undefined,
1339+
},
13361340
},
13371341
},
13381342
usernamePage: {
@@ -1368,7 +1372,7 @@ export const csCZ: LocalizationResource = {
13681372
title: 'Děkujeme za připojení k čekací listině!',
13691373
},
13701374
},
1371-
web3WalletButtons: {
1375+
web3SolanaWalletButtons: {
13721376
connect: undefined,
13731377
continue: undefined,
13741378
noneAvailable: undefined,

packages/localizations/src/da-DK.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1317,6 +1317,10 @@ export const daDK: LocalizationResource = {
13171317
detailsAction__nonPrimary: undefined,
13181318
primaryButton: 'Tilføj Web3 tegnebøger',
13191319
title: 'Web3 tegnebøger',
1320+
web3SelectSolanaWalletScreen: {
1321+
subtitle: undefined,
1322+
title: undefined,
1323+
},
13201324
},
13211325
},
13221326
usernamePage: {
@@ -1352,7 +1356,7 @@ export const daDK: LocalizationResource = {
13521356
title: undefined,
13531357
},
13541358
},
1355-
web3WalletButtons: {
1359+
web3SolanaWalletButtons: {
13561360
connect: undefined,
13571361
continue: undefined,
13581362
noneAvailable: undefined,

packages/localizations/src/de-DE.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1353,6 +1353,10 @@ export const deDE: LocalizationResource = {
13531353
detailsAction__nonPrimary: 'Als primär festlegen',
13541354
primaryButton: 'Web3-Wallets',
13551355
title: 'Web3-Wallets',
1356+
web3SelectSolanaWalletScreen: {
1357+
subtitle: undefined,
1358+
title: undefined,
1359+
},
13561360
},
13571361
},
13581362
usernamePage: {
@@ -1389,7 +1393,7 @@ export const deDE: LocalizationResource = {
13891393
title: 'Erfolgreich auf die Warteliste gesetzt',
13901394
},
13911395
},
1392-
web3WalletButtons: {
1396+
web3SolanaWalletButtons: {
13931397
connect: undefined,
13941398
continue: undefined,
13951399
noneAvailable: undefined,

0 commit comments

Comments
 (0)