Browse Source

Merge pull request #14632 from vvlladd28/improvement/degug-events/title

Optimize text see degug events in panel
pull/14633/head
Vladyslav Prykhodko 8 months ago
committed by GitHub
parent
commit
655216521f
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  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