mirror of
https://github.com/FoggedLens/iD.git
synced 2026-04-22 03:36:37 +02:00
Revert brand-related preset changes
I'm not convinced we shouldn't be encouraging simply tagging `name=McDonald's`, `name=Shell`, etc., without `brand` or `operator` at all.
This commit is contained in:
@@ -105,7 +105,7 @@ function suggestionsToPresets(presets) {
|
||||
delete existing[name];
|
||||
}
|
||||
if (!existing[name]) {
|
||||
tags = _.extend({name: name, brand: name}, suggestions[key][value][name].tags);
|
||||
tags = _.extend({name: name}, suggestions[key][value][name].tags);
|
||||
addSuggestion(item, tags, name, count);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -118,15 +118,6 @@ en:
|
||||
label: Type
|
||||
boundary:
|
||||
label: Type
|
||||
brand_fast_food:
|
||||
label: Brand
|
||||
placeholder: "McDonald's, Subway, KFC..."
|
||||
brand_fuel:
|
||||
label: Brand
|
||||
placeholder: "Shell, Exxon, BP..."
|
||||
brand_restaurant:
|
||||
label: Brand
|
||||
placeholder: "Olive Garden, Applebee's, TGI Friday's..."
|
||||
building:
|
||||
label: Building
|
||||
building_area:
|
||||
|
||||
@@ -212,24 +212,6 @@
|
||||
"type": "combo",
|
||||
"label": "Type"
|
||||
},
|
||||
"brand_fast_food": {
|
||||
"key": "brand",
|
||||
"type": "text",
|
||||
"placeholder": "McDonald's, Subway, KFC...",
|
||||
"label": "Brand"
|
||||
},
|
||||
"brand_fuel": {
|
||||
"key": "brand",
|
||||
"type": "text",
|
||||
"placeholder": "Shell, Exxon, BP...",
|
||||
"label": "Brand"
|
||||
},
|
||||
"brand_restaurant": {
|
||||
"key": "brand",
|
||||
"type": "text",
|
||||
"placeholder": "Olive Garden, Applebee's, TGI Friday's...",
|
||||
"label": "Brand"
|
||||
},
|
||||
"building": {
|
||||
"key": "building",
|
||||
"type": "typeCombo",
|
||||
|
||||
@@ -1,6 +0,0 @@
|
||||
{
|
||||
"key": "brand",
|
||||
"type": "text",
|
||||
"placeholder": "McDonald's, Subway, KFC...",
|
||||
"label": "Brand"
|
||||
}
|
||||
@@ -1,6 +0,0 @@
|
||||
{
|
||||
"key": "brand",
|
||||
"type": "text",
|
||||
"placeholder": "Shell, Exxon, BP...",
|
||||
"label": "Brand"
|
||||
}
|
||||
@@ -1,6 +0,0 @@
|
||||
{
|
||||
"key": "brand",
|
||||
"type": "text",
|
||||
"placeholder": "Olive Garden, Applebee's, TGI Friday's...",
|
||||
"label": "Brand"
|
||||
}
|
||||
+372
-2197
File diff suppressed because it is too large
Load Diff
@@ -1,7 +1,6 @@
|
||||
{
|
||||
"icon": "fast-food",
|
||||
"fields": [
|
||||
"brand_fast_food",
|
||||
"cuisine",
|
||||
"building_area",
|
||||
"address",
|
||||
@@ -16,22 +15,6 @@
|
||||
"tags": {
|
||||
"amenity": "fast_food"
|
||||
},
|
||||
"terms": [
|
||||
"breakfast",
|
||||
"cafe*",
|
||||
"café",
|
||||
"coffee",
|
||||
"dine*",
|
||||
"dining",
|
||||
"dinner",
|
||||
"drive-in",
|
||||
"eat*",
|
||||
"grill",
|
||||
"hamburger",
|
||||
"lunch",
|
||||
"pizza",
|
||||
"sandwich",
|
||||
"take*"
|
||||
],
|
||||
"terms": [],
|
||||
"name": "Fast Food"
|
||||
}
|
||||
|
||||
@@ -1,10 +1,9 @@
|
||||
{
|
||||
"icon": "fuel",
|
||||
"fields": [
|
||||
"brand_fuel",
|
||||
"operator",
|
||||
"address",
|
||||
"building_area",
|
||||
"operator"
|
||||
"building_area"
|
||||
],
|
||||
"geometry": [
|
||||
"point",
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
{
|
||||
"icon": "restaurant",
|
||||
"fields": [
|
||||
"brand_restaurant",
|
||||
"cuisine",
|
||||
"building_area",
|
||||
"address",
|
||||
@@ -15,21 +14,38 @@
|
||||
"area"
|
||||
],
|
||||
"terms": [
|
||||
"breakfast",
|
||||
"cafe*",
|
||||
"bar",
|
||||
"cafeteria",
|
||||
"café",
|
||||
"coffee",
|
||||
"dine*",
|
||||
"dining",
|
||||
"dinner",
|
||||
"canteen",
|
||||
"chophouse",
|
||||
"coffee shop",
|
||||
"diner",
|
||||
"dining room",
|
||||
"dive*",
|
||||
"doughtnut shop",
|
||||
"drive-in",
|
||||
"eat*",
|
||||
"eatery",
|
||||
"eating house",
|
||||
"eating place",
|
||||
"fast-food place",
|
||||
"fish and chips",
|
||||
"greasy spoon",
|
||||
"grill",
|
||||
"hamburger",
|
||||
"lunch",
|
||||
"pizza",
|
||||
"sandwich",
|
||||
"take*"
|
||||
"hamburger stand",
|
||||
"hashery",
|
||||
"hideaway",
|
||||
"hotdog stand",
|
||||
"inn",
|
||||
"joint*",
|
||||
"luncheonette",
|
||||
"lunchroom",
|
||||
"night club",
|
||||
"outlet*",
|
||||
"pizzeria",
|
||||
"saloon",
|
||||
"soda fountain",
|
||||
"watering hole"
|
||||
],
|
||||
"tags": {
|
||||
"amenity": "restaurant"
|
||||
|
||||
Vendored
+2
-14
@@ -578,18 +578,6 @@
|
||||
"boundary": {
|
||||
"label": "Type"
|
||||
},
|
||||
"brand_fast_food": {
|
||||
"label": "Brand",
|
||||
"placeholder": "McDonald's, Subway, KFC..."
|
||||
},
|
||||
"brand_fuel": {
|
||||
"label": "Brand",
|
||||
"placeholder": "Shell, Exxon, BP..."
|
||||
},
|
||||
"brand_restaurant": {
|
||||
"label": "Brand",
|
||||
"placeholder": "Olive Garden, Applebee's, TGI Friday's..."
|
||||
},
|
||||
"building": {
|
||||
"label": "Building"
|
||||
},
|
||||
@@ -1360,7 +1348,7 @@
|
||||
},
|
||||
"amenity/fast_food": {
|
||||
"name": "Fast Food",
|
||||
"terms": "breakfast,cafe*,café,coffee,dine*,dining,dinner,drive-in,eat*,grill,hamburger,lunch,pizza,sandwich,take*"
|
||||
"terms": ""
|
||||
},
|
||||
"amenity/fire_station": {
|
||||
"name": "Fire Station",
|
||||
@@ -1456,7 +1444,7 @@
|
||||
},
|
||||
"amenity/restaurant": {
|
||||
"name": "Restaurant",
|
||||
"terms": "breakfast,cafe*,café,coffee,dine*,dining,dinner,drive-in,eat*,grill,hamburger,lunch,pizza,sandwich,take*"
|
||||
"terms": "bar,cafeteria,café,canteen,chophouse,coffee shop,diner,dining room,dive*,doughtnut shop,drive-in,eatery,eating house,eating place,fast-food place,fish and chips,greasy spoon,grill,hamburger stand,hashery,hideaway,hotdog stand,inn,joint*,luncheonette,lunchroom,night club,outlet*,pizzeria,saloon,soda fountain,watering hole"
|
||||
},
|
||||
"amenity/school": {
|
||||
"name": "School Grounds",
|
||||
|
||||
Reference in New Issue
Block a user