allow translating to any other language

This commit is contained in:
FloatingGhost 2022-08-30 15:43:57 +01:00
parent ef50c63dc7
commit 6440e51b7e
6 changed files with 40 additions and 7 deletions

View file

@ -72,6 +72,27 @@
:attentions="status.attentions"
@parseReady="onParseReady"
/>
<div>
<label class="label">{{ $t('status.override_translation_source_language') }}</label>
{{ ' ' }}
<Select
id="source-language-switcher"
v-model="translateFrom"
class="preset-switcher"
>
<option
v-for="language in translationLanguages"
:key="language.key"
:value="language.value"
>
{{ language.label }}
</option>
</Select>
{{ ' ' }}
<button @click="translateStatus" class="btn button-default">
{{ $t('status.translate') }}
</button>
</div>
</div>
</div>
<button