From 8e8e349e65b70a8262599a0010936822ae0e07d2 Mon Sep 17 00:00:00 2001 From: Alan Beatty Date: Sat, 18 Dec 2021 21:10:06 +0000 Subject: [PATCH] Small `.trans` fixes --- src/NadekoBot/Modules/Searches/TranslatorCommands.cs | 2 +- src/NadekoBot/data/strings/commands/commands.en-US.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/NadekoBot/Modules/Searches/TranslatorCommands.cs b/src/NadekoBot/Modules/Searches/TranslatorCommands.cs index f8957891d..737a674fe 100644 --- a/src/NadekoBot/Modules/Searches/TranslatorCommands.cs +++ b/src/NadekoBot/Modules/Searches/TranslatorCommands.cs @@ -12,7 +12,7 @@ namespace NadekoBot.Modules.Searches public class TranslateCommands : NadekoSubmodule { [NadekoCommand, Aliases] - public async Task Translate(string from, string to, [Leftover] string text = null) + public async Task Translate(string from, string to, [Leftover] string text) { try { diff --git a/src/NadekoBot/data/strings/commands/commands.en-US.yml b/src/NadekoBot/data/strings/commands/commands.en-US.yml index fbc6b7c1f..ab27fcafb 100644 --- a/src/NadekoBot/data/strings/commands/commands.en-US.yml +++ b/src/NadekoBot/data/strings/commands/commands.en-US.yml @@ -1143,9 +1143,9 @@ butts: args: - "" translate: - desc: "Translates from>to text. From the given language to the destination language." + desc: "Translates text from the given language to the destination language." args: - - "en>fr Hello" + - "en fr Hello" translangs: desc: "Lists the valid languages for translation." args: