Skip to content

Use sentence case for summary labels#4617

Open
Softer wants to merge 1 commit into
archlinux:masterfrom
Softer:fix-summary-title-case
Open

Use sentence case for summary labels#4617
Softer wants to merge 1 commit into
archlinux:masterfrom
Softer:fix-summary-title-case

Conversation

@Softer

@Softer Softer commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

The install summary title-cased every label with str.title(). That is wrong for any language other than English: in Ukrainian "Ім'я хоста" rendered as "Ім'Я Хоста", and even in English acronyms broke ("Automatic time sync (NTP)" became "(Ntp)").

The label strings and their translations are already written with the correct casing, so there is no need to re-case them per word. Capitalize only the first letter of the label instead. English labels now read as sentence case (Mirrors and repositories), matching how the source strings are written.

str.title() title-cased every label word, which is wrong outside
English: it turned the Ukrainian "Ім'я хоста" into "Ім'Я Хоста" and
broke acronyms ("NTP" -> "Ntp"). The source strings and their
translations are already written with the correct casing.

Capitalize only the first letter of each label instead.
@Softer Softer requested a review from Torxed as a code owner June 30, 2026 10:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant