X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/6254853c5c6a76417aed186798a0292c07d30ff4..5d471088b43dc881700cc46b5578553097de5388:/app/views/site/index.rhtml?ds=sidebyside diff --git a/app/views/site/index.rhtml b/app/views/site/index.rhtml index 855f3f495..840fd9774 100644 --- a/app/views/site/index.rhtml +++ b/app/views/site/index.rhtml @@ -1,6 +1,6 @@ <% content_for :greeting do %> <% if @user and !@user.home_lon.nil? and !@user.home_lat.nil? %> -<%= link_to_function t('site.index.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 %> @@ -23,11 +23,15 @@
- - + + - +
http://creativecommons.org/licenses/by-sa/2.0/http://openstreetmap.org/<%= t'site.index.license.license_url' %><%= t'site.index.license.project_url' %>
<%= t 'site.index.license' %><%= + t'site.index.license.notice', + :license_name => t('site.index.license.license_name'), + :project_name => t('site.index.license.project_name') + %>
@@ -97,6 +101,8 @@ end var marker; var map; + OpenLayers.Lang.setCode("<%= I18n.locale.to_s %>"); + function mapInit(){ map = createMap("map");