mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-01 14:10:53 +00:00
Misc
This commit is contained in:
@@ -2793,7 +2793,7 @@ namespace ArchiSteamFarm {
|
||||
}
|
||||
|
||||
if (CardsFarmer.CurrentGamesFarming.Count == 0) {
|
||||
return FormatBotResponse(Strings.BotsStatusNotIdling);
|
||||
return FormatBotResponse(Strings.BotStatusNotIdling);
|
||||
}
|
||||
|
||||
if (CardsFarmer.CurrentGamesFarming.Count > 1) {
|
||||
@@ -2841,7 +2841,7 @@ namespace ArchiSteamFarm {
|
||||
}
|
||||
|
||||
HashSet<Bot> botsRunning = new HashSet<Bot>(Bots.Values.Where(bot => bot.KeepRunning));
|
||||
string extraResponse = string.Format(Strings.BotsStatusOverview, botsRunning.Count, Bots.Count, botsRunning.Sum(bot => bot.CardsFarmer.GamesToFarm.Count), botsRunning.Sum(bot => bot.CardsFarmer.GamesToFarm.Sum(game => game.CardsRemaining)));
|
||||
string extraResponse = string.Format(Strings.BotStatusOverview, botsRunning.Count, Bots.Count, botsRunning.Sum(bot => bot.CardsFarmer.GamesToFarm.Count), botsRunning.Sum(bot => bot.CardsFarmer.GamesToFarm.Sum(game => game.CardsRemaining)));
|
||||
|
||||
return string.Join("", responses) + FormatStaticResponse(extraResponse);
|
||||
}
|
||||
|
||||
36
ArchiSteamFarm/Localization/Strings.Designer.cs
generated
36
ArchiSteamFarm/Localization/Strings.Designer.cs
generated
@@ -528,24 +528,6 @@ namespace ArchiSteamFarm.Localization {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Bot is not idling anything..
|
||||
/// </summary>
|
||||
internal static string BotsStatusNotIdling {
|
||||
get {
|
||||
return ResourceManager.GetString("BotsStatusNotIdling", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to There are {0}/{1} bots running, with total of {2} games ({3} cards) left to idle..
|
||||
/// </summary>
|
||||
internal static string BotsStatusOverview {
|
||||
get {
|
||||
return ResourceManager.GetString("BotsStatusOverview", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Bot is idling game: {0} ({1}, {2} card drops remaining) from a total of {3} games ({4} cards) left to idle (~{5} remaining)..
|
||||
/// </summary>
|
||||
@@ -591,6 +573,15 @@ namespace ArchiSteamFarm.Localization {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Bot is not idling anything..
|
||||
/// </summary>
|
||||
internal static string BotStatusNotIdling {
|
||||
get {
|
||||
return ResourceManager.GetString("BotStatusNotIdling", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Bot is not running..
|
||||
/// </summary>
|
||||
@@ -600,6 +591,15 @@ namespace ArchiSteamFarm.Localization {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to There are {0}/{1} bots running, with total of {2} games ({3} cards) left to idle..
|
||||
/// </summary>
|
||||
internal static string BotStatusOverview {
|
||||
get {
|
||||
return ResourceManager.GetString("BotStatusOverview", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Bot is paused or running in manual mode..
|
||||
/// </summary>
|
||||
|
||||
@@ -375,7 +375,7 @@ StackTrace:
|
||||
<value>Couldn't find any bot named {0}!</value>
|
||||
<comment>{0} will be replaced by bot's name query (string)</comment>
|
||||
</data>
|
||||
<data name="BotsStatusOverview" xml:space="preserve">
|
||||
<data name="BotStatusOverview" xml:space="preserve">
|
||||
<value>There are {0}/{1} bots running, with total of {2} games ({3} cards) left to idle.</value>
|
||||
<comment>{0} will be replaced by number of active bots, {1} will be replaced by total number of bots, {2} will be replaced by total number of games left to idle, {3} will be replaced by total number of cards left to idle</comment>
|
||||
</data>
|
||||
@@ -602,7 +602,7 @@ StackTrace:
|
||||
<data name="BotRemovedExpiredLoginKey" xml:space="preserve">
|
||||
<value>Removed expired login key!</value>
|
||||
</data>
|
||||
<data name="BotsStatusNotIdling" xml:space="preserve">
|
||||
<data name="BotStatusNotIdling" xml:space="preserve">
|
||||
<value>Bot is not idling anything.</value>
|
||||
</data>
|
||||
<data name="BotStatusLimited" xml:space="preserve">
|
||||
|
||||
Reference in New Issue
Block a user