Merge pull request #1321 from mewtaylor/issue/gh-1303-followup

Fix 1303 Fallout: Apply defaults for untranslated pages too
This commit is contained in:
Matthew Taylor 2017-05-23 13:22:55 -04:00 committed by GitHub
commit 332b17b429

View file

@ -208,6 +208,7 @@ async.forEachLimit(views, 5, function (view, cb) {
process.stdout.write('No translations for ' + view + isoCode + ', using english\n');
}
viewLocales[isoCode] = merge({}, generalLocales[isoCode], defaultLocales[view]);
defaults(viewLocales[isoCode], generalLocales['en']);
}
return cb();
} else {