feat: allow disabling translation for specific languages (#1371)
This commit is contained in:
parent
e197a1dbe9
commit
b48b7f4c16
8 changed files with 130 additions and 12 deletions
|
@ -12,7 +12,7 @@ const {
|
|||
} = useTranslation(status, getLanguageCode())
|
||||
const preferenceHideTranslation = usePreferences('hideTranslation')
|
||||
|
||||
const showButton = computed(() => !preferenceHideTranslation.value && isTranslationEnabled && status.language !== getLanguageCode())
|
||||
const showButton = computed(() => !preferenceHideTranslation.value && isTranslationEnabled)
|
||||
|
||||
let translating = $ref(false)
|
||||
const toggleTranslation = async () => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue