mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-07-08 15:02:29 +02:00
closes #2015
This commit is contained in:
@@ -396,7 +396,7 @@ middleware.processRender = function(req, res, next) {
|
||||
middleware.renderHeader(req, res, function(err, template) {
|
||||
str = template + str;
|
||||
|
||||
translator.translate(str, res.locals.config.defaultLang, function(translated) {
|
||||
translator.translate(str, res.locals.config.userLang, function(translated) {
|
||||
fn(err, translated);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user