From c8d3951d321a4191f75a4589c33630c847098b57 Mon Sep 17 00:00:00 2001
From: Wu Cheng-Han
Date: Sun, 11 Jun 2017 15:52:04 +0800
Subject: Add support of Danish 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 f7b63cdf..1508781c 100644
--- a/app.js
+++ b/app.js
@@ -104,7 +104,7 @@ app.use(helmet.hsts({
}))
i18n.configure({
- locales: ['en', 'zh', 'fr', 'de', 'ja', 'es', 'ca', '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', 'da'],
cookie: 'locale',
directory: path.join(__dirname, '/locales')
})
diff --git a/public/views/index/body.ejs b/public/views/index/body.ejs
index b14dde8a..84300539 100644
--- a/public/views/index/body.ejs
+++ b/public/views/index/body.ejs
@@ -148,6 +148,7 @@
+
--
cgit v1.2.3