X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/22292debda11f9940ed98faa5f9c01697d6bfcaa..3622db1665a51795cd381745b59693d88d66f699:/app/views/browse/_changeset_details.rhtml
diff --git a/app/views/browse/_changeset_details.rhtml b/app/views/browse/_changeset_details.rhtml
index 6408b489b..92002b6e3 100644
--- a/app/views/browse/_changeset_details.rhtml
+++ b/app/views/browse/_changeset_details.rhtml
@@ -1,18 +1,18 @@
- Created at: |
- <%= h(changeset_details.created_at) %> |
+ <%= t 'browse.changeset_details.created_at' %> |
+ <%= l changeset_details.created_at %> |
- Closed at: |
- <%= h(changeset_details.closed_at) %> |
+ <%= t 'browse.changeset_details.closed_at' %> |
+ <%= l changeset_details.closed_at %> |
<% if changeset_details.user.data_public? %>
- Belongs to: |
+ <%= t 'browse.changeset_details.belongs_to' %> |
<%= link_to h(changeset_details.user.display_name), :controller => "user", :action => "view", :display_name => changeset_details.user.display_name %> |
<% end %>
@@ -20,9 +20,9 @@
<%= render :partial => "tag_details", :object => changeset_details %>
- Bounding box: |
+ <%= t 'browse.changeset_details.bounding_box' %> |
<% unless changeset_details.has_valid_bbox? %>
- No bounding box has been stored for this changeset. |
+ <%= t 'browse.changeset_details.no_bounding_box' %> |
<% else
minlon = changeset_details.min_lon/GeoRecord::SCALE.to_f
minlat = changeset_details.min_lat/GeoRecord::SCALE.to_f
@@ -36,7 +36,7 @@
<%=minlon -%> |
- (box) |
+ ('><%= t 'browse.changeset_details.box' %>) |
<%=maxlon -%> |
@@ -49,7 +49,7 @@
<% unless @nodes.empty? %>
- Has the following <%= @node_pages.item_count %> nodes: |
+ <%= t 'browse.changeset_details.has_nodes', :node_count => @node_pages.item_count %> |
<% @nodes.each do |node| %>
@@ -63,7 +63,7 @@
<% unless @ways.empty? %>
- Has the following <%= @way_pages.item_count %> ways: |
+ <%= t 'browse.changeset_details.has_ways', :way_count => @way_pages.item_count %> |
<% @ways.each do |way| %>
@@ -80,7 +80,7 @@
<% unless @relations.empty? %>
- Has the following <%= @relation_pages.item_count %> relations: |
+ <%= t 'browse.changeset_details.has_relations', :relation_count => @relation_pages.item_count %> |
<% @relations.each do |relation| %>
| | |