diff options
-rw-r--r-- | app/views/admin/blog/comments/index.html.erb | 3 | ||||
-rw-r--r-- | config/locales/en.yml | 3 |
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 |