Skip to content

[stable33] Use a parameterized translation for CPU thread count#1040

Merged
kesselb merged 1 commit into
stable33from
backport/1032/stable33
Jul 8, 2026
Merged

[stable33] Use a parameterized translation for CPU thread count#1040
kesselb merged 1 commit into
stable33from
backport/1032/stable33

Conversation

@backportbot

@backportbot backportbot Bot commented Jul 8, 2026

Copy link
Copy Markdown

Backport of PR #1032

…able string

The CPU row in settings-admin.php previously used a standalone translated
"threads" word with the count concatenated outside the string, which
doesn't work properly for RTL languages or languages with different word
order.

Now uses a single translatable string '%1$s (%2$d threads)' with the CPU
name as %1$s and thread count as %2$d, allowing translators to reorder
components as needed.

Assisted-by: GitHub Copilot (claude-sonnet-4.6)
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
@backportbot backportbot Bot requested a review from kesselb July 8, 2026 21:16
@backportbot backportbot Bot added this to the Nextcloud 33.0.7 milestone Jul 8, 2026
@kesselb kesselb merged commit 8c63c15 into stable33 Jul 8, 2026
39 checks passed
@kesselb kesselb deleted the backport/1032/stable33 branch July 8, 2026 21:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants