From 2a44b18aa6652e760b8453d9f35e8d63d3f2803c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wolfgang=20Hu=C3=9F?= Date: Wed, 12 Jul 2023 16:08:43 +0200 Subject: [PATCH] Fix icon and set texts on chat button on user profile --- webapp/locales/de.json | 6 ++++++ webapp/locales/en.json | 10 ++++++---- webapp/pages/profile/_id/_slug.vue | 7 ++++--- webapp/static/img/empty/chat-bubble.svg | 1 - 4 files changed, 16 insertions(+), 8 deletions(-) delete mode 100644 webapp/static/img/empty/chat-bubble.svg diff --git a/webapp/locales/de.json b/webapp/locales/de.json index b3d53908c..9f2cb08b2 100644 --- a/webapp/locales/de.json +++ b/webapp/locales/de.json @@ -77,6 +77,12 @@ } } }, + "chat": { + "userProfileButton": { + "label": "Chat", + "tooltip": "Chatte mit diesem Nutzer" + } + }, "client-only": { "loading": "Lade …" }, diff --git a/webapp/locales/en.json b/webapp/locales/en.json index 23bd81ca8..f73909db5 100644 --- a/webapp/locales/en.json +++ b/webapp/locales/en.json @@ -77,6 +77,12 @@ } } }, + "chat": { + "userProfileButton": { + "label": "Chat", + "tooltip": "Chat with the user" + } + }, "client-only": { "loading": "Loading …" }, @@ -694,10 +700,6 @@ "unread": "Unread" }, "group": "Description", - "headerMenuButton": { - "chat": "My Chat", - "tooltip": "My notifications" - }, "markAllAsRead": "Mark all as read", "pageLink": "All notifications", "post": "Post or Group", diff --git a/webapp/pages/profile/_id/_slug.vue b/webapp/pages/profile/_id/_slug.vue index 62d2f1be7..60c503ad7 100644 --- a/webapp/pages/profile/_id/_slug.vue +++ b/webapp/pages/profile/_id/_slug.vue @@ -80,13 +80,14 @@ @update="updateFollow" /> - + {{ $t('chat.userProfileButton.label') }}