mirror of
https://github.com/TeamOctolings/Octobot.git
synced 2025-01-31 00:19:00 +03:00
Fix /ping not showing correct locale (#276)
yeah... --------- Signed-off-by: mctaylors <cantsendmails@mctaylors.ru>
This commit is contained in:
parent
cd75780582
commit
ecb92a318c
6 changed files with 17 additions and 17 deletions
|
@ -117,13 +117,13 @@
|
|||
<data name="DefaultWelcomeMessage" xml:space="preserve">
|
||||
<value>{0}, welcome to {1}</value>
|
||||
</data>
|
||||
<data name="Loaded1" xml:space="preserve">
|
||||
<data name="Generic1" xml:space="preserve">
|
||||
<value>Veemo!</value>
|
||||
</data>
|
||||
<data name="Loaded2" xml:space="preserve">
|
||||
<data name="Generic2" xml:space="preserve">
|
||||
<value>Woomy!</value>
|
||||
</data>
|
||||
<data name="Loaded3" xml:space="preserve">
|
||||
<data name="Generic3" xml:space="preserve">
|
||||
<value>Ngyes!</value>
|
||||
</data>
|
||||
<data name="YouWereBanned" xml:space="preserve">
|
||||
|
|
|
@ -117,13 +117,13 @@
|
|||
<data name="DefaultWelcomeMessage" xml:space="preserve">
|
||||
<value>{0}, добро пожаловать на сервер {1}</value>
|
||||
</data>
|
||||
<data name="Loaded1" xml:space="preserve">
|
||||
<data name="Generic1" xml:space="preserve">
|
||||
<value>Виимо!</value>
|
||||
</data>
|
||||
<data name="Loaded2" xml:space="preserve">
|
||||
<data name="Generic2" xml:space="preserve">
|
||||
<value>Вууми!</value>
|
||||
</data>
|
||||
<data name="Loaded3" xml:space="preserve">
|
||||
<data name="Generic3" xml:space="preserve">
|
||||
<value>Нгьес!</value>
|
||||
</data>
|
||||
<data name="PunishmentExpired" xml:space="preserve">
|
||||
|
|
|
@ -117,13 +117,13 @@
|
|||
<data name="DefaultWelcomeMessage" xml:space="preserve">
|
||||
<value>{0}, добро пожаловать на сервер {1}</value>
|
||||
</data>
|
||||
<data name="Loaded1" xml:space="preserve">
|
||||
<data name="Generic1" xml:space="preserve">
|
||||
<value>вииимо!</value>
|
||||
</data>
|
||||
<data name="Loaded2" xml:space="preserve">
|
||||
<data name="Generic2" xml:space="preserve">
|
||||
<value>вуууми!</value>
|
||||
</data>
|
||||
<data name="Loaded3" xml:space="preserve">
|
||||
<data name="Generic3" xml:space="preserve">
|
||||
<value>нгьес!</value>
|
||||
</data>
|
||||
<data name="YouWereBanned" xml:space="preserve">
|
||||
|
|
|
@ -91,7 +91,7 @@ public class PingCommandGroup : CommandGroup
|
|||
}
|
||||
|
||||
var embed = new EmbedBuilder().WithSmallTitle(bot.GetTag(), bot)
|
||||
.WithTitle($"Sound{Random.Shared.Next(1, 4)}".Localized())
|
||||
.WithTitle($"Generic{Random.Shared.Next(1, 4)}".Localized())
|
||||
.WithDescription($"{latency:F0}{Messages.Milliseconds}")
|
||||
.WithColour(latency < 250 ? ColorsList.Green : latency < 500 ? ColorsList.Yellow : ColorsList.Red)
|
||||
.WithCurrentTimestamp()
|
||||
|
|
12
src/Messages.Designer.cs
generated
12
src/Messages.Designer.cs
generated
|
@ -66,21 +66,21 @@ namespace Octobot {
|
|||
}
|
||||
}
|
||||
|
||||
internal static string Loaded1 {
|
||||
internal static string Generic1 {
|
||||
get {
|
||||
return ResourceManager.GetString("Loaded1", resourceCulture);
|
||||
return ResourceManager.GetString("Generic1", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
internal static string Loaded2 {
|
||||
internal static string Generic2 {
|
||||
get {
|
||||
return ResourceManager.GetString("Loaded2", resourceCulture);
|
||||
return ResourceManager.GetString("Generic2", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
internal static string Loaded3 {
|
||||
internal static string Generic3 {
|
||||
get {
|
||||
return ResourceManager.GetString("Loaded3", resourceCulture);
|
||||
return ResourceManager.GetString("Generic3", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -88,7 +88,7 @@ public class GuildLoadedResponder : IResponder<IGuildCreate>
|
|||
var i = Random.Shared.Next(1, 4);
|
||||
|
||||
var embed = new EmbedBuilder().WithSmallTitle(bot.GetTag(), bot)
|
||||
.WithTitle($"Loaded{i}".Localized())
|
||||
.WithTitle($"Generic{i}".Localized())
|
||||
.WithDescription(Messages.Ready)
|
||||
.WithCurrentTimestamp()
|
||||
.WithColour(ColorsList.Blue)
|
||||
|
|
Loading…
Reference in a new issue