fix: Update the translation for the text used in isTyping method (#10384)

This fix consists of translating the message when another user is typing on the other side.
---
Co-authored-by: Pranav <pranavrajs@gmail.com>
Co-authored-by: Pranav <pranav@chatwoot.com>
This commit is contained in:
Willian Coqueiro
2024-11-05 01:04:08 -03:00
committed by GitHub
parent 8cdbdaaa07
commit 54740e3bb9
5 changed files with 26 additions and 15 deletions

View File

@@ -138,10 +138,9 @@ export default {
},
typingUserNames() {
const userList = this.typingUsersList;
if (this.isAnyoneTyping) {
const userListAsName = getTypingUsersText(userList);
return userListAsName;
const [i18nKey, params] = getTypingUsersText(userList);
return this.$t(i18nKey, params);
}
return '';