X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/908a6ef409518d86bfd2cdf0d2a82a6c312821c8..ef7825ce0cf5a745c97547ad7d27b7034ad0b459:/app/views/user/_friend_map.html.erb diff --git a/app/views/user/_friend_map.html.erb b/app/views/user/_friend_map.html.erb index 75303f10d..a73bb53b8 100644 --- a/app/views/user/_friend_map.html.erb +++ b/app/views/user/_friend_map.html.erb @@ -54,7 +54,7 @@ near_icon.url = OpenLayers.Util.getImagesLocation() + "marker-green.png";; var i = nearest.length; while( i-- ) { - var description = '<%= t 'user.friend_map.nearby mapper'%>'+nearest[i].display_name+'' + var description = i18n('<%= t 'user.friend_map.nearby mapper'%>', { nearby_user: ''+nearest[i].display_name+'' }); var nearmarker = addMarkerToMap(new OpenLayers.LonLat(nearest[i].home_lon, nearest[i].home_lat), near_icon.clone(), description); }