diff options
author | Samuel Newman <mozzius@protonmail.com> | 2024-10-14 18:19:30 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-14 18:19:30 +0300 |
commit | a445489b53725f3c87f6fa43b904015e910dbfea (patch) | |
tree | c0ad930f53c7136ad0561c4b3b6398d78661caa5 /src/view/com/util/forms/PostDropdownBtn.tsx | |
parent | db7b875c52b31a8c64859ca8e3e4c9e08c18f13e (diff) | |
download | voidsky-a445489b53725f3c87f6fa43b904015e910dbfea.tar.zst |
Translate some missing strings via global i18n instance (#5740)
Diffstat (limited to 'src/view/com/util/forms/PostDropdownBtn.tsx')
-rw-r--r-- | src/view/com/util/forms/PostDropdownBtn.tsx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/view/com/util/forms/PostDropdownBtn.tsx b/src/view/com/util/forms/PostDropdownBtn.tsx index dc66746fd..22751d8bf 100644 --- a/src/view/com/util/forms/PostDropdownBtn.tsx +++ b/src/view/com/util/forms/PostDropdownBtn.tsx @@ -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) => { |