diff --git a/src/meter.tsx b/src/meter.tsx index d50228644..ea1cf6a90 100644 --- a/src/meter.tsx +++ b/src/meter.tsx @@ -277,9 +277,10 @@ const MeterComponent = ({ const totalPercent = Math.round((lastSegment?.end || 0) * 100); const valueText = - t(meterTotalLabel, totalPercent) + + t(meterTotalLabel, values.length, totalPercent) + ' ' + - values.map((v, i) => `${t(meterSectionLabel, i + 1, Math.round(v * 100))}`).join(', '); + values.map((v, i) => `${t(meterSectionLabel, i + 1, Math.round(v * 100))}`).join('. '); + return (