summaryrefslogtreecommitdiff
path: root/app.js
diff options
context:
space:
mode:
authorWu Cheng-Han2016-10-21 13:39:28 +0800
committerWu Cheng-Han2016-10-21 13:39:28 +0800
commit215b5baa9fd81a3d7e41e75e0a5fb9efb3e66cd7 (patch)
treefc13cbe30ee175013b5ccdb48d702b89169c5066 /app.js
parent209534993addb8e8c369e2ec9539e0f9439b474b (diff)
Update to support Swedish locale
Diffstat (limited to 'app.js')
-rw-r--r--app.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app.js b/app.js
index 9e4d54e7..0c66cc27 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', 'hi'],
+ locales: ['en', 'zh', 'fr', 'de', 'ja', 'es', 'el', 'pt', 'it', 'tr', 'ru', 'nl', 'hr', 'pl', 'uk', 'hi', 'sv'],
cookie: 'locale',
directory: __dirname + '/locales'
});