[3.4] Do not include expected wait_for responses in translated strings (#5364) (#5396)

* Do not include 'I agree' prompt in translation string

* Add more stuff

* Address review comment

* Address review comments
(cherry picked from commit 4b70acb989)

Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com>

Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com>
This commit is contained in:
Red-GitHubBot
2021-10-16 00:04:21 +02:00
committed by GitHub
parent 4dc509c18f
commit b8cf464355
8 changed files with 45 additions and 29 deletions

View File

@@ -1605,12 +1605,12 @@ class Core(commands.commands._RuleDropper, commands.Cog, CoreLogic):
guilds = (ctx.guild,)
msg = (
_("You haven't passed any server ID. Do you want me to leave this server?")
+ " (y/n)"
+ " (yes/no)"
)
else:
msg = (
_("Are you sure you want me to leave these servers?")
+ " (y/n):\n"
+ " (yes/no):\n"
+ "\n".join(f"- {guild.name} (`{guild.id}`)" for guild in guilds)
)
@@ -2688,8 +2688,9 @@ class Core(commands.commands._RuleDropper, commands.Cog, CoreLogic):
await ctx.send(
_(
"Warning: A prefix is above the recommended length (20 characters).\n"
"Do you want to continue? (y/n)"
"Do you want to continue?"
)
+ " (yes/no)"
)
pred = MessagePredicate.yes_or_no(ctx)
try: