From 96c29d50fe203eacc9145693992bc657cca630bc Mon Sep 17 00:00:00 2001 From: Quincy Morgan Date: Mon, 29 Jun 2020 17:13:42 -0400 Subject: [PATCH] Reference the name of the turn restrictions field in the help pane --- data/core.yaml | 4 ++-- dist/locales/en.json | 4 ++-- modules/ui/panes/help.js | 1 + 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/data/core.yaml b/data/core.yaml index 7f238455f..87fab2f94 100644 --- a/data/core.yaml +++ b/data/core.yaml @@ -1411,8 +1411,8 @@ en: multipolygon_merge: "Merging several lines or areas will create a new multipolygon relation with all selected areas as members. iD will choose the inner and outer roles automatically, based on which features are contained inside other features." turn_restriction_h: "Turn restrictions" turn_restriction: "A *turn restriction* relation is a group of several road segments in an intersection. Turn restrictions consist of a *from* road, *via* node or roads, and a *to* road." - turn_restriction_field: "To edit turn restrictions, select a junction node where two or more roads meet. The feature editor will display a special \"Turn Restrictions\" field containing a model of the intersection." - turn_restriction_editing: "In the \"Turn Restrictions\" field, click to select a \"from\" road, and see whether turns are allowed or restricted to any of the \"to\" roads. You can click on the turn icons to toggle them between allowed and restricted. iD will create relations automatically and set the from, via, and to roles based on your choices." + turn_restriction_field: "To edit turn restrictions, select a junction node where two or more roads meet. The feature editor will display a special \"{turn_restrictions}\" field containing a model of the intersection." + turn_restriction_editing: "In the \"{turn_restrictions}\" field, click to select a \"from\" road, and see whether turns are allowed or restricted to any of the \"to\" roads. You can click on the turn icons to toggle them between allowed and restricted. iD will create relations automatically and set the from, via, and to roles based on your choices." route_h: "Routes" route: "A *route* relation is a group of one or more line features that together form a route network, like a bus route, train route, or highway route." route_add: "To add a feature to a route relation, select the feature and scroll down to the \"{relations}\" section of the feature editor, then click the {plus} add button to add this feature to a nearby existing relation or a new relation." diff --git a/dist/locales/en.json b/dist/locales/en.json index c2627970c..7c39d76e7 100644 --- a/dist/locales/en.json +++ b/dist/locales/en.json @@ -1752,8 +1752,8 @@ "multipolygon_merge": "Merging several lines or areas will create a new multipolygon relation with all selected areas as members. iD will choose the inner and outer roles automatically, based on which features are contained inside other features.", "turn_restriction_h": "Turn restrictions", "turn_restriction": "A *turn restriction* relation is a group of several road segments in an intersection. Turn restrictions consist of a *from* road, *via* node or roads, and a *to* road.", - "turn_restriction_field": "To edit turn restrictions, select a junction node where two or more roads meet. The feature editor will display a special \"Turn Restrictions\" field containing a model of the intersection.", - "turn_restriction_editing": "In the \"Turn Restrictions\" field, click to select a \"from\" road, and see whether turns are allowed or restricted to any of the \"to\" roads. You can click on the turn icons to toggle them between allowed and restricted. iD will create relations automatically and set the from, via, and to roles based on your choices.", + "turn_restriction_field": "To edit turn restrictions, select a junction node where two or more roads meet. The feature editor will display a special \"{turn_restrictions}\" field containing a model of the intersection.", + "turn_restriction_editing": "In the \"{turn_restrictions}\" field, click to select a \"from\" road, and see whether turns are allowed or restricted to any of the \"to\" roads. You can click on the turn icons to toggle them between allowed and restricted. iD will create relations automatically and set the from, via, and to roles based on your choices.", "route_h": "Routes", "route": "A *route* relation is a group of one or more line features that together form a route network, like a bus route, train route, or highway route.", "route_add": "To add a feature to a route relation, select the feature and scroll down to the \"{relations}\" section of the feature editor, then click the {plus} add button to add this feature to a nearby existing relation or a new relation.", diff --git a/modules/ui/panes/help.js b/modules/ui/panes/help.js index 6ef4f80f5..28fb34b8e 100644 --- a/modules/ui/panes/help.js +++ b/modules/ui/panes/help.js @@ -280,6 +280,7 @@ export function uiPaneHelp(context) { tags: t('inspector.tags'), relations: t('inspector.relations'), new_relation: t('inspector.new_relation'), + turn_restrictions: t('presets.fields.restrictions.label'), background_settings: t('background.description'), imagery_offset: t('background.fix_misalignment'), start_the_walkthrough: t('splash.walkthrough'),