diff options
author | Wu Cheng-Han | 2017-06-11 15:52:04 +0800 |
---|---|---|
committer | Wu Cheng-Han | 2017-06-11 15:52:04 +0800 |
commit | c8d3951d321a4191f75a4589c33630c847098b57 (patch) | |
tree | 0d7e101923afc2fc87767c8e6d8fee8a554b2b66 | |
parent | 15a346bd36ab3cb2a2d7b45ee9271c4065e1ee9b (diff) |
Add support of Danish locale
Diffstat (limited to '')
-rw-r--r-- | app.js | 2 | ||||
-rw-r--r-- | public/views/index/body.ejs | 1 |
2 files changed, 2 insertions, 1 deletions
@@ -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 @@ <option value="hi">हिन्दी</option> <option value="sv">svenska</option> <option value="eo">Esperanto</option> + <option value="da">dansk</option> </select> </div> </div> |