1
0
Fork 1
mirror of https://github.com/TeamOctolings/Octobot.git synced 2025-04-20 00:43:36 +03:00

Mention user in small title

Signed-off-by: Macintosh II <mctaylxrs@outlook.com>
This commit is contained in:
Macintxsh 2023-10-03 00:02:38 +03:00
parent 6a961dac3d
commit 570f6bd901
Signed by: mctaylors
GPG key ID: 361D326747B61E65
5 changed files with 10 additions and 9 deletions

View file

@ -648,8 +648,8 @@
<data name="ShowInfoGuildMemberPremiumSince" xml:space="preserve">
<value>Nitro booster since</value>
</data>
<data name="RandomOutput" xml:space="preserve">
<value>Your random number is:</value>
<data name="RandomTitle" xml:space="preserve">
<value>Random number for {0} is:</value>
</data>
<data name="RandomMinMaxSame" xml:space="preserve">
<value>Isn't it obvious?</value>

View file

@ -648,8 +648,8 @@
<data name="ShowInfoGuildMemberPremiumSince" xml:space="preserve">
<value>Начал бустить сервер</value>
</data>
<data name="RandomOutput" xml:space="preserve">
<value>Ваше случайное число:</value>
<data name="RandomTitle" xml:space="preserve">
<value>Случайное число для {0}:</value>
</data>
<data name="RandomMinMaxSame" xml:space="preserve">
<value>Разве это не очевидно?</value>

View file

@ -648,8 +648,8 @@
<data name="ShowInfoGuildMemberPremiumSince" xml:space="preserve">
<value>бустит сервер со времен</value>
</data>
<data name="RandomOutput" xml:space="preserve">
<value>ваше рандомное число:</value>
<data name="RandomTitle" xml:space="preserve">
<value>рандомное число {0}:</value>
</data>
<data name="RandomMinMaxSame" xml:space="preserve">
<value>ну чувак...</value>

View file

@ -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();

View file

@ -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);
}
}