From d1da8c027a964233dfc7e1643b31c6e21a3907c2 Mon Sep 17 00:00:00 2001 From: Tangem Date: Thu, 26 Oct 2023 11:41:37 +0400 Subject: [PATCH] Updated on 2026-08-14 --- core/res/src/main/res/values-ru/strings.xml | 18 ++++++++++++++++++ core/res/src/main/res/values/strings.xml | 7 +++---- .../state/DerivationNotificationState.kt | 12 +++++------- 3 files changed, 26 insertions(+), 11 deletions(-) diff --git a/core/res/src/main/res/values-ru/strings.xml b/core/res/src/main/res/values-ru/strings.xml index 3345fb4f82..01de6ab65d 100644 --- a/core/res/src/main/res/values-ru/strings.xml +++ b/core/res/src/main/res/values-ru/strings.xml @@ -206,6 +206,24 @@ Токены Добавить Изменить + Основная сеть + Не основной или основной блокчейн, на котором размещен токен + Не основные сети + Сети + Выберите сети + Кошелек + Не удалось найти этот токен, вы можете добавить его вручную. + + %1$d из %2$d кошелька + %1$d из %2$d кошельков + %1$d из %2$d кошельков + %1$d из %2$d кошельков + + например Bitcoin + Рыночная капитализация + Выбранный токен не доступен в кошельке на данный момент. Но не переживайте, вы можете выразить свой интерес проголосовав за его добавление. + Голосовать + Выберите кошелек Вам необходимо установить единый код доступа для защиты всех ваших карт Защита Позже вы сможете установить индивидуальный код доступа для каждой карты diff --git a/core/res/src/main/res/values/strings.xml b/core/res/src/main/res/values/strings.xml index 456401a4a4..4e05bc5ea2 100644 --- a/core/res/src/main/res/values/strings.xml +++ b/core/res/src/main/res/values/strings.xml @@ -222,10 +222,9 @@ Choose networks Wallet Couldn’t find this token, you can add it manually - %d of %#@total_wallets@ - - %d wallet - %d wallets + + %1$d of %2$d wallet + %1$d of %2$d wallets e.g. BTC I trust, hodl I must Coin market cap diff --git a/features/manage-tokens/impl/src/main/java/com/tangem/managetokens/presentation/managetokens/state/DerivationNotificationState.kt b/features/manage-tokens/impl/src/main/java/com/tangem/managetokens/presentation/managetokens/state/DerivationNotificationState.kt index addb35fc17..8856ab58c5 100644 --- a/features/manage-tokens/impl/src/main/java/com/tangem/managetokens/presentation/managetokens/state/DerivationNotificationState.kt +++ b/features/manage-tokens/impl/src/main/java/com/tangem/managetokens/presentation/managetokens/state/DerivationNotificationState.kt @@ -23,13 +23,11 @@ data class DerivationNotificationState( text = resourceReference(id = R.string.common_generate_addresses), iconResId = R.drawable.ic_tangem_24, onClick = onGenerateClick, - // TODO: enable when we find how to use this type of strings with plurals on Localise - // Task: [REDACTED_JIRA] - // additionalText = pluralReference( - // id = R.plurals.manage_tokens_number_of_wallets, - // count = totalNeeded, - // formatArgs = wrappedList(missingAddressesCount, totalNeeded) - // ) + additionalText = pluralReference( + id = R.plurals.manage_tokens_number_of_wallets_android, + count = totalNeeded, + formatArgs = wrappedList(missingAddressesCount, totalNeeded), + ), ), ) } \ No newline at end of file