Skip to content

Singularize 'card ready' for a single ready card#13

Merged
bootuz merged 1 commit into
mainfrom
fix/cards-ready-pluralization
Jun 4, 2026
Merged

Singularize 'card ready' for a single ready card#13
bootuz merged 1 commit into
mainfrom
fix/cards-ready-pluralization

Conversation

@bootuz
Copy link
Copy Markdown
Owner

@bootuz bootuz commented Jun 4, 2026

Summary

The Today/Queue home always rendered the plural label "cards ready", so with exactly one card it read "1 cards ready". Pluralize based on readyCount.

Text(if (state.readyCount == 1) "card ready" else "cards ready", ...)

Now: "1 card ready" for one, "N cards ready" otherwise. Kept inline to match this screen's existing string style (no strings.xml plural resources in use).

Test plan

  • :app:compileDebugKotlin BUILD SUCCESSFUL.
  • Visual: queue with exactly 1 ready card shows "1 card ready"; with 0 or 2+ shows "cards ready".

🤖 Generated with Claude Code

@bootuz bootuz merged commit 80d7b43 into main Jun 4, 2026
1 check passed
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