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 /app.js | |
parent | 15a346bd36ab3cb2a2d7b45ee9271c4065e1ee9b (diff) |
Add support of Danish locale
Diffstat (limited to 'app.js')
-rw-r--r-- | app.js | 2 |
1 files changed, 1 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') }) |