Updated on 2026-08-14

This commit is contained in:
Tangem 2025-05-26 14:14:07 +05:00
parent 0c2d933601
commit f2b0bd5881
6 changed files with 18 additions and 11 deletions

View file

@ -561,7 +561,6 @@
<string name="nft_send">NFT senden</string>
<string name="nft_traits_title">Eigenschaften</string>
<string name="nft_untitled_collection">Unbetitelte Sammlung</string>
<string name="nft_wallet_count">%1$d NFTs in der %2$d Sammlung</string>
<string name="nft_wallet_receive_nft">Tippe hier, um das erste NFT zu erhalten</string>
<string name="nft_wallet_title">NFT-Sammlungen</string>
<string name="nft_wallet_unable_to_load">Die Daten konnten nicht geladen werden</string>

View file

@ -516,7 +516,6 @@
<string name="nft_collections_title">Collections NFT</string>
<string name="nft_collections_warning_subtitle">Certaines données peuvent ne pas se charger</string>
<string name="nft_collections_warning_title">Problèmes de chargement temporaires</string>
<string name="nft_wallet_count">%1$d NFT dans la collection %2$d</string>
<string name="nft_wallet_receive_nft">Appuyez ici pour recevoir le premier NFT</string>
<string name="nft_wallet_title">Collections NFT</string>
<string name="nft_wallet_unable_to_load">Impossible de charger les données</string>

View file

@ -554,7 +554,6 @@
<string name="nft_send">NFTを送信する</string>
<string name="nft_traits_title">特徴</string>
<string name="nft_untitled_collection">無題のコレクション</string>
<string name="nft_wallet_count">%1$dコレクションの%2$dNFT</string>
<string name="nft_wallet_receive_nft">ここをタップして最初のNFTを受け取ります</string>
<string name="nft_wallet_title">NFTコレクション</string>
<string name="nft_wallet_unable_to_load">データを読み込めません</string>

View file

@ -530,10 +530,10 @@
<string name="nft_about_title">Об NFT</string>
<string name="nft_asset">NFT</string>
<plurals name="nft_collections_count">
<item quantity="one">NFT</item>
<item quantity="few">NFT</item>
<item quantity="many">NFT</item>
<item quantity="other">NFT</item>
<item quantity="one">%d NFT</item>
<item quantity="few">%d NFTs</item>
<item quantity="many">%d NFTs</item>
<item quantity="other">%d NFTs</item>
</plurals>
<string name="nft_collections_empty_description">Здесь будут отображаться NFT, полученные на ваш кошелёк</string>
<string name="nft_collections_empty_title">У вас ещё нет коллекций</string>
@ -568,7 +568,12 @@
<string name="nft_receive_unavailable_section_title">Не добавлено</string>
<string name="nft_send">Отправить NFT</string>
<string name="nft_traits_title">Черты</string>
<string name="nft_wallet_count">%1$d NFTs в %2$d коллекциях</string>
<plurals name="nft_wallet_count">
<item quantity="one">%1$d NFTs в %2$d коллекции</item>
<item quantity="few">%1$d NFTs в %2$d коллекциях</item>
<item quantity="many">%1$d NFTs в %2$d коллекциях</item>
<item quantity="other">%1$d NFTs в %2$d коллекциях</item>
</plurals>
<string name="nft_wallet_receive_nft">Нажмите здесь, чтобы получить первую NFT</string>
<string name="nft_wallet_title">NFT коллекции</string>
<string name="nft_wallet_unable_to_load">Невозможно загрузить данные</string>

View file

@ -562,7 +562,10 @@
<string name="nft_send">Send NFT</string>
<string name="nft_traits_title">Traits</string>
<string name="nft_untitled_collection">Untitled collection</string>
<string name="nft_wallet_count">%1$d NFTs in %2$d collection</string>
<plurals name="nft_wallet_count">
<item quantity="one">%1$d NFTs in %2$d collection</item>
<item quantity="other">%1$d NFTs in %2$d collections</item>
</plurals>
<string name="nft_wallet_receive_nft">Tap here to receive first NFT</string>
<string name="nft_wallet_title">NFT collections</string>
<string name="nft_wallet_unable_to_load">Unable to load the data</string>

View file

@ -25,6 +25,7 @@ import com.tangem.core.ui.R
import com.tangem.core.ui.components.RectangleShimmer
import com.tangem.core.ui.components.TextShimmer
import com.tangem.core.ui.components.text.applyBladeBrush
import com.tangem.core.ui.extensions.pluralStringResourceSafe
import com.tangem.core.ui.extensions.stringResourceSafe
import com.tangem.core.ui.res.TangemTheme
import com.tangem.core.ui.res.TangemThemePreview
@ -106,8 +107,9 @@ private fun WalletNFTItemContent(state: WalletNFTItemUM.Content, onClick: () ->
overflow = TextOverflow.Ellipsis,
)
Text(
text = stringResourceSafe(
id = R.string.nft_wallet_count,
text = pluralStringResourceSafe(
id = R.plurals.nft_wallet_count,
state.collectionsCount,
state.assetsCount,
state.collectionsCount,
),