missing i18n in setup, fix #239

This commit is contained in:
lesion 2023-02-21 00:55:44 +01:00
parent 3eaf72af19
commit fc098b603d
No known key found for this signature in database
GPG key ID: 352918250B012177
2 changed files with 3 additions and 0 deletions

View file

@ -1,6 +1,8 @@
<template lang="pug">
v-container.pa-6
h2.mb-2.text-center Gancio Setup
v-select(label='Select your language' single-line :items='$i18n.locales' item-text='name' item-value='code' @change='e => $i18n.setLocale(e)')
v-stepper.grey.lighten-5(v-model='step')
v-stepper-header
v-stepper-step(v-show='!dbdone' :complete='step > 1' step='1') Database

View file

@ -43,6 +43,7 @@ module.exports = () => {
api.post('/setup/db', setupController.setupDb)
api.post('/setup/restart', setupController.restart)
api.post('/settings/smtp', settingsController.testSMTP)
api.get('/locale/:locale', localeController.get)
} else {