REF: Localization for QR

This commit is contained in:
Marcos Rodriguez Vélez 2021-08-24 16:19:15 -04:00
parent b0dd683b10
commit e94594d8bc
2 changed files with 3 additions and 2 deletions

View File

@ -181,6 +181,7 @@
"details_adv_full": "Use Full Balance", "details_adv_full": "Use Full Balance",
"details_adv_full_sure": "Are you sure you want to use your wallets full balance for this transaction?", "details_adv_full_sure": "Are you sure you want to use your wallets full balance for this transaction?",
"details_adv_import": "Import Transaction", "details_adv_import": "Import Transaction",
"details_adv_import_qr": "Import Transaction (QR)",
"details_amount_field_is_not_valid": "The amount is not valid.", "details_amount_field_is_not_valid": "The amount is not valid.",
"details_amount_field_is_less_than_minimum_amount_sat": "The specified amount is too small. Please enter an amount greater than 500 sats.", "details_amount_field_is_less_than_minimum_amount_sat": "The specified amount is too small. Please enter an amount greater than 500 sats.",
"details_create": "Create Invoice", "details_create": "Create Invoice",

View File

@ -835,7 +835,7 @@ const SendDetails = () => {
}, },
{ {
id: SendDetails.actionKeys.ImportTransactionQR, id: SendDetails.actionKeys.ImportTransactionQR,
text: loc.send.details_adv_import + ' (QR)', text: loc.send.details_adv_import_qr,
icon: SendDetails.actionIcons.ImportTransactionQR, icon: SendDetails.actionIcons.ImportTransactionQR,
}, },
); );
@ -1144,7 +1144,7 @@ const SendDetails = () => {
{wallet.type === WatchOnlyWallet.type && wallet.isHd() && ( {wallet.type === WatchOnlyWallet.type && wallet.isHd() && (
<BlueListItem <BlueListItem
testID="ImportQrTransactionButton" testID="ImportQrTransactionButton"
title={loc.send.details_adv_import + ' (QR)'} title={loc.send.details_adv_import_qr}
hideChevron hideChevron
component={TouchableOpacity} component={TouchableOpacity}
onPress={importQrTransaction} onPress={importQrTransaction}