]> git.openstreetmap.org Git - rails.git/commitdiff
more databrowser i18n
authorAndy Allan <gravitystorm@gmail.com>
Sat, 30 May 2009 16:17:10 +0000 (16:17 +0000)
committerAndy Allan <gravitystorm@gmail.com>
Sat, 30 May 2009 16:17:10 +0000 (16:17 +0000)
app/views/browse/_relation_details.rhtml
app/views/browse/relation_history.rhtml

index e2249e92fb753ffbd053d5d97ac45e654f798f4e..bb7d45e44b3fb37b379566ddfec418bf4c88f261 100644 (file)
@@ -4,7 +4,7 @@
 
   <% unless relation_details.relation_members.empty? %>
     <tr valign="top">
-      <th>Members:</th>
+      <th><%= t'browse.relation_details.members' %></th>
       <td>
         <table cellpadding="0">
           <%= render :partial => "relation_member", :collection => relation_details.relation_members %>
@@ -15,7 +15,7 @@
 
   <% unless relation_details.containing_relation_members.empty? %>
     <tr>
-      <th>Part of:</th>
+      <th><%= t'browse.relation_details.part_of' %></th>
       <td>
         <table cellpadding="0">
           <%= render :partial => "containing_relation", :collection => relation_details.containing_relation_members %>
index f6a3811ab69fe59a5f83fd7dc08723c2b57fb9ce..45f3d14004c8daa508b1fc595021943ba20167dd 100644 (file)
@@ -1,8 +1,8 @@
 <%
 @name = printable_name @relation
-@title = 'Relation History | ' + @name
+@title = t('browse.relation_history.relation_history') + ' | ' + @name
 %>
-<h2>Relation History: <%= h(@name) %></h2>
+<h2><%= t'browse.relation_history.relation_history_title', :relation_name => h(@name) %></h2>
 
 <table width="100%">
   <tr valign="top">