From 0273ba206690d71366024ab96af16b53b40d7fb6 Mon Sep 17 00:00:00 2001 From: Daniel Lockyer Date: Thu, 16 Mar 2023 14:06:38 +0100 Subject: [PATCH] Disabled i18next debug mode in development - I didn't realise how annoying this would be so this commit disables it --- ghost/i18n/lib/i18n.js | 1 - 1 file changed, 1 deletion(-) diff --git a/ghost/i18n/lib/i18n.js b/ghost/i18n/lib/i18n.js index f280dd4efa..b2e4826df8 100644 --- a/ghost/i18n/lib/i18n.js +++ b/ghost/i18n/lib/i18n.js @@ -10,7 +10,6 @@ module.exports = (lng = 'en', ns = 'portal') => { const i18nextInstance = i18next.createInstance(); i18nextInstance.init({ lng, - debug: process.env.NODE_ENV === 'development', // allow keys to be phrases having `:`, `.` nsSeparator: false,