X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/fdd5d2d7791f9138c339c9f18bcaa8946bd18d0c..86a0ba0172e8744a58edae7399a05f8412fa14aa:/app/views/site/index.rhtml diff --git a/app/views/site/index.rhtml b/app/views/site/index.rhtml index 66f69960b..f816dddd2 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 'home', "setPosition(#{@user.home_lat}, #{@user.home_lon}, 10)" %> | +<%= link_to_function t('site.index.home'), "setPosition(#{@user.home_lat}, #{@user.home_lon}, 10)" %> | <% end %> <% end %> @@ -10,24 +10,24 @@
http://creativecommons.org/licenses/by-sa/2.0/ | -http://openstreetmap.org/ | -|
Licensed under the Creative Commons Attribution-Share Alike 2.0 license by the OpenStreetMap project and its contributors. | +<%= + I18n.t('site.index.license.notice', + :license_name => ('' + t('site.index.license.license_name') + ''), + :project_name => ('' + t('site.index.license.project_name') + '')) + %> |