From 47b18ada765271853ce512ff7511aa0abda206ac Mon Sep 17 00:00:00 2001 From: Sheogorath Date: Sat, 23 Jun 2018 21:25:36 +0200 Subject: Remove unused zh.json from repo Since the original idea of using a symlink didn't work anyway, we should remove the zh.json symlink from the repo. It doesn't provide any benefit but alters the repo on start of HackMD. Signed-off-by: Sheogorath --- app.js | 2 +- locales/zh.json | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) delete mode 120000 locales/zh.json diff --git a/app.js b/app.js index 772073b0..fcb5305c 100644 --- a/app.js +++ b/app.js @@ -129,7 +129,7 @@ if (config.csp.enable) { } i18n.configure({ - locales: ['en', 'zh', 'zh-CN', 'zh-TW', 'fr', 'de', 'ja', 'es', 'ca', 'el', 'pt', 'it', 'tr', 'ru', 'nl', 'hr', 'pl', 'uk', 'hi', 'sv', 'eo', 'da', 'ko'], + 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'], cookie: 'locale', directory: path.join(__dirname, '/locales'), updateFiles: config.updateI18nFiles diff --git a/locales/zh.json b/locales/zh.json deleted file mode 120000 index 77c7eac5..00000000 --- a/locales/zh.json +++ /dev/null @@ -1 +0,0 @@ -locales/zh-TW.json \ No newline at end of file -- cgit v1.2.3