From 77f715ba739b267e450f8f4890f671e048228f5d Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Wed, 9 Sep 2020 14:55:27 -0600 Subject: [PATCH] Fix i18n and analytics --- src/SlashCommands.tsx | 2 +- src/i18n/strings/en_EN.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/SlashCommands.tsx b/src/SlashCommands.tsx index 56ea5846fd..6456368211 100644 --- a/src/SlashCommands.tsx +++ b/src/SlashCommands.tsx @@ -974,7 +974,7 @@ export const Commands = [ args: "", runFn: function(roomId, args) { return success( - Modal.createTrackedDialog('Bug Report Dialog', '', BugReportDialog, { + Modal.createTrackedDialog('Slash Commands', 'Bug Report Dialog', BugReportDialog, { initialText: args, }).finished, ); diff --git a/src/i18n/strings/en_EN.json b/src/i18n/strings/en_EN.json index 054777fd64..77cd8ef661 100644 --- a/src/i18n/strings/en_EN.json +++ b/src/i18n/strings/en_EN.json @@ -206,8 +206,6 @@ "Displays list of commands with usages and descriptions": "Displays list of commands with usages and descriptions", "Displays information about a user": "Displays information about a user", "Send a bug report with logs": "Send a bug report with logs", - "Logs sent": "Logs sent", - "Thank you!": "Thank you!", "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", "Displays action": "Displays action", @@ -1602,6 +1600,8 @@ "Close dialog": "Close dialog", "Please tell us what went wrong or, better, create a GitHub issue that describes the problem.": "Please tell us what went wrong or, better, create a GitHub issue that describes the problem.", "Preparing to send logs": "Preparing to send logs", + "Logs sent": "Logs sent", + "Thank you!": "Thank you!", "Failed to send logs: ": "Failed to send logs: ", "Preparing to download logs": "Preparing to download logs", "Reminder: Your browser is unsupported, so your experience may be unpredictable.": "Reminder: Your browser is unsupported, so your experience may be unpredictable.",