diff options
author | surfdude29 <149612116+surfdude29@users.noreply.github.com> | 2025-04-01 15:36:46 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-01 09:36:46 -0500 |
commit | 3d7fce563ea2891cdf087253e6e0031204b19c32 (patch) | |
tree | 2c8d11f935b45571f12c24af03e26d338458ac04 | |
parent | fffcb609c66c184a1b24dc3eb2070dbdeace09ce (diff) | |
download | voidsky-3d7fce563ea2891cdf087253e6e0031204b19c32.tar.zst |
add `msg` macro in EmojiPopup.android.tsx (#8091)
-rw-r--r-- | src/components/dms/EmojiPopup.android.tsx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/components/dms/EmojiPopup.android.tsx b/src/components/dms/EmojiPopup.android.tsx index 05369cf3e..4b646608b 100644 --- a/src/components/dms/EmojiPopup.android.tsx +++ b/src/components/dms/EmojiPopup.android.tsx @@ -3,7 +3,7 @@ import {Modal, Pressable, View} from 'react-native' // @ts-expect-error internal component, not supposed to be used directly // waiting on more customisability: https://github.com/okwasniewski/react-native-emoji-popup/issues/1#issuecomment-2737463753 import EmojiPopupView from 'react-native-emoji-popup/src/EmojiPopupViewNativeComponent' -import {Trans} from '@lingui/macro' +import {msg, Trans} from '@lingui/macro' import {useLingui} from '@lingui/react' import {atoms as a, useTheme} from '#/alf' @@ -25,7 +25,7 @@ export function EmojiPopup({ return ( <> <Pressable - accessibilityLabel={_('Open full emoji list')} + accessibilityLabel={_(msg`Open full emoji list`)} accessibilityHint="" accessibilityRole="button" onPress={() => setModalVisible(true)}> @@ -55,7 +55,7 @@ export function EmojiPopup({ <Trans>Add Reaction</Trans> </Text> <Button - label={_('Close')} + label={_(msg`Close`)} onPress={() => setModalVisible(false)} size="small" variant="ghost" |