X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/fd6f00b069af5a7b87227ea4c3401dc461d7311a..972363baf6688f82ba3b7aa8d54a4747b5f290a2:/app/views/user/_friend_map.rhtml
diff --git a/app/views/user/_friend_map.rhtml b/app/views/user/_friend_map.rhtml
index 33d6e1f85..c6d5f8afe 100644
--- a/app/views/user/_friend_map.rhtml
+++ b/app/views/user/_friend_map.rhtml
@@ -45,14 +45,14 @@
setMapCenter(centre, zoom);
<% if marker %>
- marker = addMarkerToMap(new OpenLayers.LonLat(<%= mlon %>, <%= mlat %>), null, "Your location");
+ marker = addMarkerToMap(new OpenLayers.LonLat(<%= mlon %>, <%= mlat %>), null, "<%= t 'user.friend_map.your location' %>");
<% end %>
var near_icon = OpenLayers.Marker.defaultIcon();
near_icon.url = OpenLayers.Util.getImagesLocation() + "marker-green.png";;
var i = nearest.length;
while( i-- ) {
- var description = 'Nearby mapper: '+nearest[i].display_name+''
+ var description = '<%= t 'user.friend_map.nearby mapper'%>'+nearest[i].display_name+''
var nearmarker = addMarkerToMap(new OpenLayers.LonLat(nearest[i].home_lon, nearest[i].home_lat), near_icon.clone(), description);
}
@@ -75,7 +75,7 @@
removeMarkerFromMap(marker);
}
- marker = addMarkerToMap(lonlat, null, "Your location");
+ marker = addMarkerToMap(lonlat, null, "<%= t 'user.friend_map.your location' %>");
}
}