summaryrefslogtreecommitdiff
path: root/app.js
diff options
context:
space:
mode:
authorWu Cheng-Han2017-06-11 15:52:04 +0800
committerWu Cheng-Han2017-06-11 15:52:04 +0800
commitc8d3951d321a4191f75a4589c33630c847098b57 (patch)
tree0d7e101923afc2fc87767c8e6d8fee8a554b2b66 /app.js
parent15a346bd36ab3cb2a2d7b45ee9271c4065e1ee9b (diff)
Add support of Danish locale
Diffstat (limited to '')
-rw-r--r--app.js2
1 files changed, 1 insertions, 1 deletions
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')
})