Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 4c8593a

Browse files
committed
Add i18n
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
1 parent 8bd45ce commit 4c8593a

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/SlashCommands.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -722,7 +722,7 @@ export const CommandMap = {
722722

723723
rainbow: new Command({
724724
name: "rainbow",
725-
description: _td(""),
725+
description: _td("Sends the given message coloured as a rainbow"),
726726
args: '<message>',
727727
runFn: function(roomId, args) {
728728
if (!args) return reject(this.getUserId());
@@ -732,7 +732,7 @@ export const CommandMap = {
732732

733733
rainbowme: new Command({
734734
name: "rainbowme",
735-
description: _td(""),
735+
description: _td("Sends the given emote coloured as a rainbow"),
736736
args: '<message>',
737737
runFn: function(roomId, args) {
738738
if (!args) return reject(this.getUserId());

src/i18n/strings/en_EN.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,8 @@
178178
"The signing key you provided matches the signing key you received from %(userId)s's device %(deviceId)s. Device marked as verified.": "The signing key you provided matches the signing key you received from %(userId)s's device %(deviceId)s. Device marked as verified.",
179179
"Displays action": "Displays action",
180180
"Forces the current outbound group session in an encrypted room to be discarded": "Forces the current outbound group session in an encrypted room to be discarded",
181+
"Sends the given message coloured as a rainbow": "Sends the given message coloured as a rainbow",
182+
"Sends the given emote coloured as a rainbow": "Sends the given emote coloured as a rainbow",
181183
"Unrecognised command:": "Unrecognised command:",
182184
"Reason": "Reason",
183185
"%(targetName)s accepted the invitation for %(displayName)s.": "%(targetName)s accepted the invitation for %(displayName)s.",

0 commit comments

Comments
 (0)