From 764166582da4011ac1c2471c20d829c3d10563a0 Mon Sep 17 00:00:00 2001 From: Artem Babak Date: Thu, 5 Nov 2020 16:38:49 +0200 Subject: [PATCH] edge-subtype-list locales added and fixed --- .../components/entity/entity-subtype-list.component.ts | 2 +- ui-ngx/src/assets/locale/locale.constant-en_US.json | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) 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 de5e1bc6f8..c70314c284 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 @@ -143,7 +143,7 @@ export class EntitySubTypeListComponent implements ControlValueAccessor, OnInit, break; case EntityType.EDGE: this.placeholder = this.required ? this.translate.instant('edge.enter-edge-type') - : this.translate.instant('edge-any-edge'); + : this.translate.instant('edge.edge-any-edge'); this.secondaryPlaceholder = '+' + this.translate.instant('edge.edge-type'); this.noSubtypesMathingText = 'edge.no-edge-types-matching'; this.broadcastSubscription = this.broadcast.on('edgeSaved', () => { 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 3e2956f2c3..1fbfcfc2dc 100644 --- a/ui-ngx/src/assets/locale/locale.constant-en_US.json +++ b/ui-ngx/src/assets/locale/locale.constant-en_US.json @@ -1001,7 +1001,10 @@ "success": "Deployed", "failed": "Pending", "search": "Search edges", - "selected-edges": "{ count, plural, 1 {1 edge} other {# edges} } selected" + "selected-edges": "{ count, plural, 1 {1 edge} other {# edges} } selected", + "enter-edge-type": "Enter entity view type", + "any-edge": "Any edge", + "no-edge-types-matching": "No edge types matching '{{entitySubtype}}' were found." }, "error": { "unable-to-connect": "Unable to connect to the server! Please check your internet connection.",