110615: Added missing vocabulary search input label

This commit is contained in:
Alexandre Vryghem
2024-08-13 12:05:16 +02:00
parent 655813a8af
commit 54d99a84c9
2 changed files with 5 additions and 1 deletions

View File

@@ -2,7 +2,9 @@
<div class="treeview-header row">
<div class="col-12">
<div class="input-group">
<input type="text" class="form-control" [(ngModel)]="searchText" (keyup.enter)="search()">
<input type="text" class="form-control" [(ngModel)]="searchText"
[attr.aria-label]="'vocabulary-treeview.search.form.search-placeholder' | translate"
(keyup.enter)="search()">
<div class="input-group-append" id="button-addon4">
<button class="btn btn-outline-primary" type="button" (click)="search()" [disabled]="!isSearchEnabled()">
{{'vocabulary-treeview.search.form.search' | translate}}

View File

@@ -4736,6 +4736,8 @@
"vocabulary-treeview.search.form.search": "Search",
"vocabulary-treeview.search.form.search-placeholder": "Filter results by typing the first few letters",
"vocabulary-treeview.search.no-result": "There were no items to show",
"vocabulary-treeview.tree.description.nsi": "The Norwegian Science Index",