Skip to content

Commit

Permalink
Mark up strings so that it works for translations.
Browse files Browse the repository at this point in the history
Signed-off-by: Frédéric de Villamil <frederic@de-villamil.com>
  • Loading branch information
graaff authored and Frédéric de Villamil committed Mar 21, 2009
1 parent 2bfc870 commit 643c1c6
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/views/admin/categories/new.html.erb
@@ -1,4 +1,4 @@
<% @page_heading = _("#{controller.action_name.capitalize} Category") %>
<% @page_heading = _("%s Category") % controller.action_name.capitalize %>
<% subtabs_for(:content) %>
<% form_tag :action=>"edit", :id => @category.id do %>
<div class="admin">
Expand Down
2 changes: 1 addition & 1 deletion app/views/articles/_comment_box.html.erb
Expand Up @@ -16,7 +16,7 @@
<table cellpadding="4" cellspacing="0" class="frm-tbl">
<tr>
<td><p><label for="comment_author"><%= _("Your name")%></label></p></td>
<td> <%= text_field "comment", "author", :size => 20 %> <small><%= link_to_function("(leave url/email &#187;)", "Element.toggle('guest_url'); Element.toggle('guest_email')") %></small></td>
<td> <%= text_field "comment", "author", :size => 20 %> <small><%= link_to_function(_("(leave url/email &#187;)"), "Element.toggle('guest_url'); Element.toggle('guest_email')") %></small></td>
</tr>
<tr id="guest_url" style="display:none;">
<td><p><label for="comment_url"><%= _("Your blog")%></label></p></td>
Expand Down
2 changes: 1 addition & 1 deletion app/views/articles/_comment_failed.html.erb
@@ -1,4 +1,4 @@
<%= error_messages_for 'comment' %>
<li>
<%= _("Opps, something wrong happened, the comment could not be saved")%>
<%= _("Oops, something wrong happened, the comment could not be saved")%>
</li>
2 changes: 1 addition & 1 deletion app/views/articles/read.html.erb
Expand Up @@ -27,7 +27,7 @@
<%= article_links @article %>
</p>
<% if @article.allow_comments? or @article.published_comments.size > 0 -%>
<a name="comments"></a><h4 class="blueblk">Comments</h4>
<a name="comments"></a><h4 class="blueblk"><%= _('Comments') %></h4>
<% unless @article.comments_closed? -%>
<p class="postmetadata alt">
<small><a href="#respond"><%= _("Leave a response")%></a></small>
Expand Down

0 comments on commit 643c1c6

Please sign in to comment.