diff --git a/src/SlashCommands.tsx b/src/SlashCommands.tsx
index 8322512b73..ba0aea73f0 100644
--- a/src/SlashCommands.tsx
+++ b/src/SlashCommands.tsx
@@ -1039,7 +1039,7 @@ export const Commands = [
const userName = userId.slice(1).split(":").slice(0, 1);
const isChatEffectsDisabled = SettingsStore.getValue('dontShowChatEffects');
if (!args || isChatEffectsDisabled) {
- args = '*' + userName + _td(' sends confetti');
+ args = _t("* %(userName)s sends confetti", {userName});
}
if (!isChatEffectsDisabled) {
dis.dispatch({action: 'confetti'});
diff --git a/src/i18n/strings/de_DE.json b/src/i18n/strings/de_DE.json
index 5e5639942b..46ce139e6e 100644
--- a/src/i18n/strings/de_DE.json
+++ b/src/i18n/strings/de_DE.json
@@ -2364,5 +2364,4 @@
"Learn more at element.io/previously-riot": "Erfahre mehr unter element.io/previously-riot",
"Don't show chat effects": "Chat Effekte nicht zeigen",
"Sends the given message with confetti": "Sendet die Nachricht mit Konfetti",
- " sends confetti": " sendet Konfetti"
}
diff --git a/src/i18n/strings/en_EN.json b/src/i18n/strings/en_EN.json
index efd68d06a6..78a2d51c56 100644
--- a/src/i18n/strings/en_EN.json
+++ b/src/i18n/strings/en_EN.json
@@ -214,7 +214,7 @@
"Opens chat with the given user": "Opens chat with the given user",
"Sends a message to the given user": "Sends a message to the given user",
"Sends the given message with confetti": "Sends the given message with confetti",
- " sends confetti": " sends confetti",
+ "* %(userName)s sends confetti": "* %(userName)s sends confetti",
"Displays action": "Displays action",
"Reason": "Reason",
"%(targetName)s accepted the invitation for %(displayName)s.": "%(targetName)s accepted the invitation for %(displayName)s.",