Browse Source

UI: Improved text to show debug events in panel

pull/14632/head
Vladyslav_Prykhodko 9 months ago
parent
commit
6d945e3fe6
  1. 2
      ui-ngx/src/app/modules/home/components/alarm-rules/alarm-rules-table-config.ts
  2. 2
      ui-ngx/src/app/modules/home/components/calculated-fields/calculated-fields-table-config.ts
  3. 2
      ui-ngx/src/app/modules/home/pages/rulechain/rulechain-page.component.ts
  4. 2
      ui-ngx/src/assets/locale/locale.constant-en_US.json

2
ui-ngx/src/app/modules/home/components/alarm-rules/alarm-rules-table-config.ts

@ -71,7 +71,7 @@ export class AlarmRulesTableConfig extends EntityTableConfig<any> {
readonly tenantId = getCurrentAuthUser(this.store).tenantId;
additionalDebugActionConfig = {
title: this.translate.instant('calculated-fields.see-debug-events'),
title: this.translate.instant('action.see-debug-events'),
action: (calculatedField: CalculatedField) => this.openDebugEventsDialog.call(this, calculatedField),
};

2
ui-ngx/src/app/modules/home/components/calculated-fields/calculated-fields-table-config.ts

@ -72,7 +72,7 @@ export class CalculatedFieldsTableConfig extends EntityTableConfig<CalculatedFie
readonly tenantId = getCurrentAuthUser(this.store).tenantId;
additionalDebugActionConfig = {
title: this.translate.instant('calculated-fields.see-debug-events'),
title: this.translate.instant('action.see-debug-events'),
action: (calculatedField: CalculatedField) => this.openDebugEventsDialog.call(this, null, calculatedField),
};

2
ui-ngx/src/app/modules/home/pages/rulechain/rulechain-page.component.ts

@ -1660,7 +1660,7 @@ export class RuleChainPageComponent extends PageComponent
get additionalActionConfig (): AdditionalDebugActionConfig {
return {
title: this.translate.instant('rulenode.rule-node-events'),
title: this.translate.instant('action.see-debug-events'),
action: this.switchToEventsTab.bind(this)
}
}

2
ui-ngx/src/assets/locale/locale.constant-en_US.json

@ -78,6 +78,7 @@
"show-more": "Show more",
"dont-show-again": "Do not show again",
"see-documentation": "See documentation",
"see-debug-events": "See debug events",
"clear": "Clear",
"upload": "Upload",
"delete-anyway": "Delete anyway",
@ -1132,7 +1133,6 @@
"argument-owner": "Current owner",
"argument-relation-query": "Related entities",
"argument-type": "Argument type",
"see-debug-events": "See debug events",
"attribute": "Attribute",
"copy-argument-name": "Copy argument name",
"timeseries-key": "Time series key",

Loading…
Cancel
Save