Skip to content

Show dialog and filter button labels in sentence case - #64

Merged
hameno merged 1 commit into
masterfrom
feature/dialog_button_sentence_case
Oct 10, 2026
Merged

hameno merged 1 commit into
masterfrom
feature/dialog_button_sentence_case

Conversation

@hameno

@hameno hameno commented Oct 9, 2026 •

Copy link
Copy Markdown
Member

The package filter dialogs (delete, add package name, add app signature, info, preview) and the profile editor's add-filter buttons upper-cased their labels in code (CANCEL, ADD, YES, CLOSE, PACKAGE NAME, APP SIGNATURE), while the rest of the app uses the string resources as written. They now use the strings unchanged.

  • add_package_name now reads "Package name" instead of "package name". This also fixes the filter info dialog's title for package-name filters. German was already right.
  • DialogButtonLabelTest and FilterTypeLabelTest render the dialogs and the editor under Robolectric and check the labels. For that, app/build.gradle adds testImplementation(composeBom) and ui-test-junit4 to unit tests, and the composables' viewState overloads are internal instead of private.
  • values-de has no cancel or yes translations, so German users still see English for those two.

🤖 Generated with Claude Code

@hameno
hameno enabled auto-merge (rebase) October 9, 2026 20:55
@hameno
hameno force-pushed the feature/dialog_button_sentence_case branch from 8bb744c to 475a86f Compare October 9, 2026 20:56
@hameno hameno changed the title Show dialog button labels in sentence case Show dialog and filter button labels in sentence case Oct 9, 2026
@github-actions

github-actions Bot commented Oct 9, 2026 •

Copy link
Copy Markdown

Test Results

41 tests  +7   41 ✅ +7   25s ⏱️ +15s
 9 suites +2    0 💤 ±0 
 9 files   +2    0 ❌ ±0 

Results for commit a98ba8b. ± Comparison against base commit fed64e4.

♻️ This comment has been updated with latest results.

The package filter dialogs and the profile editor's add-filter buttons
upper-cased their labels in code ("CANCEL", "ADD", "YES", "CLOSE",
"PACKAGE NAME", "APP SIGNATURE"), while the rest of the app uses the
string resources as written. They now use the strings unchanged, and
add_package_name reads "Package name" instead of "package name".

Compose UI tests also run as Robolectric unit tests now, so the labels
are covered by DialogButtonLabelTest and FilterTypeLabelTest.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@hameno
hameno force-pushed the feature/dialog_button_sentence_case branch from 01be8ee to a98ba8b Compare October 10, 2026 13:07
@hameno
hameno merged commit 8a8e0fa into master Oct 10, 2026
2 checks passed
@hameno
hameno deleted the feature/dialog_button_sentence_case branch October 10, 2026 13:13
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