From 93f52d2cf13ee362baa32bb625f06dc9e7ea53aa Mon Sep 17 00:00:00 2001 From: Chneemann Date: Fri, 14 Jun 2024 21:00:37 +0200 Subject: [PATCH] display chat answers updated --- .../secondary-chat/secondary-chat.component.html | 9 ++++++++- src/assets/i18n/de.json | 3 +-- src/assets/i18n/en.json | 3 +-- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/src/app/components/secondary-chat/secondary-chat.component.html b/src/app/components/secondary-chat/secondary-chat.component.html index 5c752af..85a9e2f 100644 --- a/src/app/components/secondary-chat/secondary-chat.component.html +++ b/src/app/components/secondary-chat/secondary-chat.component.html @@ -29,10 +29,17 @@ }
+ @if (displayCountChatAnswer(chat.id) == 1) {

{{ displayCountChatAnswer(chat.id) }} - {{ "secondary-chat.answer" | translate }} + {{ "single-chat.answer2" | translate }}

+ } @else { +

+ {{ displayCountChatAnswer(chat.id) }} + {{ "single-chat.answer" | translate }} +

+ }
} diff --git a/src/assets/i18n/de.json b/src/assets/i18n/de.json index 2aced9e..4cd7b74 100644 --- a/src/assets/i18n/de.json +++ b/src/assets/i18n/de.json @@ -131,8 +131,7 @@ }, "secondary-chat": { - "thread": "Thema", - "answer": "Antworten" + "thread": "Thema" }, "add-new-channel": { diff --git a/src/assets/i18n/en.json b/src/assets/i18n/en.json index 3c5166d..ac8af6d 100644 --- a/src/assets/i18n/en.json +++ b/src/assets/i18n/en.json @@ -131,8 +131,7 @@ }, "secondary-chat": { - "thread": "Thread", - "answer": "Reply" + "thread": "Thread" }, "add-new-channel": {