Translate some missing strings via global i18n instance (#5740)

This commit is contained in:
Samuel Newman
2024-10-14 18:19:30 +03:00
committed by GitHub
parent db7b875c52
commit a445489b53
3 changed files with 13 additions and 9 deletions
+4 -4
View File
@@ -268,8 +268,8 @@ let PostDropdownBtn = ({
item: postUri,
feedContext: postFeedContext,
})
Toast.show('Feedback sent!')
}, [feedFeedback, postUri, postFeedContext])
Toast.show(_(msg`Feedback sent!`))
}, [feedFeedback, postUri, postFeedContext, _])
const onPressShowLess = React.useCallback(() => {
feedFeedback.sendInteraction({
@@ -277,8 +277,8 @@ let PostDropdownBtn = ({
item: postUri,
feedContext: postFeedContext,
})
Toast.show('Feedback sent!')
}, [feedFeedback, postUri, postFeedContext])
Toast.show(_(msg`Feedback sent!`))
}, [feedFeedback, postUri, postFeedContext, _])
const onSelectChatToShareTo = React.useCallback(
(conversation: string) => {