]> git.openstreetmap.org Git - rails.git/blobdiff - app/helpers/issues_helper.rb
Bump eslint from 8.56.0 to 8.57.0
[rails.git] / app / helpers / issues_helper.rb
index 4538863348c471b66caa19cdeba03d35d0a963d1..55bd0952f7ef27047117953f1010a833a161bfba 100644 (file)
@@ -28,7 +28,7 @@ module IssuesHelper
   def open_issues_count
     count = Issue.visible_to(current_user).open.limit(Settings.max_issues_count).size
     if count >= Settings.max_issues_count
-      tag.span("#{Settings.max_issues_count}+", :class => "badge count-number")
+      tag.span(I18n.t("count.at_least_pattern", :count => Settings.max_issues_count), :class => "badge count-number")
     elsif count.positive?
       tag.span(count, :class => "badge count-number")
     end