mirror of
https://framagit.org/les/gancio.git
synced 2025-01-31 16:42:22 +01:00
missing i18n in setup, fix #239
This commit is contained in:
parent
3eaf72af19
commit
fc098b603d
2 changed files with 3 additions and 0 deletions
|
@ -1,6 +1,8 @@
|
||||||
<template lang="pug">
|
<template lang="pug">
|
||||||
v-container.pa-6
|
v-container.pa-6
|
||||||
h2.mb-2.text-center Gancio Setup
|
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.grey.lighten-5(v-model='step')
|
||||||
v-stepper-header
|
v-stepper-header
|
||||||
v-stepper-step(v-show='!dbdone' :complete='step > 1' step='1') Database
|
v-stepper-step(v-show='!dbdone' :complete='step > 1' step='1') Database
|
||||||
|
|
|
@ -43,6 +43,7 @@ module.exports = () => {
|
||||||
api.post('/setup/db', setupController.setupDb)
|
api.post('/setup/db', setupController.setupDb)
|
||||||
api.post('/setup/restart', setupController.restart)
|
api.post('/setup/restart', setupController.restart)
|
||||||
api.post('/settings/smtp', settingsController.testSMTP)
|
api.post('/settings/smtp', settingsController.testSMTP)
|
||||||
|
api.get('/locale/:locale', localeController.get)
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue