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

@ -34,7 +34,7 @@ module.exports = (db) => {
req.flash('error', err.message)
return res.redirect('/')
}
req.flash('success', `Welcome to ${_CC.config.siteTitle}!`)
req.flash('success', _CC.lang('CONFIRM_ACCOUNT_SUCCESS'))
res.redirect('/')
})
})