Skip to content

Write UI strings in sentence case - #17

Merged
mpge merged 2 commits into
mainfrom
fix/sentence-case-ui-strings
Sep 27, 2026
Merged

mpge merged 2 commits into
mainfrom
fix/sentence-case-ui-strings

Conversation

@mpge

@mpge mpge commented Sep 27, 2026

Copy link
Copy Markdown
Member

What

User-facing strings in en, fr and es were in Title Case ("New Ticket", "Create Ticket", "Browse Files", "Pièces Jointes", "Iniciar Sesión"). They are now sentence case: only the first word of each string (or sentence) is capitalised, plus acronyms such as SLA.

  • en / fr / es: 29-32 strings each rewritten. Keys unchanged.
  • fr_CA: already sentence case (Votre courriel); it inherits the fixed fr strings.
  • de: German nouns stay capitalised by grammar; only the adjective in Nicht Hilfreich changes to Nicht hilfreich.
  • Bottom navigation: the tab bar hard-coded Tickets / Knowledge Base / Settings in English; it now uses the existing tickets / knowledge_base / settings keys, so it follows the host's locale.

Convention

escalated-developer-context/CONVENTIONS.md has no rule on UI copy casing (it covers code naming only). Sentence case is applied because host brand guides (Hauloy) require it and it is the platform norm on Material / iOS. Worth adding a line to CONVENTIONS.md.

Tests

  • New: en, fr, fr_CA and es tables must be sentence case (per sentence; all-caps acronyms allowed), plus spot checks on new_ticket, attachments (fr), create_ticket (fr_CA) and not_helpful (de).
  • flutter analyze: no issues. flutter test: 26 passed.

Buttons, titles and labels in en, fr, es read in Title Case
("New Ticket", "Pièces Jointes"). Only the first word of each
string is capitalised now, plus acronyms such as SLA. German keeps
its capitalised nouns; only "Nicht Hilfreich" changes. Keys are
unchanged. A test holds en, fr, fr_CA and es to sentence case.
The tab bar hard-coded "Tickets", "Knowledge Base" and "Settings"
in English Title Case. It now reads them from the host's locale.
@mpge
mpge merged commit 8ddd5e6 into main Sep 27, 2026
1 check passed
@mpge
mpge deleted the fix/sentence-case-ui-strings branch September 27, 2026 14:51
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