Skip to content
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

Correctly pluralize "version(s) since" on versions index page #4466

Merged
merged 1 commit into from
Feb 19, 2024

Conversation

albertchae
Copy link
Contributor

From #4460 (comment)

Added a test to verify this string is being pluralized properly.

Also added every locale with varying degrees of confidence

  • es/pt-BR: I know enough to be fairly confident this is correct
  • ja: I know enough to be fairly confident this is correct and verified
    with native speaker
  • fr: I verified with native speaker
  • de/nl: I used online translation tools to check singular vs plural
  • zh-CN/zh-TW: I don't think they pluralize, but I just copied the
    existing string into both other and one which maintains behavior
    before this PR anyway.

From rubygems#4460 (comment)

Added a test to verify this string is being pluralized properly.

Also added every locale with varying degrees of confidence
- es/pt-BR: I know enough to be fairly confident this is correct
- ja: I know enough to be fairly confident this is correct and verified
  with native speaker
- fr: I verified with native speaker
- de/nl: I used online translation tools to check singular vs plural
- zh-CN/zh-TW: I don't think they pluralize, but I just copied the
  existing string into both `other` and `one` which maintains behavior
  before this PR anyway.
@albertchae
Copy link
Contributor Author

albertchae commented Feb 19, 2024

I ran into the same issue as #4462 (comment) when running bin/fill-locales, so I will open a separate PR for that

EDIT: PR for ☝️ is #4467

Copy link
Member

@simi simi left a comment

Choose a reason for hiding this comment

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

Thanks for fixing this. Contributing all supported locales is amazing!

@simi simi enabled auto-merge (squash) February 19, 2024 18:37
@simi simi disabled auto-merge February 19, 2024 18:37
@simi simi enabled auto-merge (squash) February 19, 2024 18:37
@simi simi merged commit 6a3c35c into rubygems:master Feb 19, 2024
15 checks passed
@albertchae albertchae deleted the pluralize-versions branch February 20, 2024 07: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.

2 participants