From f3cc928d5776d15ee4c2cbabfdbc8f459d318f19 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Minh=20Nguy=E1=BB=85n?= Date: Fri, 6 Aug 2021 22:51:40 -0700 Subject: [PATCH 1/3] Added some common name fields --- data/fields/loc_name.json | 12 ++++++++++++ data/fields/nat_name.json | 6 ++++++ data/fields/official_name.json | 11 +++++++++++ data/fields/reg_name.json | 6 ++++++ data/fields/short_name.json | 11 +++++++++++ interim/source_strings.yaml | 23 +++++++++++++++++++++++ 6 files changed, 69 insertions(+) create mode 100644 data/fields/loc_name.json create mode 100644 data/fields/nat_name.json create mode 100644 data/fields/official_name.json create mode 100644 data/fields/reg_name.json create mode 100644 data/fields/short_name.json diff --git a/data/fields/loc_name.json b/data/fields/loc_name.json new file mode 100644 index 000000000..39deb8b6c --- /dev/null +++ b/data/fields/loc_name.json @@ -0,0 +1,12 @@ +{ + "key": "loc_name", + "type": "localized", + "label": "Local Name", + "universal": true, + "terms": [ + "colloquial name", + "common name", + "informal name", + "nickname" + ] +} diff --git a/data/fields/nat_name.json b/data/fields/nat_name.json new file mode 100644 index 000000000..d092cba28 --- /dev/null +++ b/data/fields/nat_name.json @@ -0,0 +1,6 @@ +{ + "key": "nat_name", + "type": "localized", + "label": "National Name", + "universal": true +} diff --git a/data/fields/official_name.json b/data/fields/official_name.json new file mode 100644 index 000000000..c7419549e --- /dev/null +++ b/data/fields/official_name.json @@ -0,0 +1,11 @@ +{ + "key": "official_name", + "type": "localized", + "label": "Official Name", + "universal": true, + "terms": [ + "formal name", + "full name", + "legal name" + ] +} diff --git a/data/fields/reg_name.json b/data/fields/reg_name.json new file mode 100644 index 000000000..9133d9956 --- /dev/null +++ b/data/fields/reg_name.json @@ -0,0 +1,6 @@ +{ + "key": "reg_name", + "type": "localized", + "label": "Regional Name", + "universal": true +} diff --git a/data/fields/short_name.json b/data/fields/short_name.json new file mode 100644 index 000000000..53cbdf9c8 --- /dev/null +++ b/data/fields/short_name.json @@ -0,0 +1,11 @@ +{ + "key": "short_name", + "type": "localized", + "label": "Short Name", + "universal": true, + "terms": [ + "abbreviation", + "acronym", + "initialism" + ] +} diff --git a/interim/source_strings.yaml b/interim/source_strings.yaml index c14ca2c1a..bb566b270 100644 --- a/interim/source_strings.yaml +++ b/interim/source_strings.yaml @@ -3150,6 +3150,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 @@ -3499,6 +3504,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 @@ -3680,6 +3689,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 @@ -4410,6 +4424,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 @@ -4862,6 +4880,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 From 2e77fcbcc3c3fd2d30b7668a515242048afb7bbd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Minh=20Nguy=E1=BB=85n?= Date: Sat, 13 Jul 2024 09:35:47 -0700 Subject: [PATCH 2/3] *_name fields require name --- data/fields/loc_name.json | 5 ++++- data/fields/nat_name.json | 5 ++++- data/fields/official_name.json | 5 ++++- data/fields/reg_name.json | 5 ++++- data/fields/short_name.json | 5 ++++- 5 files changed, 20 insertions(+), 5 deletions(-) diff --git a/data/fields/loc_name.json b/data/fields/loc_name.json index 39deb8b6c..1970af925 100644 --- a/data/fields/loc_name.json +++ b/data/fields/loc_name.json @@ -8,5 +8,8 @@ "common name", "informal name", "nickname" - ] + ], + "prerequisiteTag": { + "key": "name" + } } diff --git a/data/fields/nat_name.json b/data/fields/nat_name.json index d092cba28..f0bbd0600 100644 --- a/data/fields/nat_name.json +++ b/data/fields/nat_name.json @@ -2,5 +2,8 @@ "key": "nat_name", "type": "localized", "label": "National Name", - "universal": true + "universal": true, + "prerequisiteTag": { + "key": "name" + } } diff --git a/data/fields/official_name.json b/data/fields/official_name.json index c7419549e..023762551 100644 --- a/data/fields/official_name.json +++ b/data/fields/official_name.json @@ -7,5 +7,8 @@ "formal name", "full name", "legal name" - ] + ], + "prerequisiteTag": { + "key": "name" + } } diff --git a/data/fields/reg_name.json b/data/fields/reg_name.json index 9133d9956..0bb507667 100644 --- a/data/fields/reg_name.json +++ b/data/fields/reg_name.json @@ -2,5 +2,8 @@ "key": "reg_name", "type": "localized", "label": "Regional Name", - "universal": true + "universal": true, + "prerequisiteTag": { + "key": "name" + } } diff --git a/data/fields/short_name.json b/data/fields/short_name.json index 53cbdf9c8..abea228ac 100644 --- a/data/fields/short_name.json +++ b/data/fields/short_name.json @@ -7,5 +7,8 @@ "abbreviation", "acronym", "initialism" - ] + ], + "prerequisiteTag": { + "key": "name" + } } From 1b6d5844476cd3d91d9cd80f3cbf96eef45f8b14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Minh=20Nguy=E1=BB=85n?= Date: Sat, 13 Jul 2024 10:12:43 -0700 Subject: [PATCH 3/3] Added Alternative Name field --- data/fields/alt_name.json | 16 ++++++++++++++++ interim/source_strings.yaml | 5 +++++ 2 files changed, 21 insertions(+) create mode 100644 data/fields/alt_name.json diff --git a/data/fields/alt_name.json b/data/fields/alt_name.json new file mode 100644 index 000000000..78b77b24b --- /dev/null +++ b/data/fields/alt_name.json @@ -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" + } +} diff --git a/interim/source_strings.yaml b/interim/source_strings.yaml index bb566b270..41aad9cda 100644 --- a/interim/source_strings.yaml +++ b/interim/source_strings.yaml @@ -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