Browse Source

Translated country in the digest markdown

remotes/origin/master
echarp 3 years ago
parent
commit
9eaba72481
  1. 2
      app/helpers/digest_helper.rb

2
app/helpers/digest_helper.rb

@ -10,7 +10,7 @@ module DigestHelper
def count_by_country(events)
events.group_by { |e| e.region&.region || e.region }.collect do |region, es|
"#{region}: #{es.size}"
"#{t region.code, scope: :countries}: #{es.size}"
end.join ', '
end

Loading…
Cancel
Save