aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilip Arndt <parndt@gmail.com>2010-08-09 21:19:27 +1200
committerPhilip Arndt <parndt@gmail.com>2010-08-09 21:19:27 +1200
commit7ee1410c9689639ead4df51ba21dcb69840a4519 (patch)
treecbdd180f5d8883d91c6df7b0ffcb720b932cd935
parentaa0b978a06d41a8ac5c47daff91bfd79d7a86cd0 (diff)
downloadrefinerycms-blog-7ee1410c9689639ead4df51ba21dcb69840a4519.tar.gz
refinerycms-blog-7ee1410c9689639ead4df51ba21dcb69840a4519.tar.bz2
refinerycms-blog-7ee1410c9689639ead4df51ba21dcb69840a4519.zip
Add language string for no comments yet, works for approved and rejected too.
-rw-r--r--app/views/admin/blog/comments/index.html.erb3
-rw-r--r--config/locales/en.yml3
2 files changed, 5 insertions, 1 deletions
diff --git a/app/views/admin/blog/comments/index.html.erb b/app/views/admin/blog/comments/index.html.erb
index f27bae3..e2835cd 100644
--- a/app/views/admin/blog/comments/index.html.erb
+++ b/app/views/admin/blog/comments/index.html.erb
@@ -22,7 +22,8 @@
<% else %>
<p>
<strong>
- <%= t('.no_items_yet') %>
+ <%= t('.no_items_yet',
+ :type => (t("admin.blog.submenu.comments.#{action_name}").downcase unless action_name == 'index')) %>
</strong>
</p>
<% end %>
diff --git a/config/locales/en.yml b/config/locales/en.yml
index 1398720..0680752 100644
--- a/config/locales/en.yml
+++ b/config/locales/en.yml
@@ -11,6 +11,9 @@ en:
view_live: View this blog post live <br/><em>(opens in a new window)</em>
edit: Edit this blog post
delete: Remove this blog post forever
+ comments:
+ index:
+ no_items_yet: There are no {{type}} comments yet.
submenu:
categories:
title: Categories