From 6757ce2ccc4e2d545a7e886b2c56b59a8e7d7324 Mon Sep 17 00:00:00 2001
From: Romain J <romain.ordi@gmail.com>
Date: Tue, 19 Jan 2021 15:08:55 +0100
Subject: [PATCH] feat(commands|Custom>alias;locale): finish translations
 issues

---
 tuxbot/cogs/Custom/functions/converters.py | 4 ++--
 tuxbot/cogs/Custom/locales/fr-FR.po        | 8 ++++----
 tuxbot/cogs/Custom/locales/messages.pot    | 4 ++--
 3 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/tuxbot/cogs/Custom/functions/converters.py b/tuxbot/cogs/Custom/functions/converters.py
index d5fd6fc..05895c0 100644
--- a/tuxbot/cogs/Custom/functions/converters.py
+++ b/tuxbot/cogs/Custom/functions/converters.py
@@ -20,9 +20,9 @@ class AliasConvertor(commands.Converter):
         alias_ctx = await copy_context_with(ctx, content=ctx.prefix + args[1])
 
         if command_ctx.command is None:
-            raise commands.BadArgument(_(f"Unknown command `{args[0]}`"))
+            raise commands.BadArgument(_("Unknown command"))
 
         if alias_ctx.command is not None:
-            raise commands.BadArgument(_(f"Command `{args[1]}` already exists"))
+            raise commands.BadArgument(_("Command already exists"))
 
         return argument
diff --git a/tuxbot/cogs/Custom/locales/fr-FR.po b/tuxbot/cogs/Custom/locales/fr-FR.po
index 94a800c..6f98cde 100644
--- a/tuxbot/cogs/Custom/locales/fr-FR.po
+++ b/tuxbot/cogs/Custom/locales/fr-FR.po
@@ -48,10 +48,10 @@ msgstr "L'alias doit être comme `[command] | [alias"
 
 #: tuxbot/cogs/Custom/functions/converters.py:23
 #, python-brace-format
-msgid "Unknown command `{args[0]}`"
-msgstr "Commande `{args[0]}` inconnue"
+msgid "Unknown command"
+msgstr "Commande inconnue"
 
 #: tuxbot/cogs/Custom/functions/converters.py:26
 #, python-brace-format
-msgid "Command `{args[1]}` already exists"
-msgstr "La commande `{args[1]}` existe déjà"
+msgid "Command already exists"
+msgstr "La commande existe déjà"
diff --git a/tuxbot/cogs/Custom/locales/messages.pot b/tuxbot/cogs/Custom/locales/messages.pot
index d34e30d..b914f61 100644
--- a/tuxbot/cogs/Custom/locales/messages.pot
+++ b/tuxbot/cogs/Custom/locales/messages.pot
@@ -47,10 +47,10 @@ msgstr ""
 
 #: tuxbot/cogs/Custom/functions/converters.py:23
 #, python-brace-format
-msgid "Unknown command `{args[0]}`"
+msgid "Unknown command"
 msgstr ""
 
 #: tuxbot/cogs/Custom/functions/converters.py:26
 #, python-brace-format
-msgid "Command `{args[1]}` already exists"
+msgid "Command already exists"
 msgstr ""