Last of the databrowser i18n
This commit is contained in:
parent
c8aa5a17b1
commit
b22ae71613
5 changed files with 28 additions and 13 deletions
|
@ -1,6 +1,6 @@
|
|||
<% 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 %>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<%= 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| %>
|
||||
|
@ -15,7 +15,7 @@
|
|||
|
||||
<% 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 %>
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
<%
|
||||
@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" %>
|
||||
|
@ -15,9 +15,8 @@
|
|||
<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>
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
<%
|
||||
@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">
|
||||
|
@ -11,9 +11,8 @@
|
|||
<%= 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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue