]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/diary_entries/_location.html.erb
Avoid lego translations for coordinates
[rails.git] / app / views / diary_entries / _location.html.erb
index e85be917a27bb2541d03c54f167ee7440616323e..d5860f11d8e4db5e549b331d0dd3be2ca52754d2 100644 (file)
@@ -1,7 +1,7 @@
 <%= t ".location" %>
 
 <a href="<%= url_for :controller => "site", :action => "index", :anchor => "map=14/#{location.latitude}/#{location.longitude}" %>">
-<abbr class="geo" title="<%= number_with_precision(location.latitude, :precision => 4) %>; <%= number_with_precision(location.longitude, :precision => 4) %>">
+<abbr class="geo" title="<%= t ".coordinates", :latitude => number_with_precision(location.latitude, :precision => 4), :longitude => number_with_precision(location.longitude, :precision => 4) %>">
 <%= describe_location location.latitude, location.longitude, 14, location.language_code %>
 </abbr>
 </a>