You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Correctly pluralize "version(s) since" on versions index page
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.
Copy file name to clipboardExpand all lines: config/locales/en.yml
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -707,7 +707,9 @@ en:
707
707
index:
708
708
not_hosted_notice: This gem is not currently hosted on RubyGems.org.
709
709
title: All versions of %{name}
710
-
versions_since: "%{count} versions since %{since}"
710
+
versions_since:
711
+
other: "%{count} versions since %{since}"
712
+
one: "1 version since %{since}"
711
713
imported_gem_version_notice: "This gem version was imported to RubyGems.org on %{import_date}. The date displayed was specified by the author in the gemspec."
0 commit comments