]> git.openstreetmap.org Git - rails.git/blobdiff - app/helpers/issues_helper.rb
Add default browse icons for nodes, ways, relations
[rails.git] / app / helpers / issues_helper.rb
index aab742bf5bbb68fe93129ebb831d6d53f35ae485..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 - 1}+", :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