mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-01 23:37:43 +03:00
🐛 Removed extraneous log message for missing en.json locale file (#10662)
no issue - content is in english (en) by default so only show the missing translation file warning when a non-english locale is configured
This commit is contained in:
parent
c58236e549
commit
a6fc2f1514
@ -210,7 +210,9 @@ I18n = {
|
||||
} catch (err) {
|
||||
themeStrings = undefined;
|
||||
if (err.code === 'ENOENT') {
|
||||
logging.warn(`Theme's file locales/${currentLocale}.json not found.`);
|
||||
if (currentLocale !== 'en') {
|
||||
logging.warn(`Theme's file locales/${currentLocale}.json not found.`);
|
||||
}
|
||||
} else {
|
||||
throw err;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user