From dbd7449740a5c9b9fc51fb92c0f7614e180b8063 Mon Sep 17 00:00:00 2001
From: Wu Cheng-Han
Date: Fri, 14 Oct 2016 22:52:54 +0800
Subject: Update to support Hindi locale
---
app.js | 2 +-
public/views/index.ejs | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/app.js b/app.js
index b8034add..c0c554c4 100644
--- a/app.js
+++ b/app.js
@@ -95,7 +95,7 @@ app.use(helmet.hsts({
}));
i18n.configure({
- locales: ['en', 'zh', 'fr', 'de', 'ja', 'es', 'el', 'pt', 'it', 'tr', 'ru', 'nl', 'hr', 'pl', 'uk'],
+ locales: ['en', 'zh', 'fr', 'de', 'ja', 'es', 'el', 'pt', 'it', 'tr', 'ru', 'nl', 'hr', 'pl', 'uk', 'hi'],
cookie: 'locale',
directory: __dirname + '/locales'
});
diff --git a/public/views/index.ejs b/public/views/index.ejs
index c486f05d..7c0b8c95 100644
--- a/public/views/index.ejs
+++ b/public/views/index.ejs
@@ -163,6 +163,7 @@
+
--
cgit v1.2.3