LP#1831788: (follow-up) address ng xi18n complaint about nested i18n elements
authorGalen Charlton <gmc@equinoxinitiative.org>
Thu, 1 Aug 2019 15:13:14 +0000 (11:13 -0400)
committerGalen Charlton <gmc@equinoxinitiative.org>
Thu, 1 Aug 2019 15:15:24 +0000 (11:15 -0400)
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/src/eg2/src/app/share/grid/grid-filter-control.component.html

index 742cdca..41ffcd7 100644 (file)
     </div>
     <div *ngSwitchDefault>I don't know how to filter {{col.name}} - {{col.datatype}}</div>
   </div>
-  <span *ngIf="col.datatype !== 'org_unit'" i18n class="eg-grid-filter-operator">Operator:
+  <span *ngIf="col.datatype !== 'org_unit'" class="eg-grid-filter-operator"><ng-container i18n>Operator:</ng-container>
     <span [ngSwitch]="col.filterOperator">
       <span *ngSwitchCase="'='" i18n>Is exactly</span>
       <span *ngSwitchCase="'!='" i18n>Is not</span>
       <span *ngSwitchCase="'between'" i18n>Between</span>
     </span>
   </span>
-  <span *ngIf="col.datatype == 'org_unit'" i18n class="eg-grid-filter-operator">Operator:
+  <span *ngIf="col.datatype == 'org_unit'" class="eg-grid-filter-operator"><ng-container i18n>Operator:</ng-container>
     <span [ngSwitch]="col.filterOperator">
       <span *ngSwitchCase="'='" i18n>Is (or includes)</span>
       <span *ngSwitchCase="'!='" i18n>Is not (or excludes)</span>