Skip to content

Commit

Permalink
chore: ensure language selector matches other setting dropdowns
Browse files Browse the repository at this point in the history
Signed-off-by: Craig Bassett <[email protected]>
  • Loading branch information
cadriel committed Mar 22, 2021
1 parent be1201a commit f062f73
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
VUE_APP_I18N_LOCALE=en
VUE_APP_I18N_FALLBACK_LOCALE=en
4 changes: 4 additions & 0 deletions src/components/widgets/settings/GeneralSettings.vue
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@
</v-list-item-content>
<v-list-item-action>
<v-select
filled
dense
single-line
hide-details="auto"
v-model="$i18n.locale"
:items="languageList"
:value="locale"
Expand Down
8 changes: 8 additions & 0 deletions vue.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,14 @@ const h = require('child_process')
.toString()

module.exports = {
pluginOptions: {
i18n: {
locale: 'en',
fallbackLocale: 'en',
localeDir: 'locales',
enabbleInSFC: false
}
},
pwa: {
themeColor: '#2196F3',
msTileColor: '#000000',
Expand Down

0 comments on commit f062f73

Please sign in to comment.