diff --git a/src/status_im/contexts/communities/actions/accounts_selection/view.cljs b/src/status_im/contexts/communities/actions/accounts_selection/view.cljs index bf3d5e323b..ee3ba17cfa 100644 --- a/src/status_im/contexts/communities/actions/accounts_selection/view.cljs +++ b/src/status_im/contexts/communities/actions/accounts_selection/view.cljs @@ -20,6 +20,13 @@ has-permissions? (rf/sub [:communities/has-permissions? id]) airdrop-account (rf/sub [:communities/airdrop-account id]) revealed-accounts (rf/sub [:communities/accounts-to-reveal id]) + revealed-accounts-count (count revealed-accounts) + wallet-accounts-count (count (rf/sub [:wallet/accounts-without-watched-accounts])) + addresses-shared-text (if (= revealed-accounts-count wallet-accounts-count) + (i18n/label :t/all-addresses) + (i18n/label-pluralize + revealed-accounts-count + :t/address-count)) {:keys [highest-permission-role]} (rf/sub [:community/token-gated-overview id]) highest-role-text (i18n/label (communities.utils/role->translation-key highest-permission-role @@ -108,7 +115,7 @@ :label :preview :label-props {:type :accounts :data revealed-accounts} - :description-props {:text (i18n/label :t/all-addresses)}} + :description-props {:text addresses-shared-text}} {:title (i18n/label :t/for-airdrops) :on-press show-airdrop-addresses :description :text diff --git a/translations/en.json b/translations/en.json index 325991a261..aa245be5b3 100644 --- a/translations/en.json +++ b/translations/en.json @@ -2558,5 +2558,9 @@ "ledger-live": "Ledger live", "keep-key": "KeepKey", "type-your-path": "Type your own derivation path", - "default-format": "Default format" + "default-format": "Default format", + "address-count": { + "one": "1 address", + "other": "{{count}} addresses" + } }