From: Štefan Baebler Date: Tue, 18 Aug 2009 18:26:01 +0000 (+0000) Subject: localized link to home location X-Git-Tag: live~6816 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/1f007b289c0597a098166c9327edca7d990c9e4e?ds=sidebyside;hp=-c localized link to home location --- 1f007b289c0597a098166c9327edca7d990c9e4e diff --git a/app/views/site/edit.html.erb b/app/views/site/edit.html.erb index 142d7a3f3..79b1f64af 100644 --- a/app/views/site/edit.html.erb +++ b/app/views/site/edit.html.erb @@ -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 %>