Update to support Ukrainian locale

This commit is contained in:
Wu Cheng-Han 2016-10-10 19:48:05 +08:00
parent dae4f1eed1
commit a5e6b5dd3b
3 changed files with 2 additions and 1 deletions

2
app.js
View file

@ -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'
});

View file

@ -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>