Skip to content

Commit 4da70eb

Browse files
authored
Merge pull request #1512 from synonymdev/feat/copy-updates-45
feat(ui): Update small copy for consistency
2 parents ef77c6d + 5e8f370 commit 4da70eb

File tree

4 files changed

+12
-8
lines changed

4 files changed

+12
-8
lines changed

src/screens/Settings/Backup/Result.tsx

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import React, { memo, ReactElement } from 'react';
22
import { StyleSheet, View } from 'react-native';
3-
import { useTranslation } from 'react-i18next';
3+
import { Trans, useTranslation } from 'react-i18next';
44

5-
import { Text01S } from '../../../styles/text';
5+
import { Text01B, Text01S } from '../../../styles/text';
66
import BottomSheetNavigationHeader from '../../../components/BottomSheetNavigationHeader';
77
import SafeAreaInset from '../../../components/SafeAreaInset';
88
import GradientView from '../../../components/GradientView';
@@ -28,7 +28,11 @@ const Result = ({ navigation }: BackupScreenProps<'Result'>): ReactElement => {
2828
<BottomSheetNavigationHeader title={t('mnemonic_result_header')} />
2929

3030
<Text01S color="gray1" style={styles.text}>
31-
{t('mnemonic_result_text')}
31+
<Trans
32+
t={t}
33+
i18nKey="mnemonic_result_text"
34+
components={{ highlight: <Text01B color="white" /> }}
35+
/>
3236
</Text01S>
3337

3438
<GlowImage image={imageSrc} imageSize={200} glowColor="green" />

src/utils/i18n/locales/en/lightning.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"error_channel_fee": "Fee estimation error",
1212
"spending_money": "Spending\nMoney.",
1313
"spending_balance": "Spending\nBalance.",
14-
"enter_money": "Enter the amount of money you want to be able to spend instantly.",
14+
"enter_money": "Enter the amount of bitcoin you want to be able to spend instantly.",
1515
"enter_amount": "Choose how much bitcoin you want to be able to spend instantly and how much you want to keep in savings.",
1616
"spending": "Spending",
1717
"savings": "Savings",
@@ -25,7 +25,7 @@
2525
"connect_swipe_pay": "Swipe To Pay & Connect",
2626
"spending_header": "<purple>Spending Money.</purple>",
2727
"receiving_header": "<purple>Receiving Money.</purple>",
28-
"spending_amount_bitcoin": "Choose how much bitcoin you want to have available as your instant spending balance.",
28+
"spending_amount_bitcoin": "Choose how much bitcoin you want to be able to spend instantly.",
2929
"receiving_amount_money": "Choose how much money you want to be able to receive instantly.",
3030
"receiving_amount_bitcoin": "Enter the amount of Bitcoin you want to be able to receive instantly.",
3131
"enter_custom_amount": "Enter Amount",

src/utils/i18n/locales/en/security.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"mnemonic_confirm": "Confirm Recovery Phrase",
2424
"mnemonic_confirm_tap": "Tap the 12 words in the correct order.",
2525
"mnemonic_result_header": "Successful",
26-
"mnemonic_result_text": "Make sure you store your recovery phrase in a secure place, as this is the only way to recover your money (!)",
26+
"mnemonic_result_text": "Make sure you store your recovery phrase in a <highlight>secure place</highlight>, as this is the <highlight>only way to recover</highlight> your money (!)",
2727
"mnemonic_keep_header": "Keep It Secret",
2828
"mnemonic_keep_text": "Remember, never share your recovery phrase with anyone! If someone has access to your recovery phrase they can steal your money, profile and other data.",
2929
"mnemonic_data_header": "Wallet Data",

src/utils/i18n/locales/en/wallet.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,8 +172,8 @@
172172
"boost_fee_recomended": "Your transaction may settle faster if you include an additional network fee. Here is a recommendation:",
173173
"boost_recomended_button": "Use Suggested Fee",
174174
"boost_swipe": "Swipe To Boost",
175-
"payment_received": "Payment Received",
176-
"instant_payment_received": "Instant Payment Received",
175+
"payment_received": "Received Bitcoin",
176+
"instant_payment_received": "Received Instant Bitcoin",
177177
"payment_confirming": "Confirming",
178178
"error_create_tx": "Transaction Creation Failed",
179179
"error_broadcast_tx": "Transaction Broadcast Failed",

0 commit comments

Comments
 (0)