Use named tokens in frontend translate function

This commit is contained in:
Bogdan
2023-08-13 21:03:38 +03:00
parent 5dbb59dfaa
commit 31261f66ad
22 changed files with 57 additions and 51 deletions
@@ -37,7 +37,7 @@ function DeleteIndexerModalContent(props: DeleteIndexerModalContentProps) {
</ModalHeader>
<ModalBody>
{translate('AreYouSureYouWantToDeleteIndexer', [name])}
{translate('AreYouSureYouWantToDeleteIndexer', { name })}
</ModalBody>
<ModalFooter>