From a083719de40e63eeab734253312ad0a29b0e021a Mon Sep 17 00:00:00 2001 From: Artem Babak Date: Wed, 23 Dec 2020 06:37:04 +0200 Subject: [PATCH] Rename edge Default rule chain to Auto-assign --- ui/src/app/locale/locale.constant-en_US.json | 14 +++++----- ui/src/app/rulechain/rulechain-card.tpl.html | 2 +- .../app/rulechain/rulechain-fieldset.tpl.html | 6 ++--- ui/src/app/rulechain/rulechain.directive.js | 4 +-- ui/src/app/rulechain/rulechains.controller.js | 26 +++++++++---------- ui/src/app/rulechain/rulechains.tpl.html | 4 +-- 6 files changed, 28 insertions(+), 28 deletions(-) diff --git a/ui/src/app/locale/locale.constant-en_US.json b/ui/src/app/locale/locale.constant-en_US.json index 1849b6625a..d6774ea114 100644 --- a/ui/src/app/locale/locale.constant-en_US.json +++ b/ui/src/app/locale/locale.constant-en_US.json @@ -1587,7 +1587,7 @@ "assign-rulechains": "Assign rulechains", "assign-new-rulechain": "Assign new rulechain", "delete-rulechains": "Delete rulechains", - "default": "Default", + "auto-assign-to-edge": "Auto-assign to edge(s)", "unassign-rulechain": "Unassign rulechain", "unassign-rulechains": "Unassign rulechains", "unassign-rulechain-title": "Are you sure you want to unassign the rulechain '{{ruleChainTitle}}'?", @@ -1601,12 +1601,12 @@ "set-default-root-edge-rulechain-title": "Are you sure you want to make the rule chain '{{ruleChainName}}' default edge root?", "set-default-root-edge-rulechain-text": "After the confirmation the rule chain will become default edge root and will handle all incoming transport messages.", "invalid-rulechain-type-error": "Unable to import rule chain: Invalid rule chain type. Expected type is {{expectedRuleChainType}}.", - "set-default-edge": "Make rule chain default", - "set-default-edge-title": "Are you sure you want to make the edge rule chain '{{ruleChainName}}' default?", - "set-default-edge-text": "After the confirmation the edge rule chain will be added to default list and assigned to newly created edge(s).", - "remove-default-edge": "Remove rule chain from defaults", - "remove-default-edge-title": "Are you sure you want to remove the edge rule chain '{{ruleChainName}}' from default list?", - "remove-default-edge-text": "After the confirmation the edge rule chain will not be assigned for a newly created edges." + "set-auto-assign-to-edge": "Auto-assign rule chain to edge(s) on creation", + "set-auto-assign-to-edge-title": "Are you sure you want to auto-assign the edge rule chain '{{ruleChainName}}' to edge(s) on creation?", + "set-auto-assign-to-edge-text": "After the confirmation the edge rule chain will be automatically assigned to edge(s) on creation.", + "remove-auto-assign-to-edge": "Do not assign rule chain to edge(s) on creation", + "remove-auto-assign-to-edge-title": "Are you sure you do not want to auto-assign the edge rule chain '{{ruleChainName}}' to edge(s) on creation?", + "remove-auto-assign-to-edge-text": "After the confirmation the edge rule chain won't be automatically assigned to edge(s) on creation." }, "rulenode": { "details": "Details", diff --git a/ui/src/app/rulechain/rulechain-card.tpl.html b/ui/src/app/rulechain/rulechain-card.tpl.html index e4df4c9471..95e7b4fd2b 100644 --- a/ui/src/app/rulechain/rulechain-card.tpl.html +++ b/ui/src/app/rulechain/rulechain-card.tpl.html @@ -20,4 +20,4 @@
rulechain.default-root
-
rulechain.default
+
rulechain.auto-assign-to-edge
diff --git a/ui/src/app/rulechain/rulechain-fieldset.tpl.html b/ui/src/app/rulechain/rulechain-fieldset.tpl.html index 5d3bf08739..223806386f 100644 --- a/ui/src/app/rulechain/rulechain-fieldset.tpl.html +++ b/ui/src/app/rulechain/rulechain-fieldset.tpl.html @@ -26,12 +26,12 @@ {{ 'rulechain.set-default-root-edge' | translate }} -{{ 'rulechain.set-default-edge' | translate }} + class="md-raised md-primary">{{ 'rulechain.set-auto-assign-to-edge' | translate }} {{ 'rulechain.remove-default-edge' | translate }} + class="md-raised md-primary">{{ 'rulechain.remove-auto-assign-to-edge' | translate }}