Skip to content

Commit

Permalink
Merge pull request #1512 from synonymdev/feat/copy-updates-45
Browse files Browse the repository at this point in the history
feat(ui): Update small copy for consistency
  • Loading branch information
ovitrif authored Jan 22, 2024
2 parents ef77c6d + 5e8f370 commit 4da70eb
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 8 deletions.
10 changes: 7 additions & 3 deletions src/screens/Settings/Backup/Result.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import React, { memo, ReactElement } from 'react';
import { StyleSheet, View } from 'react-native';
import { useTranslation } from 'react-i18next';
import { Trans, useTranslation } from 'react-i18next';

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

<Text01S color="gray1" style={styles.text}>
{t('mnemonic_result_text')}
<Trans
t={t}
i18nKey="mnemonic_result_text"
components={{ highlight: <Text01B color="white" /> }}
/>
</Text01S>

<GlowImage image={imageSrc} imageSize={200} glowColor="green" />
Expand Down
4 changes: 2 additions & 2 deletions src/utils/i18n/locales/en/lightning.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"error_channel_fee": "Fee estimation error",
"spending_money": "Spending\nMoney.",
"spending_balance": "Spending\nBalance.",
"enter_money": "Enter the amount of money you want to be able to spend instantly.",
"enter_money": "Enter the amount of bitcoin you want to be able to spend instantly.",
"enter_amount": "Choose how much bitcoin you want to be able to spend instantly and how much you want to keep in savings.",
"spending": "Spending",
"savings": "Savings",
Expand All @@ -25,7 +25,7 @@
"connect_swipe_pay": "Swipe To Pay & Connect",
"spending_header": "<purple>Spending Money.</purple>",
"receiving_header": "<purple>Receiving Money.</purple>",
"spending_amount_bitcoin": "Choose how much bitcoin you want to have available as your instant spending balance.",
"spending_amount_bitcoin": "Choose how much bitcoin you want to be able to spend instantly.",
"receiving_amount_money": "Choose how much money you want to be able to receive instantly.",
"receiving_amount_bitcoin": "Enter the amount of Bitcoin you want to be able to receive instantly.",
"enter_custom_amount": "Enter Amount",
Expand Down
2 changes: 1 addition & 1 deletion src/utils/i18n/locales/en/security.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"mnemonic_confirm": "Confirm Recovery Phrase",
"mnemonic_confirm_tap": "Tap the 12 words in the correct order.",
"mnemonic_result_header": "Successful",
"mnemonic_result_text": "Make sure you store your recovery phrase in a secure place, as this is the only way to recover your money (!)",
"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 (!)",
"mnemonic_keep_header": "Keep It Secret",
"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.",
"mnemonic_data_header": "Wallet Data",
Expand Down
4 changes: 2 additions & 2 deletions src/utils/i18n/locales/en/wallet.json
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,8 @@
"boost_fee_recomended": "Your transaction may settle faster if you include an additional network fee. Here is a recommendation:",
"boost_recomended_button": "Use Suggested Fee",
"boost_swipe": "Swipe To Boost",
"payment_received": "Payment Received",
"instant_payment_received": "Instant Payment Received",
"payment_received": "Received Bitcoin",
"instant_payment_received": "Received Instant Bitcoin",
"payment_confirming": "Confirming",
"error_create_tx": "Transaction Creation Failed",
"error_broadcast_tx": "Transaction Broadcast Failed",
Expand Down

0 comments on commit 4da70eb

Please sign in to comment.