From a5e6b5dd3b661052956f72bbeab88931e7c74315 Mon Sep 17 00:00:00 2001 From: Wu Cheng-Han Date: Mon, 10 Oct 2016 19:48:05 +0800 Subject: [PATCH] Update to support Ukrainian locale --- app.js | 2 +- locales/{ua.json => uk.json} | 0 public/views/index.ejs | 1 + 3 files changed, 2 insertions(+), 1 deletion(-) rename locales/{ua.json => uk.json} (100%) diff --git a/app.js b/app.js index 586313f35..b3473a13e 100644 --- a/app.js +++ b/app.js @@ -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 similarity index 100% rename from locales/ua.json rename to locales/uk.json diff --git a/public/views/index.ejs b/public/views/index.ejs index 561a5987f..1e0fe3f44 100644 --- a/public/views/index.ejs +++ b/public/views/index.ejs @@ -160,6 +160,7 @@ +