summaryrefslogtreecommitdiff
path: root/app.js
diff options
context:
space:
mode:
authorWu Cheng-Han2017-03-20 14:52:25 +0800
committerWu Cheng-Han2017-03-20 14:52:25 +0800
commit7989b8959142bf3838a7eba7d0b8a4911c1108af (patch)
tree82b26c75547e45448db20f078a2c2784bb9185f7 /app.js
parentafc4f269bc622e3c5ffcc4ec098014e4104de90f (diff)
Add support of Catalan locale
Diffstat (limited to 'app.js')
-rw-r--r--app.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app.js b/app.js
index d4086be5..4d809eae 100644
--- a/app.js
+++ b/app.js
@@ -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')
})