X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/61123eaeb4c59fc4a7cc64fad8fe4bc2645da38d..1a2ccfbb8fd0d5432fe09473af59ec0a1d3457c5:/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 c2f748bf1..68c8c1266 100644 --- a/app/views/diary_entry/list.html.erb +++ b/app/views/diary_entry/list.html.erb @@ -25,9 +25,9 @@ <%= 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 %> @@ -35,5 +35,5 @@ <%= 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 %>