Skip to content

[stable34] Use a parameterized translation for CPU thread count#1039

Merged
kesselb merged 1 commit into
stable34from
backport/1032/stable34
Jul 8, 2026
Merged

[stable34] Use a parameterized translation for CPU thread count#1039
kesselb merged 1 commit into
stable34from
backport/1032/stable34

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 benjaminfrueh as a code owner July 8, 2026 17:43
@backportbot backportbot Bot requested a review from kesselb July 8, 2026 17:43
@backportbot backportbot Bot requested a review from kesselb as a code owner July 8, 2026 17:43
@backportbot backportbot Bot added this to the Nextcloud 34.0.2 milestone Jul 8, 2026
@kesselb kesselb merged commit ffcdd33 into stable34 Jul 8, 2026
39 checks passed
@kesselb kesselb deleted the backport/1032/stable34 branch July 8, 2026 17:48
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