aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUģis Ozols <ugis.ozolss@gmail.com>2010-12-03 13:57:39 +0200
committerUģis Ozols <ugis.ozolss@gmail.com>2010-12-03 13:57:39 +0200
commitffa7b65e82038afd499459afd4c3fd9ad0538e9f (patch)
tree331a15514b0022a63f395e71d65c00604b30e24b
parenta914c2721e85802a7c95fdc74a4a45d0d1248599 (diff)
downloadrefinerycms-blog-ffa7b65e82038afd499459afd4c3fd9ad0538e9f.tar.gz
refinerycms-blog-ffa7b65e82038afd499459afd4c3fd9ad0538e9f.tar.bz2
refinerycms-blog-ffa7b65e82038afd499459afd4c3fd9ad0538e9f.zip
Use rails naming convention for translations that contain html markup.
-rw-r--r--app/views/admin/blog/comments/_comment.html.erb2
-rw-r--r--app/views/admin/blog/posts/_post.html.erb2
-rw-r--r--config/locales/en.yml4
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 @@
<span class='actions'>
<%= 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 @@
</span>
<span class='actions'>
<%= 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 <br/><em>(opens in a new window)</em>
+ view_live_html: View this comment live <br/><em>(opens in a new window)</em>
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 <br/><em>(opens in a new window)</em>
+ view_live_html: View this blog post live <br/><em>(opens in a new window)</em>
edit: Edit this blog post
delete: Remove this blog post forever
settings: