diff --git a/locale/Messages.resx b/locale/Messages.resx index bda56cf..c3060f9 100644 --- a/locale/Messages.resx +++ b/locale/Messages.resx @@ -648,8 +648,8 @@ Nitro booster since - - Your random number is: + + Random number for {0} is: Isn't it obvious? diff --git a/locale/Messages.ru.resx b/locale/Messages.ru.resx index f627842..ed03244 100644 --- a/locale/Messages.ru.resx +++ b/locale/Messages.ru.resx @@ -648,8 +648,8 @@ Начал бустить сервер - - Ваше случайное число: + + Случайное число для {0}: Разве это не очевидно? diff --git a/locale/Messages.tt-ru.resx b/locale/Messages.tt-ru.resx index 49e7093..02a9ec9 100644 --- a/locale/Messages.tt-ru.resx +++ b/locale/Messages.tt-ru.resx @@ -648,8 +648,8 @@ бустит сервер со времен - - ваше рандомное число: + + рандомное число {0}: ну чувак... diff --git a/src/Commands/ToolsCommandGroup.cs b/src/Commands/ToolsCommandGroup.cs index 65897b2..dca2094 100644 --- a/src/Commands/ToolsCommandGroup.cs +++ b/src/Commands/ToolsCommandGroup.cs @@ -296,7 +296,8 @@ public class ToolsCommandGroup : CommandGroup embedColor = ColorsList.Red; } - var embed = new EmbedBuilder().WithSmallTitle(Messages.RandomOutput, user) + var embed = new EmbedBuilder().WithSmallTitle( + string.Format(Messages.RandomTitle, user.GetTag()), user) .WithDescription(description.ToString()) .WithColour(embedColor) .Build(); diff --git a/src/Messages.Designer.cs b/src/Messages.Designer.cs index 7f93fa2..aeb6aef 100644 --- a/src/Messages.Designer.cs +++ b/src/Messages.Designer.cs @@ -1122,10 +1122,10 @@ namespace Octobot { } } - internal static string RandomOutput + internal static string RandomTitle { get { - return ResourceManager.GetString("RandomOutput", resourceCulture); + return ResourceManager.GetString("RandomTitle", resourceCulture); } }