summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--app.js2
-rw-r--r--public/views/index/body.ejs1
2 files changed, 2 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')
})
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>