From ffa7b65e82038afd499459afd4c3fd9ad0538e9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?U=C4=A3is=20Ozols?= Date: Fri, 3 Dec 2010 13:57:39 +0200 Subject: Use rails naming convention for translations that contain html markup. --- app/views/admin/blog/comments/_comment.html.erb | 2 +- app/views/admin/blog/posts/_post.html.erb | 2 +- config/locales/en.yml | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/views/admin/blog/comments/_comment.html.erb b/app/views/admin/blog/comments/_comment.html.erb index d762067..547b9e4 100644 --- a/app/views/admin/blog/comments/_comment.html.erb +++ b/app/views/admin/blog/comments/_comment.html.erb @@ -6,7 +6,7 @@ <%= link_to refinery_icon_tag("application_go.png"), blog_post_url(comment.post, :anchor => "comment-#{comment.to_param}"), - :title => t('.view_live'), + :title => t('.view_live_html'), :target => "_blank" unless comment.unmoderated? %> <%= link_to refinery_icon_tag('zoom.png'), admin_blog_comment_path(comment), :title => t('.read') %> diff --git a/app/views/admin/blog/posts/_post.html.erb b/app/views/admin/blog/posts/_post.html.erb index 795f897..1f51932 100644 --- a/app/views/admin/blog/posts/_post.html.erb +++ b/app/views/admin/blog/posts/_post.html.erb @@ -5,7 +5,7 @@ <%= link_to refinery_icon_tag("application_go.png"), blog_post_url(post), - :title => t('.view_live'), + :title => t('.view_live_html'), :target => "_blank" %> <%= link_to refinery_icon_tag("application_edit.png"), edit_admin_blog_post_path(post), :title => t('.edit') %> diff --git a/config/locales/en.yml b/config/locales/en.yml index d48621e..14f148f 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -13,7 +13,7 @@ en: comments: approved: 'The comment from "%{author}" has been approved.' comment: - view_live: View this comment live
(opens in a new window) + view_live_html: View this comment live
(opens in a new window) read: Read this comment reject: Reject this comment approve: Approve this comment @@ -41,7 +41,7 @@ en: index: no_items_yet: 'There are no Blog Posts yet. Click "%{create}" to add your first blog post.' post: - view_live: View this blog post live
(opens in a new window) + view_live_html: View this blog post live
(opens in a new window) edit: Edit this blog post delete: Remove this blog post forever settings: -- cgit v1.2.3