feat(lang): add support for Italian, Portuguese (Brazil) and Serbian

This commit is contained in:
sct
2020-12-19 21:51:05 +09:00
parent 6f2de8577e
commit 108dfc4afd
3 changed files with 22 additions and 1 deletions

View File

@@ -31,6 +31,12 @@ const loadLocaleData = (locale: string): Promise<any> => {
return import('../i18n/locale/nl.json');
case 'es':
return import('../i18n/locale/es.json');
case 'it':
return import('../i18n/locale/it.json');
case 'pt-BR':
return import('../i18n/locale/pt_BR.json');
case 'sr':
return import('../i18n/locale/sr.json');
default:
return import('../i18n/locale/en.json');
}