Web:Editor: Refactoring.

This commit is contained in:
Tatiana Lopaeva 2021-08-27 14:13:50 +03:00
parent 19290bf8cb
commit beb2a6c707

View File

@ -670,7 +670,7 @@ const Editor = () => {
<StyledSelectFile>
<Text className="editor-select-file_text">
{filesType === mailMergeAction ? (
i18n.t("MailMergeFileType")
getFileTypeTranslation()
) : (
<Trans i18n={i18n} i18nKey="SelectFilesType" ns="Editor">
Select files of type: {{ fileType: getFileTypeTranslation() }}