add ukranian locale

This commit is contained in:
ivanezko
2020-11-06 02:15:04 -06:00
committed by Umputun
parent b88f99e099
commit f281faa0da
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -38,6 +38,11 @@ export async function loadLocale(locale: string): Promise<Record<string, string>
.then(res => res.default)
.catch(() => enMessages);
}
if (locale === 'ua') {
return import(/* webpackChunkName: "ua" */ '../locales/ua.json')
.then(res => res.default)
.catch(() => enMessages);
}
return enMessages;
}
+1 -1
View File
@@ -1 +1 @@
["en", "ru", "de", "fi", "es", "zh", "tr", "bg"]
["en", "ru", "de", "fi", "es", "zh", "tr", "bg", "ua"]