Skip to content

Commit 78b8e6c

Browse files
committed
thousands separator
1 parent 453a800 commit 78b8e6c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Commands/NovaLangStats.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ public function handle()
172172
$icon = $this->getPercentIcon($translatedCount, $percent);
173173

174174
$totals = sprintf('Total languages ![%s](%s) ', $languagesCount, $countIcon).PHP_EOL.
175-
sprintf('Total lines translated ![%d (%s%%)](%s)', $translatedCount, $percent, $icon);
175+
sprintf('Total lines translated ![%s (%s%%)](%s)', number_format($translatedCount), $percent, $icon);
176176

177177
$header = '## Available Languages'.PHP_EOL.PHP_EOL.
178178
'Note: There is no need to update the count of translated strings and add your username below, as this is done by script when your PR is merged.'.PHP_EOL.PHP_EOL.
@@ -216,7 +216,7 @@ public function handle()
216216
});
217217

218218
$totals = sprintf('Total languages **%s** ', $languagesCount) . PHP_EOL .
219-
sprintf('Total lines translated **%d (%s%%)**', $translatedCount, $percent);
219+
sprintf('Total lines translated **%s (%s%%)**', number_format($translatedCount), $percent);
220220

221221
$header = '### Available Languages' . PHP_EOL . PHP_EOL .
222222
$totals . PHP_EOL;

0 commit comments

Comments
 (0)