Fix untranslatable string
authorTom Hughes <tom@compton.nu>
Sun, 8 Dec 2013 11:02:43 +0000 (11:02 +0000)
committerTom Hughes <tom@compton.nu>
Sun, 8 Dec 2013 11:02:43 +0000 (11:02 +0000)
app/views/browse/_common_details.html.erb
config/locales/en.yml

index ede9e14c5b3b515d2c23acf532e779123b59a5f5..054ffbd792f49d99be526f37767a5b924ef281a6 100644 (file)
@@ -25,7 +25,7 @@
 
 <% if @type == "node" %>
 <div class="details geo">
-  Location:
+  <%= t 'browse.location' %>
   <%= link_to(content_tag(:span, number_with_delimiter(common_details.lat), :class => "latitude") + ", " + content_tag(:span, number_with_delimiter(common_details.lon), :class => "longitude"), {:controller => 'site', :action => 'index', :lat => h(common_details.lat), :lon => h(common_details.lon), :zoom => "18"}) %>
 </div>
 <% end %>
index 46f88d19b0e64f51e73f74ff46bae08edf1d2803..034e25e2b80168a2124377101727bf9b68be7524 100644 (file)
@@ -111,6 +111,7 @@ en:
     download_xml: "Download XML"
     view_history: "View History"
     view_details: "View Details"
+    location: "Location:"
     changeset:
       title: "Changeset: %{id}"
       belongs_to: "Author"