Node.js based forum software built for the modern web
en_US will no longer throw js error from missing timeago file
Julian Lambe1922281721
diff --git a/public/src/translator.js b/public/src/translator.jsindex 20d8db2129..d6b753f0ef 100644--- a/public/src/translator.js+++ b/public/src/translator.js@@ -22,7 +22,7 @@translator.prepareDOM = function() {// Load the appropriate timeago locale file- if (config.defaultLang !== 'en_GB') {+ if (config.defaultLang !== 'en_GB' && config.defaultLang !== 'en_US') {// Correct NodeBB language codes to timeago codes, if necessaryvar languageCode;switch(config.defaultLang) {