From 7989b8959142bf3838a7eba7d0b8a4911c1108af Mon Sep 17 00:00:00 2001
From: Wu Cheng-Han
Date: Mon, 20 Mar 2017 14:52:25 +0800
Subject: Add support of Catalan locale
---
app.js | 2 +-
public/views/index/body.ejs | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
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 @@
+
--
cgit v1.2.3