remove extra "posts" text from digest

This commit is contained in:
Jeff Atwood 2015-05-31 23:13:00 -07:00
parent 644c9b437c
commit 728a530d2d
3 changed files with 2 additions and 6 deletions

View File

@ -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>

View File

@ -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 -%>

View File

@ -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: |