From 2fd371e1ddc52e9088f48d5407ca3117daf01504 Mon Sep 17 00:00:00 2001
From: Michael Telatynski <7t3chguy@gmail.com>
Date: Tue, 6 Aug 2019 17:07:56 +0100
Subject: [PATCH] prune i18n and get rid of /help header
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
---
src/SlashCommands.js | 7 -------
src/i18n/strings/en_EN.json | 6 +-----
2 files changed, 1 insertion(+), 12 deletions(-)
diff --git a/src/SlashCommands.js b/src/SlashCommands.js
index dd3cb10c09..ec3028cb01 100644
--- a/src/SlashCommands.js
+++ b/src/SlashCommands.js
@@ -819,13 +819,6 @@ export const CommandMap = {
Modal.createTrackedDialog('Slash Commands', 'Help', InfoDialog, {
title: _t("Command Help"),
description:
-
-
- {_t("Command")} |
- {_t("Arguments")} |
- {_t("Description")} |
-
-
{
Object.values(CommandMap).map(cmd => {
diff --git a/src/i18n/strings/en_EN.json b/src/i18n/strings/en_EN.json
index ad602acc1e..c5ef2fd989 100644
--- a/src/i18n/strings/en_EN.json
+++ b/src/i18n/strings/en_EN.json
@@ -182,11 +182,6 @@
"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",
"Sends the given message coloured as a rainbow": "Sends the given message coloured as a rainbow",
"Sends the given emote coloured as a rainbow": "Sends the given emote coloured as a rainbow",
- "Displays list of commands with usages and descriptions": "Displays list of commands with usages and descriptions",
- "Command Help": "Command Help",
- "Command": "Command",
- "Arguments": "Arguments",
- "Description": "Description",
"Unrecognised command:": "Unrecognised command:",
"Reason": "Reason",
"%(targetName)s accepted the invitation for %(displayName)s.": "%(targetName)s accepted the invitation for %(displayName)s.",
@@ -1471,6 +1466,7 @@
"Your community hasn't got a Long Description, a HTML page to show to community members.
Click here to open settings and give it one!": "Your community hasn't got a Long Description, a HTML page to show to community members.
Click here to open settings and give it one!",
"Long Description (HTML)": "Long Description (HTML)",
"Upload avatar": "Upload avatar",
+ "Description": "Description",
"Community %(groupId)s not found": "Community %(groupId)s not found",
"This homeserver does not support communities": "This homeserver does not support communities",
"Failed to load %(groupId)s": "Failed to load %(groupId)s",