mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-22 23:27:54 -05:00
Apply defaults for untranslated pages too
since we’ll need them for nav/footer strings
This commit is contained in:
parent
30bd5e435d
commit
bab863cd14
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');
|
process.stdout.write('No translations for ' + view + isoCode + ', using english\n');
|
||||||
}
|
}
|
||||||
viewLocales[isoCode] = merge({}, generalLocales[isoCode], defaultLocales[view]);
|
viewLocales[isoCode] = merge({}, generalLocales[isoCode], defaultLocales[view]);
|
||||||
|
defaults(viewLocales[isoCode], generalLocales['en']);
|
||||||
}
|
}
|
||||||
return cb();
|
return cb();
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue