X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/fd6f00b069af5a7b87227ea4c3401dc461d7311a..5b0024e61abe15543740bdc4b58c673d62a394d2:/app/views/changeset/list_bbox.rhtml diff --git a/app/views/changeset/list_bbox.rhtml b/app/views/changeset/list_bbox.rhtml index e1cf9aedb..87c61790c 100644 --- a/app/views/changeset/list_bbox.rhtml +++ b/app/views/changeset/list_bbox.rhtml @@ -1,4 +1,4 @@ -

History

+

<%= t'changeset.list_bbox.history' %>

<% if @bbox!=nil minlon = @bbox[0] @@ -8,32 +8,20 @@ if @bbox!=nil %>

-Changesets within the area: - (<%= format("%0.3f",minlon) -%>,<%= format("%0.3f",minlat) -%>,<%= format("%0.3f",maxlon) -%>,<%= format("%0.3f",maxlat) -%>) +<%= t'changeset.list_bbox.changesets_within_the_area' %> + ('><%= format("%0.3f",minlon) -%>,<%= format("%0.3f",minlat) -%>,<%= format("%0.3f",maxlon) -%>,<%= format("%0.3f",maxlat) -%>)

<% if @edits.nil? or @edits.empty? %> -

No changesets

+

<%= t'changeset.list_bbox.no_changesets' %>

<% else %> <%= render :partial => 'changeset_paging_nav' %> - - - - - - - - - - - <%= render :partial => 'changeset', :locals => {:showusername => true}, :collection => @edits unless @edits.nil? %> -
IDSaved atUserCommentArea
- +<%= render :partial => 'changesets' %> <%= render :partial => 'changeset_paging_nav' %> -

For all changes everywhere see <%= link_to("Recent Changes", :controller => "browse", :action => "changesets") %>

+

<%= t'changeset.list_bbox.all_changes_everywhere' , :recent_changes_link => link_to(t('changeset.list_bbox.recent_changes'), :controller => "browse", :action => "changesets") %>

<% end @@ -42,9 +30,9 @@ else #bbox is nil. happens if the user surfs to this page directly. %> -

No area specified

-

First use the view tab to pan and zoom to an area of interest, then click the history tab.

-

Alternatively view all <%= link_to("recent changes", :controller => "browse", :action => "changesets") %>

+

<%= t'changeset.list_bbox.no_area_specified' %>

+

<%= t'changeset.list_bbox.first_use_view', :view_tab_link => '' + t('changeset.list_bbox.view_tab') + '' %>

+

<%= t'changeset.list_bbox.alternatively_view', :recent_changes_link => link_to(t('changeset.list_bbox.recent_changes'), :controller => "browse", :action => "changesets") %>

<% end