remove extra "posts" text from digest
This commit is contained in:
parent
644c9b437c
commit
728a530d2d
|
@ -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>
|
||||
|
|
|
@ -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 -%>
|
||||
|
|
|
@ -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: |
|
||||
|
|
Loading…
Reference in New Issue