Skip to content

Conversation

@joshlarson
Copy link
Contributor

Scope

Asana Ticket: [SF/UD] Don't pluralize 1 trip later today

Implementation

  • Proper usage of ngettext/4

Screenshots

Screenshot 2026-01-21 at 7 10 24 PM

How to test

Two options, the hard way and the easy way:

Hard way: Search around until you find a route/stop combo with exactly six trips left. You should see the message 1 trip later today.

Easy way (local only): Add |> Enum.take(6) to this line, and then look at a frequent bus route (e.g. the 39).

@joshlarson joshlarson requested a review from a team as a code owner January 22, 2026 00:14
@joshlarson joshlarson requested a review from thecristen January 22, 2026 00:14
@joshlarson joshlarson enabled auto-merge (squash) January 22, 2026 00:14
Copy link
Collaborator

@thecristen thecristen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool!!

@joshlarson joshlarson merged commit 8b682dd into main Jan 22, 2026
17 checks passed
@joshlarson joshlarson deleted the jdl/sf2.0/ud/dont-pluralize-1-trips-later-today branch January 22, 2026 01:38
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.

3 participants