Commit 6da3d1f10b6c1dbd0d0f5c80782724b89a5cb4d0

Authored by Daniela Feitosa
1 parent 29aa1c0d

Added _() on agenda to translate strings

(ActionItem1989)
Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
app/views/events/_agenda.rhtml
@@ -3,8 +3,8 @@ @@ -3,8 +3,8 @@
3 <table class='noborder current-month'> 3 <table class='noborder current-month'>
4 <caption> 4 <caption>
5 <h2><%= show_month(params[:year], params[:month]) %></h2> 5 <h2><%= show_month(params[:year], params[:month]) %></h2>
6 - <%= link_to_previous_month(params[:year], params[:month], '&laquo; previous') %>  
7 - <%= link_to_next_month(params[:year], params[:month], 'next &raquo;') %> 6 + <%= link_to_previous_month(params[:year], params[:month], '&laquo; %s' % _('previous')) %>
  7 + <%= link_to_next_month(params[:year], params[:month], '%s &raquo;' % _('next')) %>
8 </caption> 8 </caption>
9 <%= render :partial => 'events/month', :locals => {:calendar => @calendar, :abbreviated => true} %> 9 <%= render :partial => 'events/month', :locals => {:calendar => @calendar, :abbreviated => true} %>
10 </table> 10 </table>