aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoe Sak <joe@joesak.com>2011-06-30 10:32:54 -0700
committerJoe Sak <joe@joesak.com>2011-06-30 10:32:54 -0700
commitf251f7d0169ca46926272557a706060e9f815624 (patch)
tree6d2f286e215ec952618125aee7828d67fef40fc5
parent7fa3b305098080c7478a1c176efa8edbe9aa7eda (diff)
parent0825e0af44bf28d758eb77a185d9ff6becbf6798 (diff)
downloadrefinerycms-blog-f251f7d0169ca46926272557a706060e9f815624.tar.gz
refinerycms-blog-f251f7d0169ca46926272557a706060e9f815624.tar.bz2
refinerycms-blog-f251f7d0169ca46926272557a706060e9f815624.zip
Merge pull request #88 from mirosr/master
Fixed some embeded strings in English in admin/blog/posts/_form partial (Issue #86)
-rw-r--r--app/views/admin/blog/posts/_form.html.erb6
-rw-r--r--config/locales/en.yml1
2 files changed, 4 insertions, 3 deletions
diff --git a/app/views/admin/blog/posts/_form.html.erb b/app/views/admin/blog/posts/_form.html.erb
index fcec218..13dbcf3 100644
--- a/app/views/admin/blog/posts/_form.html.erb
+++ b/app/views/admin/blog/posts/_form.html.erb
@@ -14,10 +14,10 @@
<div id='page-tabs' class='clearfix ui-tabs ui-widget ui-widget-content ui-corner-all'>
<ul id='page_parts'>
<li class='ui-state-default ui-state-active'>
- <%= link_to "Body", "#page_part_body" %>
+ <%= link_to t('activerecord.attributes.blog_post.body'), "#page_part_body" %>
</li>
<li class='ui-state-default'>
- <%= link_to "Teaser", "#page_part_teaser" %>
+ <%= link_to t('activerecord.attributes.blog_post.teaser'), "#page_part_teaser" %>
</li>
<% Refinery::Blog.tabs.each_with_index do |tab, tab_index| %>
<li class='ui-state-default' id="custom_<%= tab.name %>_tab">
@@ -49,7 +49,7 @@
</div>
<div class='field'>
- <%= f.label :tag_list, "Tags" -%>
+ <%= f.label :tag_list, t('blog.shared.tags.title') -%>
<%= f.text_field :tag_list, :class => 'larger' -%>
</div>
diff --git a/config/locales/en.yml b/config/locales/en.yml
index a14f18c..1510258 100644
--- a/config/locales/en.yml
+++ b/config/locales/en.yml
@@ -155,3 +155,4 @@ en:
blog_post:
title: Title
body: Body
+ teaser: Teaser