From 37f0b6529cfa0727c143145ed4c4dea93413c65a Mon Sep 17 00:00:00 2001 From: Tangem Date: Mon, 12 Dec 2022 15:40:00 +0300 Subject: [PATCH] Updated on 2026-08-14 --- .../ui/components/SaveWalletScreenContent.kt | 17 +++-------------- .../src/main/res/values-de/strings_final.xml | 3 +++ .../src/main/res/values-fr/strings_final.xml | 3 +++ .../src/main/res/values-it/strings_final.xml | 3 +++ .../src/main/res/values-ru/strings_final.xml | 3 +++ core/res/src/main/res/values/strings_final.xml | 3 +++ 6 files changed, 18 insertions(+), 14 deletions(-) diff --git a/app/src/main/java/com/tangem/tap/features/saveWallet/ui/components/SaveWalletScreenContent.kt b/app/src/main/java/com/tangem/tap/features/saveWallet/ui/components/SaveWalletScreenContent.kt index 558eeff759..40b84a07d4 100644 --- a/app/src/main/java/com/tangem/tap/features/saveWallet/ui/components/SaveWalletScreenContent.kt +++ b/app/src/main/java/com/tangem/tap/features/saveWallet/ui/components/SaveWalletScreenContent.kt @@ -18,8 +18,6 @@ import androidx.compose.ui.Modifier import androidx.compose.ui.graphics.painter.Painter import androidx.compose.ui.res.painterResource import androidx.compose.ui.res.stringResource -import androidx.compose.ui.text.capitalize -import androidx.compose.ui.text.intl.Locale import androidx.compose.ui.text.style.TextAlign import androidx.compose.ui.tooling.preview.Preview import com.tangem.core.ui.components.PrimaryButton @@ -120,10 +118,7 @@ private fun Title( contentDescription = null, ) Text( - text = stringResource( - id = R.string.save_user_wallet_agreement_header, - stringResource(id = R.string.common_biometrics).capitalize(Locale.current), - ), + text = stringResource(id = R.string.save_user_wallet_agreement_header_biometrics), style = TangemTheme.typography.h2, color = TangemTheme.colors.text.primary1, textAlign = TextAlign.Center, @@ -148,10 +143,7 @@ private fun Description( DescriptionItem( iconPainter = painterResource(id = R.drawable.ic_lock_24), title = stringResource(id = R.string.save_user_wallet_agreement_code_title), - description = stringResource( - id = R.string.save_user_wallet_agreement_code_description, - stringResource(id = R.string.common_biometrics).capitalize(Locale.current), - ), + description = stringResource(id = R.string.save_user_wallet_agreement_code_description_biometrics), ) } } @@ -170,10 +162,7 @@ private fun Footer( PrimaryButton( modifier = Modifier.fillMaxWidth(), showProgress = showProgress, - text = stringResource( - id = R.string.save_user_wallet_agreement_allow, - stringResource(id = R.string.common_biometrics).capitalize(Locale.current), - ), + text = stringResource(id = R.string.save_user_wallet_agreement_allow_biometrics), onClick = onSaveWalletClick, ) Text( diff --git a/core/res/src/main/res/values-de/strings_final.xml b/core/res/src/main/res/values-de/strings_final.xml index 5e5e0bc90b..4c4b27e82d 100644 --- a/core/res/src/main/res/values-de/strings_final.xml +++ b/core/res/src/main/res/values-de/strings_final.xml @@ -114,12 +114,15 @@ Karte scannen Save your Wallet Would you like to use %s? + Would you like to use biometrics? Access the app Log into the app and check your balance without scanning the card Access code %s will be requested instead of the access code for interactions with your wallet + Biometrics will be requested instead of the access code for interactions with your wallet Note that making a transaction with your funds will still require your card Allow to use %s + Allow to use biometrics New feature My Wallets Multi-currency diff --git a/core/res/src/main/res/values-fr/strings_final.xml b/core/res/src/main/res/values-fr/strings_final.xml index fdba526339..eb4ebd8094 100644 --- a/core/res/src/main/res/values-fr/strings_final.xml +++ b/core/res/src/main/res/values-fr/strings_final.xml @@ -114,12 +114,15 @@ Scannez la carte Save your Wallet Would you like to use %s? + Would you like to use biometrics? Access the app Log into the app and check your balance without scanning the card Access code %s will be requested instead of the access code for interactions with your wallet + Biometrics will be requested instead of the access code for interactions with your wallet Note that making a transaction with your funds will still require your card Allow to use %s + Allow to use biometrics New feature My Wallets Multi-currency diff --git a/core/res/src/main/res/values-it/strings_final.xml b/core/res/src/main/res/values-it/strings_final.xml index b812e23de8..e7bf78ce69 100644 --- a/core/res/src/main/res/values-it/strings_final.xml +++ b/core/res/src/main/res/values-it/strings_final.xml @@ -114,12 +114,15 @@ Scansiona carta Save your Wallet Would you like to use %s? + Would you like to use biometrics? Access the app Log into the app and check your balance without scanning the card Access code %s will be requested instead of the access code for interactions with your wallet + Biometrics will be requested instead of the access code for interactions with your wallet Note that making a transaction with your funds will still require your card Allow to use %s + Allow to use biometrics New feature My Wallets Multi-currency diff --git a/core/res/src/main/res/values-ru/strings_final.xml b/core/res/src/main/res/values-ru/strings_final.xml index d8a604f287..24a2b4e134 100644 --- a/core/res/src/main/res/values-ru/strings_final.xml +++ b/core/res/src/main/res/values-ru/strings_final.xml @@ -114,12 +114,15 @@ Сканировать карту Сохраните ваш кошелек Вы хотите использовать %s? + Вы хотите использовать биометрию? Доступ в приложение Войдите в приложение и следите за своим балансом без сканирования карты Код доступа Для операций с вашим кошельком будет запрашиваться %s вместо кода доступа карты + Для операций с вашим кошельком будет запрашиваться биометрия вместо кода доступа карты Обратите внимание, что для совершения транзакции с вашими средствами по-прежнему потребуется ваша карта Использовать %s + Использовать биометрию Новый функционал Мои кошельки Мультивалютные diff --git a/core/res/src/main/res/values/strings_final.xml b/core/res/src/main/res/values/strings_final.xml index c7b9866169..4c90f57a48 100644 --- a/core/res/src/main/res/values/strings_final.xml +++ b/core/res/src/main/res/values/strings_final.xml @@ -114,12 +114,15 @@ Scan card Save your wallet Would you like to use %s? + Would you like to use biometrics? Access the app Log into the app and check your balance without scanning the card Access code %s will be requested instead of the access code for interactions with your wallet + Biometrics will be requested instead of the access code for interactions with your wallet Note that making a transaction with your funds will still require your card Allow to use %s + Allow to use biometrics New feature My Wallets Multi-currency