Skip to content

Commit 54205c7

Browse files
committed
add "unleashed" as value for dog tag field
and limit offered values of `dog` field on dog-specific features to just =leashed`/`unleashed`: `no` does generally not make sense on these, and `yes`/`designated` is already implied by the primary tag.
1 parent f916c7b commit 54205c7

File tree

5 files changed

+19
-2
lines changed

5 files changed

+19
-2
lines changed

data/fields/dog.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"options": {
77
"yes": "Allowed",
88
"leashed": "Leashed Only",
9+
"unleashed": "Leashes Not Required",
910
"no": "Not Allowed"
1011
}
1112
},

data/fields/dog_yes.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"key": "dog",
3+
"type": "combo",
4+
"label": "{dog}",
5+
"options": [
6+
"leashed",
7+
"unleashed"
8+
],
9+
"stringsCrossReference": "{dog}",
10+
"autoSuggestions": false,
11+
"customValues": false
12+
}

data/presets/amenity/dog_toilet.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
],
1111
"moreFields": [
1212
"{@templates/contact}",
13-
"dog",
13+
"dog_yes",
1414
"gnis/feature_id-US",
1515
"ref"
1616
],

data/presets/leisure/dog_park.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"moreFields": [
1212
"{@templates/contact}",
1313
"{@templates/internet_access}",
14-
"dog",
14+
"dog_yes",
1515
"gnis/feature_id-US",
1616
"ref"
1717
],

interim/source_strings.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1824,10 +1824,14 @@ en:
18241824
leashed: Leashed Only
18251825
# dog=no
18261826
'no': Not Allowed
1827+
# dog=unleashed
1828+
unleashed: Leashes Not Required
18271829
# dog=yes
18281830
'yes': Allowed
18291831
# 'terms: animals,pets'
18301832
terms: '[translate with synonyms or related terms for ''Dogs'', separated by commas]'
1833+
dog_yes:
1834+
# dog=*
18311835
door:
18321836
# door=*
18331837
label: Door

0 commit comments

Comments
 (0)