fix(i18n): review translations and fix i18n library misuse (#2750)

This commit is contained in:
Hampus authored and GitHub committed 2026-09-13 22:58:09 +02:00
1 parent 78f783f0c4
commit 8cb097f954
575 files changed
+192671 -160540

No files matched your search

@@ -559,7 +559,7 @@ export const UserProfileModal: UserProfileModalComponent = observer(
disabled={true}
data-flx="user.user-profile-modal.render-action-buttons.button--2"
>
<Trans>Message</Trans>
<Trans context="message-action">Message</Trans>
</Button>
</div>
</Tooltip>
@@ -767,7 +767,7 @@ export const UserProfileModal: UserProfileModalComponent = observer(
onClick={isBlocked ? handleOpenBlockedDm : handleMessage}
data-flx="user.user-profile-modal.render-action-buttons.button.open-blocked-dm"
>
{isBlocked ? i18n._(OPEN_DM_DESCRIPTOR) : <Trans>Message</Trans>}
{isBlocked ? i18n._(OPEN_DM_DESCRIPTOR) : <Trans context="message-action">Message</Trans>}
</Button>
)}
{renderPrimaryActionButton()}