mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-24 00:54:03 +02:00
condense text for the bottom bar
This commit is contained in:
+2
-4
@@ -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
@@ -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"
|
||||
|
||||
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user