i10n: localize font sizes in settings (#775)
This commit is contained in:
parent
8840205c98
commit
2f88bf6824
2 changed files with 9 additions and 2 deletions
|
@ -9,7 +9,7 @@ const fontSize = useFontSizeRef()
|
|||
<template>
|
||||
<select v-model="fontSize">
|
||||
<option v-for="size in sizes" :key="size" :value="size" :selected="fontSize === size">
|
||||
{{ `${size}${size === DEFAULT_FONT_SIZE ? $t('settings.interface.default') : ''}` }}
|
||||
{{ `${$t(`settings.interface.size_label.${size}`)}${size === DEFAULT_FONT_SIZE ? $t('settings.interface.default') : ''}` }}
|
||||
</option>
|
||||
</select>
|
||||
</template>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue