Skip to content

Commit ffcdd33

Browse files
authored
Merge pull request #1039 from nextcloud/backport/1032/stable34
[stable34] Use a parameterized translation for CPU thread count
2 parents 2d486f4 + 098f532 commit ffcdd33

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

templates/settings-admin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ function FormatMegabytes(int $byte): string {
6767
</tr>
6868
<tr>
6969
<td><?php p($l->t('CPU:')); ?></td>
70-
<td class="info"><?php p($cpu->getName()) ?></strong> (<?= $cpu->getThreads() ?> <?php p($l->t('threads')); ?>)</td>
70+
<td class="info"><?php p($l->t('%1$s (%2$d threads)', [$cpu->getName(), $cpu->getThreads()])) ?></td>
7171
</tr>
7272
<?php if ($memory->getMemTotal() > 0): ?>
7373
<tr>

0 commit comments

Comments
 (0)