Skip to content

Commit a5e6b5d

Browse files
committed
Update to support Ukrainian locale
1 parent dae4f1e commit a5e6b5d

3 files changed

Lines changed: 2 additions & 1 deletion

File tree

app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ app.use(helmet.hsts({
9494
}));
9595

9696
i18n.configure({
97-
locales: ['en', 'zh', 'fr', 'de', 'ja', 'es', 'el', 'pt', 'it', 'tr', 'ru', 'nl', 'hr', 'pl'],
97+
locales: ['en', 'zh', 'fr', 'de', 'ja', 'es', 'el', 'pt', 'it', 'tr', 'ru', 'nl', 'hr', 'pl', 'uk'],
9898
cookie: 'locale',
9999
directory: __dirname + '/locales'
100100
});
File renamed without changes.

public/views/index.ejs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,7 @@
160160
<option value="nl">Nederlands</option>
161161
<option value="hr">hrvatski jezik</option>
162162
<option value="pl">język polski</option>
163+
<option value="uk">Українська</option>
163164
</select>
164165
</div>
165166
</div>

0 commit comments

Comments
 (0)