Web: Files: fixed FileCreated translation

This commit is contained in:
Nikita Gopienko 2021-06-28 13:09:24 +03:00
parent d2bb6daf3d
commit 3f26df9d49

View File

@ -203,7 +203,7 @@ export default function withContent(WrappedContent) {
.then(() => {
const exst = item.fileExst;
return toastr.success(
<Trans i18nKey="FileCreated" ns="Home">
<Trans t={t} i18nKey="FileCreated" ns="Home">
New file {{ itemTitle }}.{{ exst }} is created
</Trans>
);