mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-18 21:45:31 +09:00
fix(i18n): review translations and fix i18n library misuse (#2750)
This commit is contained in:
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()}
|
||||
|
||||
Reference in new issue
Block a user