Permalink
Browse files

Merge pull request #88 from mirosr/master

Fixed some embeded strings in English in admin/blog/posts/_form partial (Issue #86)
  • Loading branch information...
joemsak committed Jun 30, 2011
2 parents 7fa3b30 + 0825e0a commit f251f7d0169ca46926272557a706060e9f815624
Showing with 4 additions and 3 deletions.
  1. +3 −3 app/views/admin/blog/posts/_form.html.erb
  2. +1 −0 config/locales/en.yml
@@ -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>
View
@@ -155,3 +155,4 @@ en:
blog_post:
title: Title
body: Body
+ teaser: Teaser

0 comments on commit f251f7d

Please sign in to comment.