Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update all UI texts to consistently use sentence case instead of title case #718

Merged

Conversation

tjementum
Copy link
Member

@tjementum tjementum commented Mar 26, 2025

Summary & motivation

Update all UI text to consistently use Sentence case instead of Title Case for a more modern and consistent interface. This change affects:

  • Buttons (e.g. "Delete account" instead of "Delete Account")
  • Menu items (e.g. "View profile" instead of "View Profile")
  • Headings (e.g. "Account settings" instead of "Account Settings")
  • Form labels (e.g. "User role" instead of "User Role")
  • Placeholders (e.g. "Software engineer" instead of "Software Engineer")

The change also updates the translation AI rules to explicitly specify that buttons, menus, and headings must use sentence case.

Downstream projects

For maintainers of downstream projects, you should:

  1. Update your UI text

Look in your .po files and identify all places you use Title Case, then find the places in your code where the translation is coming from and change these to Sentence case.

  1. Update translations

After updating the text, run pp translate from your project root directory to update all translation files.

Checklist

  • I have added tests, or done manual regression tests
  • I have updated the documentation, if necessary

@tjementum tjementum added the Enhancement New feature or request label Mar 26, 2025
@tjementum tjementum self-assigned this Mar 26, 2025
Copy link

linear bot commented Mar 26, 2025

@tjementum tjementum changed the title Pp 362 use sentence case in all UI for a modern consistent Update all UI texts to consistently use sentence case instead of title case Mar 26, 2025
Copy link

Please retry analysis of this Pull-Request directly on SonarQube Cloud

@tjementum tjementum merged commit 2816635 into main Mar 26, 2025
22 of 26 checks passed
@tjementum tjementum deleted the pp-362-use-sentence-case-in-all-ui-for-a-modern-consistent branch March 26, 2025 22:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or request
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

1 participant