Skip to content

Commit

Permalink
fix: lang key
Browse files Browse the repository at this point in the history
  • Loading branch information
barisusakli committed Oct 7, 2023
1 parent 6149252 commit bffa788
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/src/modules/chat.js
Expand Up @@ -278,7 +278,7 @@ define('chat', [
const typingTextEl = typingEl.find('[component="chat/composer/typing/text"]');
const count = usernames.length > 3 ? 'n' : usernames.length;
if (count) {
const key = `modules:chat.user_typing_${count}`;
const key = `modules:chat.user-typing-${count}`;
const compiled = translator.compile.apply(null, [key, ...usernames]);
typingTextEl.html(await translator.translate(compiled));
}
Expand Down

0 comments on commit bffa788

Please sign in to comment.