Skip to content

Fix broken pluralizations #3043

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

Merged
merged 3 commits into from
Nov 27, 2020
Merged

Fix broken pluralizations #3043

merged 3 commits into from
Nov 27, 2020

Conversation

Turbo87
Copy link
Member

@Turbo87 Turbo87 commented Nov 24, 2020

Passing the formatted number into the pluralize helper doesn't work quite as expected, and in these cases we already know the pluralization, so using the pluralize helper is somewhat pointless anyway.

Resolves #3042

r? @jtgeibel

Passing the formatted number into the `pluralize` helper doesn't work quite as expected, and in these cases we already know the pluralization, so using the `pluralize` helper is somewhat pointless anyway.
@balsoft
Copy link

balsoft commented Nov 24, 2020

Thank you for quick response!

I think it would also be nice to add a test or two here so that the issue won't be reintroduced.

…erty

Otherwise we'd have to generate thousands of crates if we want to test the rendering of such a big number
@locks
Copy link
Contributor

locks commented Nov 27, 2020

@bors r+

@bors
Copy link
Contributor

bors commented Nov 27, 2020

📌 Commit 2e5c7b3 has been approved by locks

@bors
Copy link
Contributor

bors commented Nov 27, 2020

⌛ Testing commit 2e5c7b3 with merge 97bf0a7...

@bors
Copy link
Contributor

bors commented Nov 27, 2020

☀️ Test successful - checks-actions
Approved by: locks
Pushing 97bf0a7 to master...

@bors bors merged commit 97bf0a7 into rust-lang:master Nov 27, 2020
@Turbo87 Turbo87 deleted the plural branch November 28, 2020 15:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-frontend 🐹 C-bug 🐞 Category: unintended, undesired behavior
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Pluralization of crate counts in categories and keywords is broken
6 participants