diff --git a/ui-ngx/src/app/modules/home/components/relation/relation-filters.component.html b/ui-ngx/src/app/modules/home/components/relation/relation-filters.component.html index 77b87ced08..062bba86d6 100644 --- a/ui-ngx/src/app/modules/home/components/relation/relation-filters.component.html +++ b/ui-ngx/src/app/modules/home/components/relation/relation-filters.component.html @@ -18,7 +18,7 @@
-
{{ 'relation.type' | translate }}
+
{{ 'relation.relation-type' | translate }}
{{ 'entity.entity-types' | translate }}
diff --git a/ui-ngx/src/app/shared/components/entity/entity-subtype-list.component.ts b/ui-ngx/src/app/shared/components/entity/entity-subtype-list.component.ts index cb7cc7b63d..580a8fb891 100644 --- a/ui-ngx/src/app/shared/components/entity/entity-subtype-list.component.ts +++ b/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; }); diff --git a/ui-ngx/src/assets/locale/locale.constant-en_US.json b/ui-ngx/src/assets/locale/locale.constant-en_US.json index 252e5e7296..128f9c6495 100644 --- a/ui-ngx/src/assets/locale/locale.constant-en_US.json +++ b/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.",