Put user name in the tooltip of the chat button on the user profile

This commit is contained in:
Wolfgang Huß 2023-07-13 08:59:51 +02:00
parent f0826e6e44
commit 40774b0498
3 changed files with 3 additions and 3 deletions

View File

@ -80,7 +80,7 @@
"chat": {
"userProfileButton": {
"label": "Chat",
"tooltip": "Chatte mit {USERNAME}"
"tooltip": "Chatte mit „{name}“"
}
},
"client-only": {

View File

@ -80,7 +80,7 @@
"chat": {
"userProfileButton": {
"label": "Chat",
"tooltip": "Chat with {USERNAME}"
"tooltip": "Chat with “{name}”"
}
},
"client-only": {

View File

@ -82,7 +82,7 @@
<base-button
icon="chat-bubble"
v-tooltip="{
content: $t('chat.userProfileButton.tooltip', {'USERNAME': userName}),
content: $t('chat.userProfileButton.tooltip', { name: userName }),
placement: 'bottom-start',
}"
@click="$store.commit('chat/SET_OPEN_CHAT', { showChat: true, roomID: user.id })"