mirror of
https://github.com/JustArchiNET/ArchiSteamFarm
synced 2024-11-10 15:14:41 +00:00
Add log entry stating GamesPlayedWhileIdle
This commit is contained in:
parent
b1aec367f8
commit
62e6acc037
3 changed files with 23 additions and 7 deletions
|
@ -3427,6 +3427,8 @@ namespace ArchiSteamFarm {
|
|||
if (CardsFarmer.NowFarming || !IsPlayingPossible) {
|
||||
return;
|
||||
}
|
||||
|
||||
ArchiLogger.LogGenericInfo(string.Format(CultureInfo.CurrentCulture, Strings.BotIdlingSelectedGames, nameof(BotConfig.GamesPlayedWhileIdle), string.Join(", ", BotConfig.GamesPlayedWhileIdle)));
|
||||
}
|
||||
|
||||
await ArchiHandler.PlayGames(BotConfig.GamesPlayedWhileIdle, BotConfig.CustomGamePlayedWhileIdle).ConfigureAwait(false);
|
||||
|
|
19
ArchiSteamFarm/Localization/Strings.Designer.cs
generated
19
ArchiSteamFarm/Localization/Strings.Designer.cs
generated
|
@ -357,6 +357,15 @@ namespace ArchiSteamFarm.Localization {
|
|||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Idling selected {0}: {1}.
|
||||
/// </summary>
|
||||
public static string BotIdlingSelectedGames {
|
||||
get {
|
||||
return ResourceManager.GetString("BotIdlingSelectedGames", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Not starting this bot instance because it's disabled in config file!.
|
||||
/// </summary>
|
||||
|
@ -574,7 +583,7 @@ namespace ArchiSteamFarm.Localization {
|
|||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to You can't send trade to yourself!.
|
||||
/// Looks up a localized string similar to You can't send a trade to yourself!.
|
||||
/// </summary>
|
||||
public static string BotSendingTradeToYourself {
|
||||
get {
|
||||
|
@ -1298,7 +1307,7 @@ namespace ArchiSteamFarm.Localization {
|
|||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to You've loaded one or more of custom plugins into the ASF. Since we're unable to offer a support for modded setups, please reach the appropriate developers of the plugins that you decided to use in case of any issues..
|
||||
/// Looks up a localized string similar to You've loaded one or multiple custom plugins into ASF. Since we're unable to offer support for modded setups, please contact the appropriate developers of the plugins that you decided to use in case of any issues..
|
||||
/// </summary>
|
||||
public static string PluginsWarning {
|
||||
get {
|
||||
|
@ -1415,7 +1424,7 @@ namespace ArchiSteamFarm.Localization {
|
|||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to ASF will attempt to use your preferred {0} culture, but translation in that language was completed only in {1}. Perhaps you could help us improve ASF translation for your language?.
|
||||
/// Looks up a localized string similar to ASF will attempt to use your preferred {0} culture, but translation into that language is only {1} complete. Perhaps you could help us improve the ASF translation for your language?.
|
||||
/// </summary>
|
||||
public static string TranslationIncomplete {
|
||||
get {
|
||||
|
@ -1613,7 +1622,7 @@ namespace ArchiSteamFarm.Localization {
|
|||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to You're using a version that is newer than latest released version for your update channel. Please note that pre-release versions are dedicated to users who know how to report bugs, deal with issues and give feedback - no technical support will be given..
|
||||
/// Looks up a localized string similar to You're using a version that is newer than the latest released version for your update channel. Please note that pre-release versions are meant for users who know how to report bugs, deal with issues and give feedback - no technical support will be given..
|
||||
/// </summary>
|
||||
public static string WarningPreReleaseVersion {
|
||||
get {
|
||||
|
@ -1649,7 +1658,7 @@ namespace ArchiSteamFarm.Localization {
|
|||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to You're attempting to run {0} variant of ASF in unsupported environment: {1}. Supply --ignore-unsupported-environment argument if you really know what you're doing..
|
||||
/// Looks up a localized string similar to You're attempting to run {0} variant of ASF in an unsupported environment: {1}. Supply --ignore-unsupported-environment argument if you really know what you're doing..
|
||||
/// </summary>
|
||||
public static string WarningUnsupportedEnvironment {
|
||||
get {
|
||||
|
|
|
@ -741,8 +741,13 @@ Process uptime: {1}</value>
|
|||
</data>
|
||||
<data name="WarningUnknownCommandLineArgument" xml:space="preserve">
|
||||
<value>Unknown command-line argument: {0}</value>
|
||||
<comment>{0} will be replaced by unrecognized command that has been provided</comment>
|
||||
</data>
|
||||
<data name="ErrorConfigDirectoryNotFound" xml:space="preserve">
|
||||
<data name="ErrorConfigDirectoryNotFound" xml:space="preserve">
|
||||
<value>Config directory could not be found, aborting!</value>
|
||||
</data>
|
||||
</data>
|
||||
<data name="BotIdlingSelectedGames" xml:space="preserve">
|
||||
<value>Idling selected {0}: {1}</value>
|
||||
<comment>{0} will be replaced by internal name of the config property (e.g. "GamesPlayedWhileIdle"), {1} will be replaced by comma-separated list of appIDs that user has chosen</comment>
|
||||
</data>
|
||||
</root>
|
||||
|
|
Loading…
Reference in a new issue