X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/e9c2c648846bac98960b9387c36c89a18b34e4d2..9eb2d86824fa5475634d78446243234345213b40:/app/views/user/_friend_map.rhtml?ds=sidebyside
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' %>");
}
}