default translate to device language (#1207)
This commit is contained in:
parent
4a59178cd2
commit
55ad56f689
4 changed files with 5 additions and 10 deletions
|
@ -133,8 +133,7 @@ const PostLoaded = observer(
|
|||
replyAuthorDid = urip.hostname
|
||||
}
|
||||
|
||||
const primaryLanguage = store.preferences.contentLanguages[0] || 'en'
|
||||
const translatorUrl = getTranslatorLink(primaryLanguage, record?.text || '')
|
||||
const translatorUrl = getTranslatorLink(record?.text || '')
|
||||
const needsTranslation = useMemo(
|
||||
() =>
|
||||
store.preferences.contentLanguages.length > 0 &&
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue