diff --git a/frontend/src/Indexer/Add/AddIndexerModalContent.js b/frontend/src/Indexer/Add/AddIndexerModalContent.js index 7925167e6..7d205dc11 100644 --- a/frontend/src/Indexer/Add/AddIndexerModalContent.js +++ b/frontend/src/Indexer/Add/AddIndexerModalContent.js @@ -288,7 +288,7 @@ class AddIndexerModalContent extends Component {
{ isPopulated ? - translate('CountIndexersAvailable', [filteredIndexers.length]) : + translate('CountIndexersAvailable', { count: filteredIndexers.length }) : null }
diff --git a/frontend/src/Indexer/Delete/DeleteIndexerModalContent.tsx b/frontend/src/Indexer/Delete/DeleteIndexerModalContent.tsx index 4052d13bc..aeae273a9 100644 --- a/frontend/src/Indexer/Delete/DeleteIndexerModalContent.tsx +++ b/frontend/src/Indexer/Delete/DeleteIndexerModalContent.tsx @@ -37,7 +37,7 @@ function DeleteIndexerModalContent(props: DeleteIndexerModalContentProps) { - {translate('AreYouSureYouWantToDeleteIndexer', [name])} + {translate('AreYouSureYouWantToDeleteIndexer', { name })} diff --git a/frontend/src/Indexer/Index/Select/Delete/DeleteIndexerModalContent.tsx b/frontend/src/Indexer/Index/Select/Delete/DeleteIndexerModalContent.tsx index 6a972b0d9..0793af82d 100644 --- a/frontend/src/Indexer/Index/Select/Delete/DeleteIndexerModalContent.tsx +++ b/frontend/src/Indexer/Index/Select/Delete/DeleteIndexerModalContent.tsx @@ -48,7 +48,9 @@ function DeleteIndexerModalContent(props: DeleteIndexerModalContentProps) {
- {translate('DeleteSelectedIndexersMessageText', [indexers.length])} + {translate('DeleteSelectedIndexersMessageText', { + count: indexers.length, + })}