X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/c5349c360f2b97bec763977735d650efe04b0b01..4de68be3034411cbb21a14f51611d204c2efd1af:/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);
}