Browse Source

Merge pull request #9500 from iraznatovskyi/improvement/hotfix/rulenodes

Improved translations in component
pull/9308/head
Igor Kulikov 3 years ago
committed by GitHub
parent
commit
fb15cef782
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      ui-ngx/src/app/modules/home/components/relation/relation-filters.component.html
  2. 2
      ui-ngx/src/app/shared/components/entity/entity-subtype-list.component.ts
  3. 1
      ui-ngx/src/assets/locale/locale.constant-en_US.json

2
ui-ngx/src/app/modules/home/components/relation/relation-filters.component.html

@ -18,7 +18,7 @@
<div class="tb-form-panel no-border no-padding">
<div class="tb-form-table" [formGroup]="relationFiltersFormGroup">
<div class="tb-form-table-header">
<div class="tb-form-table-header-cell flex-50">{{ 'relation.type' | translate }}</div>
<div class="tb-form-table-header-cell flex-50">{{ 'relation.relation-type' | translate }}</div>
<div class="tb-form-table-header-cell flex-50">{{ 'entity.entity-types' | translate }}</div>
<div class="tb-form-table-header-cell actions-header"></div>
</div>

2
ui-ngx/src/app/shared/components/entity/entity-subtype-list.component.ts

@ -166,7 +166,7 @@ export class EntitySubTypeListComponent implements ControlValueAccessor, OnInit,
: this.translate.instant('device.any-device');
this.secondaryPlaceholder = '+' + this.translate.instant('device.device-type');
this.noSubtypesMathingText = 'device.no-device-types-matching';
this.subtypeListEmptyText = 'device.device-type-list-empty';
this.subtypeListEmptyText = 'device.device-profile-type-list-empty';
this.broadcastSubscription = this.broadcast.on('deviceSaved', () => {
this.entitySubtypes = null;
});

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

@ -1384,6 +1384,7 @@
"any-device": "Any device",
"no-device-types-matching": "No device profiles matching '{{entitySubtype}}' were found.",
"device-type-list-empty": "No device profiles selected!",
"device-profile-type-list-empty": "At least one device profile should be selected.",
"device-types": "Device types",
"name": "Name",
"name-required": "Name is required.",

Loading…
Cancel
Save