localization support
This commit is contained in:
parent
f99d6f88c3
commit
d91128274b
29 changed files with 396 additions and 194 deletions
|
@ -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('/')
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue