import { sr_Latn } from './translations/sr_Latn';
import { da } from './translations/da';
import { oc } from './translations/oc';
+import { hr } from './translations/hr';
// https://github.com/nimbusec-oss/inferno-i18next/blob/master/tests/T.test.js#L66
const resources = {
sr_Latn,
da,
oc,
+ hr,
};
function format(value: any, format: any): any {
import 'moment/locale/sr';
import 'moment/locale/ko';
import 'moment/locale/da';
+import 'moment/locale/hr';
import {
UserOperation,
{ code: 'de', name: 'Deutsch' },
{ code: 'ga', name: 'Gaeilge' },
{ code: 'gl', name: 'Galego' },
+ { code: 'hr', name: 'hrvatski' },
{ code: 'hu', name: 'Magyar Nyelv' },
{ code: 'ka', name: 'ქართული ენა' },
{ code: 'ko', name: '한국어' },
lang = 'da';
} else if (lang.startsWith('oc')) {
lang = 'oc';
+ } else if (lang.startsWith('hr')) {
+ lang = 'hr';
} else {
lang = 'en';
}