mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-16 13:59:27 +02:00
Add Image field (close #7531)
This commit is contained in:
@@ -1110,6 +1110,13 @@ en:
|
||||
icao:
|
||||
# icao=*
|
||||
label: ICAO Airport Code
|
||||
image:
|
||||
# image=*
|
||||
label: Image
|
||||
# image field placeholder
|
||||
placeholder: 'https://example.com/photo.jpg'
|
||||
# 'terms: icon,image uri,photo,picture'
|
||||
terms: '[translate with synonyms or related terms for ''Image'', separated by commas]'
|
||||
incline:
|
||||
# incline=*
|
||||
label: Incline
|
||||
|
||||
@@ -207,6 +207,7 @@
|
||||
"hot_water": {"key": "hot_water", "type": "check", "label": "Hot Water"},
|
||||
"iata": {"key": "iata", "type": "text", "label": "IATA Airport Code"},
|
||||
"icao": {"key": "icao", "type": "text", "label": "ICAO Airport Code"},
|
||||
"image": {"key": "image", "type": "url", "label": "Image", "placeholder": "https://example.com/photo.jpg", "universal": true, "terms": ["icon", "image uri", "photo", "picture"]},
|
||||
"incline_steps": {"key": "incline", "type": "combo", "label": "Incline", "strings": {"options": {"up": "Up", "down": "Down"}}},
|
||||
"incline": {"key": "incline", "type": "combo", "label": "Incline"},
|
||||
"indoor_type": {"key": "indoor", "type": "typeCombo", "label": "Type"},
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"key": "image",
|
||||
"type": "url",
|
||||
"label": "Image",
|
||||
"placeholder": "https://example.com/photo.jpg",
|
||||
"universal": true,
|
||||
"terms": [
|
||||
"icon",
|
||||
"image uri",
|
||||
"photo",
|
||||
"picture"
|
||||
]
|
||||
}
|
||||
@@ -1563,6 +1563,7 @@
|
||||
{"key": "hot_water", "description": "🄵 Hot Water"},
|
||||
{"key": "iata", "description": "🄵 IATA Airport Code"},
|
||||
{"key": "icao", "description": "🄵 ICAO Airport Code"},
|
||||
{"key": "image", "description": "🄵 Image"},
|
||||
{"key": "incline", "value": "up", "description": "🄵 Incline"},
|
||||
{"key": "incline", "value": "down", "description": "🄵 Incline"},
|
||||
{"key": "incline", "description": "🄵 Incline"},
|
||||
|
||||
Vendored
+5
@@ -3570,6 +3570,11 @@
|
||||
"icao": {
|
||||
"label": "ICAO Airport Code"
|
||||
},
|
||||
"image": {
|
||||
"label": "Image",
|
||||
"terms": "icon,image uri,photo,picture",
|
||||
"placeholder": "https://example.com/photo.jpg"
|
||||
},
|
||||
"incline_steps": {
|
||||
"label": "Incline",
|
||||
"options": {
|
||||
|
||||
Reference in New Issue
Block a user