Browse Source

edge-subtype-list locales added and fixed

pull/3811/head
Artem Babak 6 years ago
parent
commit
764166582d
  1. 2
      ui-ngx/src/app/shared/components/entity/entity-subtype-list.component.ts
  2. 5
      ui-ngx/src/assets/locale/locale.constant-en_US.json

2
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', () => {

5
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.",

Loading…
Cancel
Save