diff --git a/app/views/user_notifications/digest.html.erb b/app/views/user_notifications/digest.html.erb index 685df1817..52b3e7679 100644 --- a/app/views/user_notifications/digest.html.erb +++ b/app/views/user_notifications/digest.html.erb @@ -44,7 +44,7 @@ <ul> <li> <%= link_to t.title, "#{Discourse.base_url}#{t.relative_url}" %> - <span class='post-count'><%= t('user_notifications.digest.posts', count: t.posts_count) %></span> + <span class='post-count'><%= t.posts_count %></span> <%= category_badge(t.category) %> </li> </ul> diff --git a/app/views/user_notifications/digest.text.erb b/app/views/user_notifications/digest.text.erb index f4e8a7825..3091e529a 100644 --- a/app/views/user_notifications/digest.text.erb +++ b/app/views/user_notifications/digest.text.erb @@ -22,7 +22,7 @@ **<%=t 'user_notifications.digest.other_new_topics' %>** <%- @new_topics.each do |t| %> -* <%= raw(@markdown_linker.create(t.title, t.relative_url)) %> - <%= t('user_notifications.digest.posts', count: t.posts_count) %> - <%- if t.category %>[<%= t.category.name %>]<%- end %> +* <%= raw(@markdown_linker.create(t.title, t.relative_url)) %> - <%= t.posts_count %> - <%- if t.category %>[<%= t.category.name %>]<%- end %> <%- end -%> <%- end -%> diff --git a/config/locales/server.en.yml b/config/locales/server.en.yml index 6767636e8..5cefe4063 100644 --- a/config/locales/server.en.yml +++ b/config/locales/server.en.yml @@ -1890,10 +1890,6 @@ en: more_topics: "There were %{new_topics_since_seen} other new topics." more_topics_category: "More new topics:" - posts: - one: "1 post" - other: "%{count} posts" - forgot_password: subject_template: "[%{site_name}] Password reset" text_body_template: |