Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add some common name fields #215

Merged
merged 3 commits into from
Jul 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions data/fields/alt_name.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"key": "alt_name",
"type": "localized",
"label": "Alternative Name",
"universal": true,
"terms": [
"aka",
"alias",
"also known as",
"nonstandard name",
"secondary name"
],
"prerequisiteTag": {
"key": "name"
}
}
15 changes: 15 additions & 0 deletions data/fields/loc_name.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"key": "loc_name",
"type": "localized",
"label": "Local Name",
"universal": true,
"terms": [
"colloquial name",
"common name",
"informal name",
"nickname"
],
"prerequisiteTag": {
"key": "name"
}
}
9 changes: 9 additions & 0 deletions data/fields/nat_name.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"key": "nat_name",
"type": "localized",
"label": "National Name",
"universal": true,
"prerequisiteTag": {
"key": "name"
}
}
14 changes: 14 additions & 0 deletions data/fields/official_name.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"key": "official_name",
"type": "localized",
"label": "Official Name",
"universal": true,
"terms": [
"formal name",
"full name",
"legal name"
],
"prerequisiteTag": {
"key": "name"
}
}
9 changes: 9 additions & 0 deletions data/fields/reg_name.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"key": "reg_name",
"type": "localized",
"label": "Regional Name",
"universal": true,
"prerequisiteTag": {
"key": "name"
}
}
14 changes: 14 additions & 0 deletions data/fields/short_name.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"key": "short_name",
"type": "localized",
"label": "Short Name",
"universal": true,
"terms": [
"abbreviation",
"acronym",
"initialism"
],
"prerequisiteTag": {
"key": "name"
}
}
28 changes: 28 additions & 0 deletions interim/source_strings.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,11 @@ en:
label: Air Conditioning
# 'terms: cooling system,refrigeration'
terms: '[translate with synonyms or related terms for ''Air Conditioning'', separated by commas]'
alt_name:
# alt_name=*
label: Alternative Name
# 'terms: aka,alias,also known as,nonstandard name,secondary name'
terms: '[translate with synonyms or related terms for ''Alternative Name'', separated by commas]'
amenity:
# amenity=*
label: Type
Expand Down Expand Up @@ -3150,6 +3155,11 @@ en:
label: Lit
# 'terms: lamp,lighting'
terms: '[translate with synonyms or related terms for ''Lit'', separated by commas]'
loc_name:
# loc_name=*
label: Local Name
# 'terms: colloquial name,common name,informal name,nickname'
terms: '[translate with synonyms or related terms for ''Local Name'', separated by commas]'
location:
# location=*
label: Location
Expand Down Expand Up @@ -3499,6 +3509,10 @@ en:
placeholder: Common name (if any)
# 'terms: label,title'
terms: '[translate with synonyms or related terms for ''Name'', separated by commas]'
nat_name:
# nat_name=*
label: National Name
terms: '[translate with synonyms or related terms for ''National Name'', separated by commas]'
natural:
# natural=*
label: Natural
Expand Down Expand Up @@ -3680,6 +3694,11 @@ en:
union: Labor Union Office
# office=water_utility
water_utility: Water Utility Office
official_name:
# official_name=*
label: Official Name
# 'terms: formal name,full name,legal name'
terms: '[translate with synonyms or related terms for ''Official Name'', separated by commas]'
oneway:
# oneway=*
label: One Way
Expand Down Expand Up @@ -4410,6 +4429,10 @@ en:
label: Taxiway Name
# ref_taxiway field placeholder
placeholder: e.g. A5
reg_name:
# reg_name=*
label: Regional Name
terms: '[translate with synonyms or related terms for ''Regional Name'', separated by commas]'
relation:
# type=*
label: Type
Expand Down Expand Up @@ -4862,6 +4885,11 @@ en:
shop:
# shop=*
label: Type
short_name:
# short_name=*
label: Short Name
# 'terms: abbreviation,acronym,initialism'
terms: '[translate with synonyms or related terms for ''Short Name'', separated by commas]'
shower:
# shower=*
label: Showers
Expand Down
Loading