Updated on 2026-08-14

This commit is contained in:
Tangem 2022-12-12 15:57:12 +03:00
commit 332ec5ea0d
6 changed files with 22 additions and 18 deletions

View file

@ -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(

View file

@ -114,12 +114,15 @@
<string name="welcome_unlock_card">Karte scannen</string>
<string name="onboarding_navbar_save_wallet">Save your Wallet</string>
<string name="save_user_wallet_agreement_header">Would you like to use %s?</string>
<string name="save_user_wallet_agreement_header_biometrics">Would you like to use biometrics?</string>
<string name="save_user_wallet_agreement_access_title">Access the app</string>
<string name="save_user_wallet_agreement_access_description">Log into the app and check your balance without scanning the card</string>
<string name="save_user_wallet_agreement_code_title">Access code</string>
<string name="save_user_wallet_agreement_code_description">%s will be requested instead of the access code for interactions with your wallet</string>
<string name="save_user_wallet_agreement_code_description_biometrics">Biometrics will be requested instead of the access code for interactions with your wallet</string>
<string name="save_user_wallet_agreement_notice">Note that making a transaction with your funds will still require your card</string>
<string name="save_user_wallet_agreement_allow">Allow to use %s</string>
<string name="save_user_wallet_agreement_allow_biometrics">Allow to use biometrics</string>
<string name="save_user_wallet_agreement_new_feature">New feature</string>
<string name="user_wallet_list_title">My Wallets</string>
<string name="user_wallet_list_multi_header">Multi-currency</string>
@ -218,7 +221,7 @@
<string name="common_delete">Entfernen</string>
<string name="details_row_privacy_policy">Privacy policy</string>
<string name="save_user_wallet_agreement_enroll_biometrics_title">Enable biometric authorization</string>
<string name="save_user_wallet_agreement_enroll_biometrics_description">It looks like you have biometric authorization disabled, it is necessary to save wallets</string>
<string name="save_user_wallet_agreement_enroll_biometrics_description">It looks like you have biometric authentication disabled, it is necessary to save wallets</string>
<string name="common_enable">Enable</string>
<string name="save_user_wallet_agreement_description">Save your Wallet feature allows you to use your wallet with biometric auth without tapping your card to the phone to gain access.</string>
<string name="user_wallet_list_editing_count">%d selected</string>

View file

@ -114,12 +114,15 @@
<string name="welcome_unlock_card">Scannez la carte</string>
<string name="onboarding_navbar_save_wallet">Save your Wallet</string>
<string name="save_user_wallet_agreement_header">Would you like to use %s?</string>
<string name="save_user_wallet_agreement_header_biometrics">Would you like to use biometrics?</string>
<string name="save_user_wallet_agreement_access_title">Access the app</string>
<string name="save_user_wallet_agreement_access_description">Log into the app and check your balance without scanning the card</string>
<string name="save_user_wallet_agreement_code_title">Access code</string>
<string name="save_user_wallet_agreement_code_description">%s will be requested instead of the access code for interactions with your wallet</string>
<string name="save_user_wallet_agreement_code_description_biometrics">Biometrics will be requested instead of the access code for interactions with your wallet</string>
<string name="save_user_wallet_agreement_notice">Note that making a transaction with your funds will still require your card</string>
<string name="save_user_wallet_agreement_allow">Allow to use %s</string>
<string name="save_user_wallet_agreement_allow_biometrics">Allow to use biometrics</string>
<string name="save_user_wallet_agreement_new_feature">New feature</string>
<string name="user_wallet_list_title">My Wallets</string>
<string name="user_wallet_list_multi_header">Multi-currency</string>
@ -218,7 +221,7 @@
<string name="common_delete">Supprimer</string>
<string name="details_row_privacy_policy">Privacy policy</string>
<string name="save_user_wallet_agreement_enroll_biometrics_title">Enable biometric authorization</string>
<string name="save_user_wallet_agreement_enroll_biometrics_description">It looks like you have biometric authorization disabled, it is necessary to save wallets</string>
<string name="save_user_wallet_agreement_enroll_biometrics_description">It looks like you have biometric authentication disabled, it is necessary to save wallets</string>
<string name="common_enable">Enable</string>
<string name="save_user_wallet_agreement_description">Save your Wallet feature allows you to use your wallet with biometric auth without tapping your card to the phone to gain access.</string>
<string name="user_wallet_list_editing_count">%d selected</string>

View file

@ -114,12 +114,15 @@
<string name="welcome_unlock_card">Scansiona carta</string>
<string name="onboarding_navbar_save_wallet">Save your Wallet</string>
<string name="save_user_wallet_agreement_header">Would you like to use %s?</string>
<string name="save_user_wallet_agreement_header_biometrics">Would you like to use biometrics?</string>
<string name="save_user_wallet_agreement_access_title">Access the app</string>
<string name="save_user_wallet_agreement_access_description">Log into the app and check your balance without scanning the card</string>
<string name="save_user_wallet_agreement_code_title">Access code</string>
<string name="save_user_wallet_agreement_code_description">%s will be requested instead of the access code for interactions with your wallet</string>
<string name="save_user_wallet_agreement_code_description_biometrics">Biometrics will be requested instead of the access code for interactions with your wallet</string>
<string name="save_user_wallet_agreement_notice">Note that making a transaction with your funds will still require your card</string>
<string name="save_user_wallet_agreement_allow">Allow to use %s</string>
<string name="save_user_wallet_agreement_allow_biometrics">Allow to use biometrics</string>
<string name="save_user_wallet_agreement_new_feature">New feature</string>
<string name="user_wallet_list_title">My Wallets</string>
<string name="user_wallet_list_multi_header">Multi-currency</string>
@ -218,7 +221,7 @@
<string name="common_delete">Rimuovere</string>
<string name="details_row_privacy_policy">Privacy policy</string>
<string name="save_user_wallet_agreement_enroll_biometrics_title">Enable biometric authorization</string>
<string name="save_user_wallet_agreement_enroll_biometrics_description">It looks like you have biometric authorization disabled, it is necessary to save wallets</string>
<string name="save_user_wallet_agreement_enroll_biometrics_description">It looks like you have biometric authentication disabled, it is necessary to save wallets</string>
<string name="common_enable">Enable</string>
<string name="save_user_wallet_agreement_description">Save your Wallet feature allows you to use your wallet with biometric auth without tapping your card to the phone to gain access.</string>
<string name="user_wallet_list_editing_count">%d selected</string>

View file

@ -114,12 +114,15 @@
<string name="welcome_unlock_card">Сканировать карту</string>
<string name="onboarding_navbar_save_wallet">Сохраните ваш кошелек</string>
<string name="save_user_wallet_agreement_header">Вы хотите использовать %s?</string>
<string name="save_user_wallet_agreement_header_biometrics">Вы хотите использовать биометрию?</string>
<string name="save_user_wallet_agreement_access_title">Доступ в приложение</string>
<string name="save_user_wallet_agreement_access_description">Войдите в приложение и следите за своим балансом без сканирования карты</string>
<string name="save_user_wallet_agreement_code_title">Код доступа</string>
<string name="save_user_wallet_agreement_code_description">Для операций с вашим кошельком будет запрашиваться %s вместо кода доступа карты</string>
<string name="save_user_wallet_agreement_code_description_biometrics">Для операций с вашим кошельком будет запрашиваться биометрия вместо кода доступа карты</string>
<string name="save_user_wallet_agreement_notice">Обратите внимание, что для совершения транзакции с вашими средствами по-прежнему потребуется ваша карта</string>
<string name="save_user_wallet_agreement_allow">Использовать %s</string>
<string name="save_user_wallet_agreement_allow_biometrics">Использовать биометрию</string>
<string name="save_user_wallet_agreement_new_feature">Новый функционал</string>
<string name="user_wallet_list_title">Мои кошельки</string>
<string name="user_wallet_list_multi_header">Мультивалютные</string>

View file

@ -114,12 +114,15 @@
<string name="welcome_unlock_card">Scan card</string>
<string name="onboarding_navbar_save_wallet">Save your wallet</string>
<string name="save_user_wallet_agreement_header">Would you like to use %s?</string>
<string name="save_user_wallet_agreement_header_biometrics">Would you like to use biometrics?</string>
<string name="save_user_wallet_agreement_access_title">Access the app</string>
<string name="save_user_wallet_agreement_access_description">Log into the app and check your balance without scanning the card</string>
<string name="save_user_wallet_agreement_code_title">Access code</string>
<string name="save_user_wallet_agreement_code_description">%s will be requested instead of the access code for interactions with your wallet</string>
<string name="save_user_wallet_agreement_code_description_biometrics">Biometrics will be requested instead of the access code for interactions with your wallet</string>
<string name="save_user_wallet_agreement_notice">Note that making a transaction with your funds will still require your card</string>
<string name="save_user_wallet_agreement_allow">Allow to use %s</string>
<string name="save_user_wallet_agreement_allow_biometrics">Allow to use biometrics</string>
<string name="save_user_wallet_agreement_new_feature">New feature</string>
<string name="user_wallet_list_title">My Wallets</string>
<string name="user_wallet_list_multi_header">Multi-currency</string>
@ -218,7 +221,7 @@
<string name="common_delete">Delete</string>
<string name="details_row_privacy_policy">Privacy policy</string>
<string name="save_user_wallet_agreement_enroll_biometrics_title">Enable biometric authorization</string>
<string name="save_user_wallet_agreement_enroll_biometrics_description">It looks like you have biometric authorization disabled, it is necessary to save wallets</string>
<string name="save_user_wallet_agreement_enroll_biometrics_description">It looks like you have biometric authentication disabled, it is necessary to save wallets</string>
<string name="common_enable">Enable</string>
<string name="save_user_wallet_agreement_description">Save your Wallet feature allows you to use your wallet with biometric auth without tapping your card to the phone to gain access.</string>
<string name="user_wallet_list_editing_count">%d selected</string>