Fix some I18n translations.
This commit is contained in:
parent
a86b7698a1
commit
806aef1858
3 changed files with 13 additions and 7 deletions
|
@ -14,10 +14,10 @@
|
||||||
<div id='page-tabs' class='clearfix ui-tabs ui-widget ui-widget-content ui-corner-all'>
|
<div id='page-tabs' class='clearfix ui-tabs ui-widget ui-widget-content ui-corner-all'>
|
||||||
<ul id='page_parts'>
|
<ul id='page_parts'>
|
||||||
<li class='ui-state-default ui-state-active'>
|
<li class='ui-state-default ui-state-active'>
|
||||||
<%= link_to t('body', :scope => 'activerecord.attributes.refinery.blog_post'), "#page_part_body" %>
|
<%= link_to t('body', :scope => 'activerecord.attributes.refinery/blog_post'), "#page_part_body" %>
|
||||||
</li>
|
</li>
|
||||||
<li class='ui-state-default'>
|
<li class='ui-state-default'>
|
||||||
<%= link_to t('teaser', :scope => 'activerecord.attributes.refinery.blog_post'), "#page_part_teaser" %>
|
<%= link_to t('teaser', :scope => 'activerecord.attributes.refinery/blog_post'), "#page_part_teaser" %>
|
||||||
</li>
|
</li>
|
||||||
<% Refinery::Blog.tabs.each_with_index do |tab, tab_index| %>
|
<% Refinery::Blog.tabs.each_with_index do |tab, tab_index| %>
|
||||||
<li class='ui-state-default' id="custom_<%= tab.name %>_tab">
|
<li class='ui-state-default' id="custom_<%= tab.name %>_tab">
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<aside id="comments">
|
<aside id="comments">
|
||||||
<h2><%= t('.comments.title') %></h2>
|
<h2><%= t('title', :scope => 'refinery.blog.posts.show.comments') %></h2>
|
||||||
<% if (comments = @blog_post.comments.approved).any? %>
|
<% if (comments = @blog_post.comments.approved).any? %>
|
||||||
<%= render :partial => "comment", :collection => comments %>
|
<%= render :partial => "comment", :collection => comments %>
|
||||||
<% else %>
|
<% else %>
|
||||||
|
@ -14,7 +14,7 @@
|
||||||
</div>
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<h2><%= t('.comments.add') %></h2>
|
<h2><%= t('add', :scope => 'refinery.blog.posts.show.comments') %></h2>
|
||||||
<%= form_for [main_app, :blog_post, @blog_comment] do |f| %>
|
<%= form_for [main_app, :blog_post, @blog_comment] do |f| %>
|
||||||
<%= render :partial => "/refinery/admin/error_messages",
|
<%= render :partial => "/refinery/admin/error_messages",
|
||||||
:locals => {
|
:locals => {
|
||||||
|
|
|
@ -1,11 +1,17 @@
|
||||||
<nav id="next_prev_article">
|
<nav id="next_prev_article">
|
||||||
<% if @blog_post.next.present? -%>
|
<% if @blog_post.next.present? -%>
|
||||||
<%= link_to (truncate(@blog_post.next.title) + " »").html_safe, @blog_post.next, :class => 'next' %>
|
<%= link_to (truncate(@blog_post.next.title) + " »").html_safe,
|
||||||
|
main_app.url_for(@blog_post.next),
|
||||||
|
:class => 'next' %>
|
||||||
<% end -%>
|
<% end -%>
|
||||||
|
|
||||||
<%= link_to t('blog_home', :scope => 'blog.posts.show'), blog_root_path, :class => 'home' %>
|
<%= link_to t('blog_home', :scope => 'refinery.blog.posts.show'),
|
||||||
|
main_app.blog_root_path,
|
||||||
|
:class => 'home' %>
|
||||||
|
|
||||||
<% if @blog_post.prev.present? -%>
|
<% if @blog_post.prev.present? -%>
|
||||||
<%= link_to ("« " + truncate(@blog_post.prev.title)).html_safe, @blog_post.prev, :class => 'prev' %>
|
<%= link_to ("« " + truncate(@blog_post.prev.title)).html_safe,
|
||||||
|
main_app.url_for(@blog_post.prev),
|
||||||
|
:class => 'prev' %>
|
||||||
<% end -%>
|
<% end -%>
|
||||||
</nav><!-- /next_prev_article -->
|
</nav><!-- /next_prev_article -->
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue