Skip to content

Commit

Permalink
Localisation #154
Browse files Browse the repository at this point in the history
  • Loading branch information
sbs20 committed Apr 1, 2021
1 parent 40292ee commit 4dd6bed
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
Binary file added docs/screen1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions webui/src/classes/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ const Constants = {
Version: process.env.VUE_APP_VERSION,

Locales: [
'de',
'en',
'es',
'test'
],

Expand Down
4 changes: 2 additions & 2 deletions webui/src/components/Settings.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
{{ $t('settings.theme:description') }}
</template>
<template v-slot:action>
<div style="max-width: 9rem;">
<div style="max-width: 10rem;">
<v-select :label="$t('settings.theme')" :items="themes" v-model="settings.theme" @change="reload"></v-select>
</div>
</template>
Expand All @@ -19,7 +19,7 @@
{{ $t('settings.locale:description') }}
</template>
<template v-slot:action>
<div style="max-width: 9rem;">
<div style="max-width: 10rem;">
<v-select :label="$t('settings.locale')" :items="locales" v-model="settings.locale" @change="reload"></v-select>
</div>
</template>
Expand Down

0 comments on commit 4dd6bed

Please sign in to comment.