diff options
author | Philip Arndt <parndt@gmail.com> | 2011-07-01 09:12:27 +1200 |
---|---|---|
committer | Philip Arndt <parndt@gmail.com> | 2011-07-01 09:12:27 +1200 |
commit | 47a71b309f4fb364449167ddc6ed978b6969e047 (patch) | |
tree | 842ef03d0fbec90a14666cdeaf6285d54d6feed0 /app/views/admin/blog/categories/index.html.erb | |
parent | 46021c66f476747a21ee62bf7acbcd9cb169bd25 (diff) | |
download | refinerycms-blog-47a71b309f4fb364449167ddc6ed978b6969e047.tar.gz refinerycms-blog-47a71b309f4fb364449167ddc6ed978b6969e047.tar.bz2 refinerycms-blog-47a71b309f4fb364449167ddc6ed978b6969e047.zip |
Making use of translation scopes.
Diffstat (limited to 'app/views/admin/blog/categories/index.html.erb')
-rw-r--r-- | app/views/admin/blog/categories/index.html.erb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/admin/blog/categories/index.html.erb b/app/views/admin/blog/categories/index.html.erb index 60ade7a..5d17d42 100644 --- a/app/views/admin/blog/categories/index.html.erb +++ b/app/views/admin/blog/categories/index.html.erb @@ -1,12 +1,12 @@ <%= render :partial => '/admin/blog/submenu' %> <div id='records'> <% if searching? %> - <h2><%= t('shared.admin.search.results_for', :query => params[:search]) %></h2> + <h2><%= t('results_for', :scope => 'shared.admin.search', :query => params[:search]) %></h2> <% if @blog_categories.any? %> <%= render :partial => "blog_categories", :collection => @blog_categories %> <% else %> - <p><%= t('admin.search_no_results') %></p> + <p><%= t('search_no_results', :scope => 'admin') %></p> <% end %> <% else %> <% if @blog_categories.any? %> @@ -18,7 +18,7 @@ <% else %> <p> <strong> - <%= t('.no_items_yet', :create => t('admin.blog.submenu.categories.new')) %> + <%= t('.no_items_yet', :create => t('new', :scope => 'admin.blog.submenu.categories')) %> </strong> </p> <% end %> |