From e738efe217fc06572f37f8a4e732f3083b6cb1cd Mon Sep 17 00:00:00 2001 From: Claudius Date: Thu, 4 Apr 2019 12:31:08 +0200 Subject: specifying the locale jsons to be in the exact style of poeditor should cut down on unneccessary changes ('churn') Signed-off-by: Claudius --- app.js | 1 + 1 file changed, 1 insertion(+) (limited to 'app.js') diff --git a/app.js b/app.js index cb7cc6fe..3de99e6c 100644 --- a/app.js +++ b/app.js @@ -115,6 +115,7 @@ if (config.csp.enable) { i18n.configure({ locales: ['en', 'zh-CN', 'zh-TW', 'fr', 'de', 'ja', 'es', 'ca', 'el', 'pt', 'it', 'tr', 'ru', 'nl', 'hr', 'pl', 'uk', 'hi', 'sv', 'eo', 'da', 'ko', 'id', 'sr'], cookie: 'locale', + indent: ' ', // this is the style poeditor.com exports it, this creates less churn directory: path.join(__dirname, '/locales'), updateFiles: config.updateI18nFiles }) -- cgit v1.2.3