localization support

This commit is contained in:
Wingy 2021-12-03 11:13:43 -05:00
parent f99d6f88c3
commit d91128274b
29 changed files with 396 additions and 194 deletions

View file

@ -8,7 +8,7 @@ module.exports = (db) => {
async (req, res) => {
const dbInfo = await db.info()
if (dbInfo.doc_count === 0) {
res.render('setup', { title: 'Setup' })
res.render('setup', { title: _CC.lang('SETUP_HEADER') })
} else {
res.redirect('/')
}