Merge pull request #852 from SISheogorath/remove/unusedLang

Remove unused zh.json from repo
This commit is contained in:
Christoph (Sheogorath) Kern 2018-06-23 21:38:31 +02:00 committed by GitHub
commit 87824d21e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 2 deletions

2
app.js
View File

@ -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

View File

@ -1 +0,0 @@
locales/zh-TW.json