From 8ae4b7560b16840cb5379ca5a0f41418fa9e00d0 Mon Sep 17 00:00:00 2001 From: jonaswinkler <17569239+jonaswinkler@users.noreply.github.com> Date: Sat, 15 May 2021 18:53:55 +0200 Subject: [PATCH] added some missing strings --- src-ui/messages.xlf | 16 +++++++++++++++- .../common/input/select/select.component.html | 2 ++ .../common/input/tags/tags.component.html | 1 + 3 files changed, 18 insertions(+), 1 deletion(-) diff --git a/src-ui/messages.xlf b/src-ui/messages.xlf index 037ef0b17..4c1dc96cf 100644 --- a/src-ui/messages.xlf +++ b/src-ui/messages.xlf @@ -1407,11 +1407,18 @@ 68 + + Add item + + src/app/components/common/input/select/select.component.html + 11 + + Suggestions: src/app/components/common/input/select/select.component.html - 29 + 31 @@ -1421,6 +1428,13 @@ 3 + + Add tag + + src/app/components/common/input/tags/tags.component.html + 11 + + Show all diff --git a/src-ui/src/app/components/common/input/select/select.component.html b/src-ui/src/app/components/common/input/select/select.component.html index 0ae3009ea..c9369b212 100644 --- a/src-ui/src/app/components/common/input/select/select.component.html +++ b/src-ui/src/app/components/common/input/select/select.component.html @@ -8,6 +8,8 @@ [clearable]="allowNull" [items]="items" [addTag]="allowCreateNew && addItemRef" + addTagText="Add item" + i18n-addTagText bindLabel="name" bindValue="id" (change)="onChange(value)" diff --git a/src-ui/src/app/components/common/input/tags/tags.component.html b/src-ui/src/app/components/common/input/tags/tags.component.html index 72c2cf1a5..a9dd23934 100644 --- a/src-ui/src/app/components/common/input/tags/tags.component.html +++ b/src-ui/src/app/components/common/input/tags/tags.component.html @@ -9,6 +9,7 @@ [hideSelected]="true" [addTag]="createTagRef" addTagText="Add tag" + i18n-addTagText (change)="onChange(value)" (search)="onSearch($event)" (focus)="clearLastSearchTerm()"