diff options
author | Wu Cheng-Han | 2016-10-10 19:48:05 +0800 |
---|---|---|
committer | Wu Cheng-Han | 2016-10-10 19:48:05 +0800 |
commit | a5e6b5dd3b661052956f72bbeab88931e7c74315 (patch) | |
tree | 7fed6e36f865a3ef27d65621c2f4ac8cc9b474dd | |
parent | dae4f1eed1059d551fbdc709c400901c3fae2174 (diff) |
Update to support Ukrainian locale
-rw-r--r-- | app.js | 2 | ||||
-rw-r--r-- | locales/uk.json (renamed from locales/ua.json) | 0 | ||||
-rw-r--r-- | public/views/index.ejs | 1 |
3 files changed, 2 insertions, 1 deletions
@@ -94,7 +94,7 @@ app.use(helmet.hsts({ })); i18n.configure({ - locales: ['en', 'zh', 'fr', 'de', 'ja', 'es', 'el', 'pt', 'it', 'tr', 'ru', 'nl', 'hr', 'pl'], + locales: ['en', 'zh', 'fr', 'de', 'ja', 'es', 'el', 'pt', 'it', 'tr', 'ru', 'nl', 'hr', 'pl', 'uk'], cookie: 'locale', directory: __dirname + '/locales' }); diff --git a/locales/ua.json b/locales/uk.json index 0afc8796..0afc8796 100644 --- a/locales/ua.json +++ b/locales/uk.json diff --git a/public/views/index.ejs b/public/views/index.ejs index 561a5987..1e0fe3f4 100644 --- a/public/views/index.ejs +++ b/public/views/index.ejs @@ -160,6 +160,7 @@ <option value="nl">Nederlands</option> <option value="hr">hrvatski jezik</option> <option value="pl">język polski</option> + <option value="uk">Українська</option> </select> </div> </div> |