From 4c1b911cb79dee619f67beb9bdb2c96b8cd27633 Mon Sep 17 00:00:00 2001 From: Kwoth Date: Fri, 17 Dec 2021 15:59:18 +0100 Subject: [PATCH] Inrole string fix --- src/NadekoBot/Modules/Utility/Utility.cs | 4 ++-- src/NadekoBot/data/strings/responses/responses.en-US.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/NadekoBot/Modules/Utility/Utility.cs b/src/NadekoBot/Modules/Utility/Utility.cs index 017da97b8..a2bbddb7a 100644 --- a/src/NadekoBot/Modules/Utility/Utility.cs +++ b/src/NadekoBot/Modules/Utility/Utility.cs @@ -122,9 +122,9 @@ namespace NadekoBot.Modules.Utility if (pageUsers.Count == 0) return _eb.Create().WithOkColor().WithDescription(GetText(strs.no_user_on_this_page)); - + return _eb.Create().WithOkColor() - .WithTitle(GetText(strs.inrole_list(Format.Bold(role?.Name ?? "No Role") + $" - {roleUsers.Length}"))) + .WithTitle(GetText(strs.inrole_list(Format.Bold(role?.Name ?? "No Role"), roleUsers.Length))) .WithDescription(string.Join("\n", pageUsers)); }, roleUsers.Length, 20).ConfigureAwait(false); } diff --git a/src/NadekoBot/data/strings/responses/responses.en-US.json b/src/NadekoBot/data/strings/responses/responses.en-US.json index 5abdc369c..8da675583 100644 --- a/src/NadekoBot/data/strings/responses/responses.en-US.json +++ b/src/NadekoBot/data/strings/responses/responses.en-US.json @@ -556,7 +556,7 @@ "error": "Error", "features": "Features", "index_out_of_range": "Index out of range.", - "inrole_list": "List of users in {0} role", + "inrole_list": "List of users in {0} role ({1})", "joined_discord": "Joined Discord", "joined_server": "Joined server", "listservers": "ID: {0}\nMembers: {1}\nOwner ID: {2}",