Add translation values to activity log output

This commit is contained in:
DaneEveritt 2022-06-11 14:52:41 -04:00
parent 06427f8d13
commit 4d30cc9e7e
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
4 changed files with 25 additions and 5 deletions

View file

@ -19,7 +19,8 @@ i18n
backend: {
backend: I18NextHttpBackend,
backendOption: {
loadPath: `/locales/locale.json?locale={{lng}}&namespace={{ns}}&hash=${hash}`,
loadPath: '/locales/locale.json?locale={{lng}}&namespace={{ns}}',
queryStringParams: { hash },
allowMultiLoading: true,
} as BackendOptions,
} as Record<string, any>,
@ -30,6 +31,4 @@ i18n
},
});
i18n.loadNamespaces([ 'validation' ]).catch(console.error);
export default i18n;