diff options
author | Wu Cheng-Han | 2016-10-21 13:39:28 +0800 |
---|---|---|
committer | Wu Cheng-Han | 2016-10-21 13:39:28 +0800 |
commit | 215b5baa9fd81a3d7e41e75e0a5fb9efb3e66cd7 (patch) | |
tree | fc13cbe30ee175013b5ccdb48d702b89169c5066 /app.js | |
parent | 209534993addb8e8c369e2ec9539e0f9439b474b (diff) |
Update to support Swedish locale
Diffstat (limited to 'app.js')
-rw-r--r-- | app.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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', 'hi'], + locales: ['en', 'zh', 'fr', 'de', 'ja', 'es', 'el', 'pt', 'it', 'tr', 'ru', 'nl', 'hr', 'pl', 'uk', 'hi', 'sv'], cookie: 'locale', directory: __dirname + '/locales' }); |