Skip to content
Snippets Groups Projects
Commit 0c1f9273 authored by Lloyd Hilaiel's avatar Lloyd Hilaiel
Browse files

don't bring the server down if en_US mo files don't exist

parent 2d16a832
No related branches found
No related tags found
No related merge requests found
......@@ -77,7 +77,7 @@ exports.abide = function (options) {
json_exists: existsSync(json_file_path(l)),
gt: null
};
if (l !== debug_locale) {
if (l !== debug_locale && l !== 'en_US') {
if (! mo_cache[l] || ! mo_cache[l].mo_exists || ! mo_cache[l].json_exists) {
var msg = util.format('Bad locale=[%s] file(s) do not exist [%s] or [%s]. See locale/README',
l, mo_file_path(l), json_file_path(l));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment