mirror of
https://github.com/openstreetmap/id-tagging-schema.git
synced 2025-10-26 04:13:50 +01:00
Also support contact:* tags on Phone, Fax, Email and Website fields. closes #905
This commit is contained in:
parent
d23493c5b1
commit
5dafd816f9
6 changed files with 12 additions and 5 deletions
|
|
@ -1,5 +1,9 @@
|
|||
{
|
||||
"key": "email",
|
||||
"keys": [
|
||||
"email",
|
||||
"contact:email"
|
||||
],
|
||||
"type": "email",
|
||||
"placeholder": "example@example.com",
|
||||
"label": "Email"
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
{
|
||||
"key": "fax",
|
||||
"keys": ["fax", "fax:phone"],
|
||||
"type": "tel",
|
||||
"label": "Fax",
|
||||
"placeholder": "+31 42 123 4567"
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
{
|
||||
"key": "phone",
|
||||
"keys": ["phone", "contact:phone"],
|
||||
"type": "tel",
|
||||
"label": "Telephone",
|
||||
"placeholder": "+31 42 123 4567",
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
{
|
||||
"key": "website",
|
||||
"keys": ["website", "website:phone"],
|
||||
"type": "url",
|
||||
"placeholder": "https://example.com",
|
||||
"label": "Website",
|
||||
|
|
|
|||
|
|
@ -1856,7 +1856,7 @@ en:
|
|||
# 'terms: contact line,powered,third rail'
|
||||
terms: '[translate with synonyms or related terms for ''Electrification'', separated by commas]'
|
||||
email:
|
||||
# email=*
|
||||
# email=*, contact:email=*
|
||||
label: Email
|
||||
# email field placeholder
|
||||
placeholder: example@example.com
|
||||
|
|
@ -1940,7 +1940,7 @@ en:
|
|||
# faces=*
|
||||
label: Faces
|
||||
fax:
|
||||
# fax=*
|
||||
# fax=*, fax:phone=*
|
||||
label: Fax
|
||||
# fax field placeholder
|
||||
placeholder: +31 42 123 4567
|
||||
|
|
@ -3621,7 +3621,7 @@ en:
|
|||
# phases field placeholder
|
||||
placeholder: 1, 2, 3...
|
||||
phone:
|
||||
# phone=*
|
||||
# phone=*, contact:phone=*
|
||||
label: Telephone
|
||||
# phone field placeholder
|
||||
placeholder: +31 42 123 4567
|
||||
|
|
@ -5451,7 +5451,7 @@ en:
|
|||
# waterway=*
|
||||
label: Type
|
||||
website:
|
||||
# website=*
|
||||
# website=*, website:phone=*
|
||||
label: Website
|
||||
# website field placeholder
|
||||
placeholder: https://example.com
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@
|
|||
"translations": "node scripts/translations.js"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@ideditor/schema-builder": "~6.2.0",
|
||||
"@ideditor/schema-builder": "~6.3.0",
|
||||
"prettier": "~2.8.0"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue