summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSheogorath2018-06-23 21:25:36 +0200
committerSheogorath2018-06-23 21:26:33 +0200
commit47b18ada765271853ce512ff7511aa0abda206ac (patch)
tree7e0eab7cf9758cbaf6c750e1034faa442b576ffc
parent49db5bc6534bccaea89192d95a6a0e87d0cb28dd (diff)
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 <sheogorath@shivering-isles.com>
-rw-r--r--app.js2
l---------locales/zh.json1
2 files changed, 1 insertions, 2 deletions
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