mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-01 21:30:30 +01:00
fix: lang key
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user