condense text for the bottom bar

This commit is contained in:
Tom MacWright
2013-03-25 16:30:33 -04:00
parent 6eab86b366
commit 73d7813223
3 changed files with 6 additions and 12 deletions
+2 -4
View File
@@ -123,8 +123,8 @@ en:
deleted: Deleted
created: Created
contributors:
list: "Viewing contributions by {users}"
truncated_list: "Viewing contributions by {users} and {count} others"
list: "Contributed by {users}"
truncated_list: "Contributed by {users} and {count} others"
geocoder:
title: Find a place
placeholder: Find a place
@@ -182,8 +182,6 @@ en:
zoom:
in: Zoom In
out: Zoom Out
imagery:
provided_by: "Imagery provided by {source}"
gpx:
local_layer: "Local GPX file"
drag_drop: "Drag and drop a .gpx file on the page"
+2 -5
View File
@@ -156,8 +156,8 @@ locale.en = {
"created": "Created"
},
"contributors": {
"list": "Viewing contributions by {users}",
"truncated_list": "Viewing contributions by {users} and {count} others"
"list": "Contributed by {users}",
"truncated_list": "Contributed by {users} and {count} others"
},
"geocoder": {
"title": "Find a place",
@@ -227,9 +227,6 @@ locale.en = {
"in": "Zoom In",
"out": "Zoom Out"
},
"imagery": {
"provided_by": "Imagery provided by {source}"
},
"gpx": {
"local_layer": "Local GPX file",
"drag_drop": "Drag and drop a .gpx file on the page"
+2 -3
View File
@@ -16,14 +16,13 @@ iD.ui.Attribution = function(context) {
source = '<img class="source-image" src="img/' + d.data.logo + '">';
}
var desc = t('imagery.provided_by', {source: source});
if (d.data.terms_url) {
provided_by.append('a')
.attr('href', d.data.terms_url)
.attr('target', '_blank')
.html(desc);
.html(source);
} else {
provided_by.text(desc);
provided_by.text(source);
}
var copyright = d.copyrightNotices(context.map().zoom(), context.map().extent());