diff options
author | Eric Bailey <git@esb.lol> | 2023-09-21 13:33:19 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-21 11:33:19 -0700 |
commit | 8a5f9cd43df6afde99c0e0111c7de0faa7635162 (patch) | |
tree | 64fa6efcb4d66be8df51780657599e91565fb0c9 /src/view/com/post/Post.tsx | |
parent | 335061f76349a4cecfdefb0348fc26bb67f6ebfa (diff) | |
download | voidsky-8a5f9cd43df6afde99c0e0111c7de0faa7635162.tar.zst |
Language settings updates, new primary language setting (#1471)
* move content languages to screen * add dropdown library, style primary lang select * update settings button * show selected langauges in button * use primary language in translator link * update copy * lint
Diffstat (limited to 'src/view/com/post/Post.tsx')
-rw-r--r-- | src/view/com/post/Post.tsx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/view/com/post/Post.tsx b/src/view/com/post/Post.tsx index d7559e3c4..d5191cf4e 100644 --- a/src/view/com/post/Post.tsx +++ b/src/view/com/post/Post.tsx @@ -115,7 +115,10 @@ const PostLoaded = observer(function PostLoadedImpl({ replyAuthorDid = urip.hostname } - const translatorUrl = getTranslatorLink(record?.text || '') + const translatorUrl = getTranslatorLink( + record?.text || '', + store.preferences.primaryLanguage, + ) const onPressReply = React.useCallback(() => { store.shell.openComposer({ |