mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-27 01:25:52 -05:00
Merge pull request #1321 from mewtaylor/issue/gh-1303-followup
Fix 1303 Fallout: Apply defaults for untranslated pages too
This commit is contained in:
commit
332b17b429
1 changed files with 1 additions and 0 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue