chore: clean up dynamic translation strings (#19641)

This commit is contained in:
Ville Brofeldt
2022-04-11 13:02:20 +03:00
committed by GitHub
parent a6bf041edd
commit f21ba68a30
7 changed files with 8 additions and 9 deletions

View File

@@ -316,7 +316,7 @@ export default function transformProps(
type: 'text',
...getTotalValuePadding({ chartPadding, donut, width, height }),
style: {
text: t(`Total: ${numberFormatter(totalValue)}`),
text: t('Total: %s', numberFormatter(totalValue)),
fontSize: 16,
fontWeight: 'bold',
},