]> git.openstreetmap.org Git - rails.git/commitdiff
localized link to home location
authorŠtefan Baebler <stefan.baebler@gmail.com>
Tue, 18 Aug 2009 18:26:01 +0000 (18:26 +0000)
committerŠtefan Baebler <stefan.baebler@gmail.com>
Tue, 18 Aug 2009 18:26:01 +0000 (18:26 +0000)
app/views/site/edit.html.erb

index 142d7a3f312f1678b2a890c49bd7ab4144a1658e..79b1f64af3d6da3dfb9418dae2931e06f0bea92d 100644 (file)
@@ -12,7 +12,7 @@
 <% else %>
 <% content_for :greeting do %>
 <% if @user and !@user.home_lon.nil? and !@user.home_lat.nil? %>
-<%= link_to_function 'home', "setPosition(#{@user.home_lat}, #{@user.home_lon}, 10)" %> |
+<%= link_to_function t('layouts.home'), "setPosition(#{@user.home_lat}, #{@user.home_lon}, 10)", { :title => t('layouts.home_tooltip') } %> |
 <% end %>
 <% end %>