feat(commands|Custom>alias;locale): finish translations issues
This commit is contained in:
parent
573ce3fb18
commit
6757ce2ccc
3 changed files with 8 additions and 8 deletions
|
@ -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
|
||||
|
|
|
@ -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à"
|
||||
|
|
|
@ -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 ""
|
||||
|
|
Loading…
Reference in a new issue