X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/edaddbedaec78a252e988e2271962407e64483fd..9968ea4308e6b6864fea9bf49b8f45fcc5bd118c:/app/views/diary_entry/list.html.erb diff --git a/app/views/diary_entry/list.html.erb b/app/views/diary_entry/list.html.erb index 00937d89e..68c8c1266 100644 --- a/app/views/diary_entry/list.html.erb +++ b/app/views/diary_entry/list.html.erb @@ -25,15 +25,15 @@ <%= render :partial => 'diary_entry', :collection => @entries %> - <%= link_to t('diary_entry.list.older_entries'), { :page => @entry_pages.current.next } if @entry_pages.current.next %> + <%= link_to t('diary_entry.list.older_entries'), { :page => @entry_pages.current.next, :language => params[:language] } if @entry_pages.current.next %> <% if @entry_pages.current.next and @entry_pages.current.previous %>|<% end %> - <%= link_to t('diary_entry.list.newer_entries'), { :page => @entry_pages.current.previous } if @entry_pages.current.previous %> + <%= link_to t('diary_entry.list.newer_entries'), { :page => @entry_pages.current.previous, :language => params[:language] } if @entry_pages.current.previous %>
<% end %> -<%= rss_link_to :action => 'rss' %> +<%= rss_link_to :action => 'rss', :language => params[:language] %> <% content_for :head do %> -<%= auto_discovery_link_tag :atom, :action => 'rss' %> +<%= auto_discovery_link_tag :atom, :action => 'rss', :language => params[:language] %> <% end %>