Commit 6da3d1f10b6c1dbd0d0f5c80782724b89a5cb4d0
1 parent
29aa1c0d
Exists in
master
and in
22 other branches
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 | 3 | <table class='noborder current-month'> |
4 | 4 | <caption> |
5 | 5 | <h2><%= show_month(params[:year], params[:month]) %></h2> |
6 | - <%= link_to_previous_month(params[:year], params[:month], '« previous') %> | |
7 | - <%= link_to_next_month(params[:year], params[:month], 'next »') %> | |
6 | + <%= link_to_previous_month(params[:year], params[:month], '« %s' % _('previous')) %> | |
7 | + <%= link_to_next_month(params[:year], params[:month], '%s »' % _('next')) %> | |
8 | 8 | </caption> |
9 | 9 | <%= render :partial => 'events/month', :locals => {:calendar => @calendar, :abbreviated => true} %> |
10 | 10 | </table> | ... | ... |