diff options
-rw-r--r-- | app/views/admin/blog/posts/_form.html.erb | 6 | ||||
-rw-r--r-- | config/locales/en.yml | 1 |
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 |