From 6bf85a42f89fbc2ce3a689d8331b519a5ea62dcb Mon Sep 17 00:00:00 2001 From: Kreus Amredes <67752638+Kreusada@users.noreply.github.com> Date: Tue, 31 Aug 2021 22:20:29 +0100 Subject: [PATCH] [Downloader] Fix various formatting issues in cog update notices (#5185) * again :P * some more * fix --- redbot/cogs/downloader/downloader.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/redbot/cogs/downloader/downloader.py b/redbot/cogs/downloader/downloader.py index 61cd53026..4eb6d6781 100644 --- a/redbot/cogs/downloader/downloader.py +++ b/redbot/cogs/downloader/downloader.py @@ -1441,7 +1441,7 @@ class Downloader(commands.Cog): message += ( _("\nSome cogs with these names are already installed from different repos: ") if len(name_already_used) > 1 - else _("Cog with this name is already installed from a different repo.") + else _("\nCog with this name is already installed from a different repo.") ) + humanize_list(name_already_used) correct_cogs, add_to_message = self._filter_incorrect_cogs(cogs) if add_to_message: @@ -1486,7 +1486,7 @@ class Downloader(commands.Cog): message += ( _("\nThese cogs require higher python version than you have: ") if len(outdated_python_version) - else _("This cog requires higher python version than you have: ") + else _("\nThis cog requires higher python version than you have: ") ) + humanize_list(outdated_python_version) if outdated_bot_version: message += ( @@ -1589,7 +1589,7 @@ class Downloader(commands.Cog): ) else: message += ( - _("End user data statement of this cog has changed:") + _("\nEnd user data statement of this cog has changed:") + inline(next(iter(cogs_with_changed_eud_statement))) + _("\nYou can use {command} to see the updated statement.\n").format( command=inline(f"{ctx.clean_prefix}cog info ")