use supported languages from service

This commit is contained in:
FloatingGhost 2022-08-30 14:37:36 +01:00
parent 59eb434840
commit ef50c63dc7
7 changed files with 31 additions and 10 deletions

View file

@ -157,14 +157,14 @@
</ul>
</li>
<li>
<p>
<interface-language-switcher
:globe-icon="false"
:prompt-text="$t('settings.translation_language')"
:language="translationLanguage"
:set-language="setTranslationLanguage"
/>
</p>
<ChoiceSetting
v-if="user && (translationLanguages.length > 0)"
id="translationLanguage"
path="translationLanguage"
:options="translationLanguages"
>
{{ $t('settings.translation_language') }}
</ChoiceSetting>
</li>
<li>
<BooleanSetting