Skip to content

Commit 0f1f487

Browse files
authored
[ACS-10285] Fix rule toggle label (#4833)
1 parent 0909e20 commit 0f1f487

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

projects/aca-content/folder-rules/assets/i18n/en.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@
124124
"LOAD_MORE_RULE_SETS": "Load rules from other folders",
125125
"LOAD_MORE_RULES": "Load more rules",
126126
"LOADING_RULES": "Loading rules",
127-
"TOGGLE_RULE_STATE": "Toggle rule enabled state",
127+
"TOGGLE_RULE_STATE": "Toggle {{ name }} rule",
128128
"INHERITED_RULES_WILL_BE_RUN_FIRST": "Inherited rules will be run first",
129129
"ALL_LINKED_RULES_ARE_DISABLED": "All rules linked from this rule set are disabled"
130130
},

projects/aca-content/folder-rules/src/rule-list/rule-list-item/rule-list-item.ui-component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<mat-slide-toggle
66
*ngIf="showEnabledToggle"
77
[checked]="rule.isEnabled"
8-
[aria-label]="'ACA_FOLDER_RULES.RULE_LIST.TOGGLE_RULE_STATE' | translate"
8+
[aria-label]="'ACA_FOLDER_RULES.RULE_LIST.TOGGLE_RULE_STATE' | translate: { name: rule.name }"
99
(click)="onToggleClick(!rule.isEnabled, $event)" />
1010

1111
</div>

0 commit comments

Comments
 (0)