diff options
author | Philip Arndt <parndt@gmail.com> | 2010-08-09 21:19:27 +1200 |
---|---|---|
committer | Philip Arndt <parndt@gmail.com> | 2010-08-09 21:19:27 +1200 |
commit | 7ee1410c9689639ead4df51ba21dcb69840a4519 (patch) | |
tree | cbdd180f5d8883d91c6df7b0ffcb720b932cd935 | |
parent | aa0b978a06d41a8ac5c47daff91bfd79d7a86cd0 (diff) | |
download | refinerycms-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.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 |