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