Fix: remove unnecessary i18ns

This commit is contained in:
shamoon
2024-05-29 00:07:32 -07:00
parent ce3d5b0065
commit f7347bdb69
7 changed files with 6 additions and 36 deletions

View File

@@ -29,6 +29,6 @@
}
}
} @else if (showNameIfEmpty) {
<span class="fst-italic text-muted" i18n>{{field.name}}</span>
<span class="fst-italic text-muted">{{field.name}}</span>
}
}

View File

@@ -9,7 +9,7 @@
<div class="badge bg-primary" cdkDrag>{{item.name}}</div>
}
@if (selectedItems.length === 0) {
<div class="badge bg-light text-secondary fst-italic" i18n>{{emptyText}}</div>
<div class="badge bg-light text-secondary fst-italic">{{emptyText}}</div>
}
</div>
</div>

View File

@@ -1,7 +1,7 @@
<div class="mb-3 paperless-input-select paperless-input-tags" [class.disabled]="disabled" [class.pb-3]="getSuggestions().length > 0">
<div class="row">
<div class="d-flex align-items-center" [class.col-md-3]="horizontal">
<label class="form-label" [class.mb-md-0]="horizontal" for="tags" i18n>{{title}}</label>
<label class="form-label" [class.mb-md-0]="horizontal" for="tags">{{title}}</label>
</div>
<div class="position-relative" [class.col-md-9]="horizontal">
<div class="input-group flex-nowrap">

View File

@@ -19,7 +19,7 @@
@for (action of PermissionAction | keyvalue; track action) {
<div class="col form-check form-check-inline" [ngbPopover]="inheritedWarning" [disablePopover]="!isInherited(type, action.key)" placement="left" triggers="mouseenter:mouseleave">
<input type="checkbox" class="form-check-input" id="{{type}}_{{action.key}}" formControlName="{{action.key}}">
<label class="form-check-label visually-hidden" for="{{type}}_{{action.key}}" i18n>{{action.key}}</label>
<label class="form-check-label visually-hidden" for="{{type}}_{{action.key}}">{{action.key}}</label>
</div>
}
</li>