<% unless tag_details.tags.empty? %>
<tr valign="top">
- <th>Tags:</th>
+ <th><%= t'browse.tag_details.tags' %></th>
<td>
<table cellpadding="0">
<%= render :partial => "tag", :collection => tag_details.tags.sort %>
<%= render :partial => "common_details", :object => way_details %>
<tr valign="top">
- <th>Nodes:</th>
+ <th><%= t'browse.way_details.nodes' %></th>
<td>
<table cellpadding="0">
<% way_details.way_nodes.each do |wn| %>
<% unless way_details.containing_relation_members.empty? %>
<tr valign="top">
- <th>Part of:</th>
+ <th><%= t'browse.way_details.part_of' %></th>
<td>
<table cellpadding="0">
<%= render :partial => "containing_relation", :collection => way_details.containing_relation_members %>
<%
@name = printable_name @way
-@title = 'Way | ' + @name
+@title = t('browse.way.way') + ' | ' + @name
%>
<table width="100%">
<tr>
<td>
- <h2>Way: <%= h(@name) %></h2>
+ <h2><%= t'browse.way.way_title', :way_name => h(@name) %></h2>
</td>
<td>
<%= render :partial => "navigation" %>
<td>
<%= render :partial => "way_details", :object => @way %>
<hr />
- <%= link_to "Download XML", :controller => "way", :action => "read" %>
- or
- <%= link_to "view history", :action => "way_history" %>
+ <%= t'browse.way.download', :download_xml_link => link_to(t('browse.way.download_xml'), :controller => "way", :action => "read"),
+ :view_history_link => link_to(t('browse.way.view_history'), :action => "way_history") %>
</td>
<%= render :partial => "map", :object => @way %>
</tr>
<%
@name = printable_name @way
-@title = 'Way History | ' + @name
+@title = t('browse.way_history.way_history') + ' | ' + @name
%>
-<h2>Way History: <%= h(@name) %></h2>
+<h2><%= t'browse.way_history.way_history_title', :way_name => h(@name) %></h2>
<table width="100%">
<tr valign="top">
<%= render :partial => "way_details", :object => way %>
<hr />
<% end %>
- <%= link_to "Download XML", :controller => "old_way", :action => "history" %>
- or
- <%= link_to "view details", :action => "way" %>
+ <%= t'browse.way_history.download', :download_xml_link => link_to(t('browse.way_history.download_xml'), :controller => "old_way", :action => "history"),
+ :view_details_link => link_to(t('browse.way_history.view_details'), :action => "way") %>
</td>
<%= render :partial => "map", :object => @way %>
</tr>
private_user: "private user"
edited_by: "Edited by"
at_timestamp: "at"
+ tag_details:
+ tags: "Tags:"
+ way_details:
+ nodes: "Nodes:"
+ part_of: "Part of:"
+ way_history:
+ way_history: "Way History"
+ way_history_title: "Way History: {{way_name}}"
+ download: "{{download_xml_link}} or {{view_details_link}}"
+ download_xml: "Download XML"
+ view_details: "view details"
+ way:
+ way: "Way"
+ way_title: "Way: {{way_name}}"
+ download: "{{download_xml_link}} or {{view_history_link}}"
+ download_xml: "Download XML"
+ view_history: "view history"
diary_entry:
list:
new: New Diary Entry