diff options
author | Wu Cheng-Han | 2017-03-20 14:52:25 +0800 |
---|---|---|
committer | Wu Cheng-Han | 2017-03-20 14:52:25 +0800 |
commit | 7989b8959142bf3838a7eba7d0b8a4911c1108af (patch) | |
tree | 82b26c75547e45448db20f078a2c2784bb9185f7 | |
parent | afc4f269bc622e3c5ffcc4ec098014e4104de90f (diff) |
Add support of Catalan locale
-rw-r--r-- | app.js | 2 | ||||
-rw-r--r-- | public/views/index/body.ejs | 1 |
2 files changed, 2 insertions, 1 deletions
@@ -113,7 +113,7 @@ app.use(helmet.hsts({ })) i18n.configure({ - locales: ['en', 'zh', 'fr', 'de', 'ja', 'es', 'el', 'pt', 'it', 'tr', 'ru', 'nl', 'hr', 'pl', 'uk', 'hi', 'sv', 'eo'], + locales: ['en', 'zh', 'fr', 'de', 'ja', 'es', 'ca', 'el', 'pt', 'it', 'tr', 'ru', 'nl', 'hr', 'pl', 'uk', 'hi', 'sv', 'eo'], cookie: 'locale', directory: path.join(__dirname, '/locales') }) diff --git a/public/views/index/body.ejs b/public/views/index/body.ejs index 584d67ed..b14dde8a 100644 --- a/public/views/index/body.ejs +++ b/public/views/index/body.ejs @@ -135,6 +135,7 @@ <option value="de">Deutsch</option> <option value="ja">日本語</option> <option value="es">Español</option> + <option value="ca">Català</option> <option value="el">Ελληνικά</option> <option value="pt">Português</option> <option value="it">italiano</option> |