Added translations changes in accordance with Figma

This commit is contained in:
Ivan Raznatovskyi 2023-10-26 10:43:17 +03:00
parent 02c4bf2207
commit 348adb8165
4 changed files with 4 additions and 3 deletions

View File

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

View File

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

View File

@ -1384,6 +1384,7 @@
"any-device": "Any device", "any-device": "Any device",
"no-device-types-matching": "No device profiles matching '{{entitySubtype}}' were found.", "no-device-types-matching": "No device profiles matching '{{entitySubtype}}' were found.",
"device-type-list-empty": "No device profiles selected!", "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", "device-types": "Device types",
"name": "Name", "name": "Name",
"name-required": "Name is required.", "name-required": "Name is required.",