mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-01 14:10:53 +00:00
Use different text for private apps
This commit is contained in:
6
ArchiSteamFarm/Localization/Strings.Designer.cs
generated
6
ArchiSteamFarm/Localization/Strings.Designer.cs
generated
@@ -1232,5 +1232,11 @@ namespace ArchiSteamFarm.Localization {
|
||||
return ResourceManager.GetString("ErrorTooManyCrashes", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
public static string IdlingGameNotPossiblePrivate {
|
||||
get {
|
||||
return ResourceManager.GetString("IdlingGameNotPossiblePrivate", resourceCulture);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -760,4 +760,8 @@ Process uptime: {1}</value>
|
||||
<data name="ErrorTooManyCrashes" xml:space="preserve">
|
||||
<value>Your ASF has crashed too many times recently, and due to that the process initialization has been disabled. Either investigate, fix your setup, then remove ASF.crash file from your config directory, or supply --ignore-unsupported-environment argument if you really know what you're doing.</value>
|
||||
</data>
|
||||
<data name="IdlingGameNotPossiblePrivate" xml:space="preserve">
|
||||
<value>Farming {0} ({1}) is disabled, as that game is currently marked as private. If you intend from ASF to farm that game, then consider changing its privacy settings.</value>
|
||||
<comment>{0} will be replaced by game's ID (number), {1} will be replaced by game's name</comment>
|
||||
</data>
|
||||
</root>
|
||||
|
||||
@@ -659,7 +659,7 @@ public sealed class CardsFarmer : IAsyncDisposable, IDisposable {
|
||||
|
||||
if (privateAppIDs?.Contains(appID) == true) {
|
||||
// This game is private, it won't drop any cards until removal
|
||||
Bot.ArchiLogger.LogGenericInfo(string.Format(CultureInfo.CurrentCulture, Strings.IdlingGameNotPossible, appID, name));
|
||||
Bot.ArchiLogger.LogGenericInfo(string.Format(CultureInfo.CurrentCulture, Strings.IdlingGameNotPossiblePrivate, appID, name));
|
||||
|
||||
continue;
|
||||
}
|
||||
@@ -1275,7 +1275,7 @@ public sealed class CardsFarmer : IAsyncDisposable, IDisposable {
|
||||
}
|
||||
|
||||
// This game is private, it won't drop any cards until removal
|
||||
Bot.ArchiLogger.LogGenericInfo(string.Format(CultureInfo.CurrentCulture, Strings.IdlingGameNotPossible, appID, name));
|
||||
Bot.ArchiLogger.LogGenericInfo(string.Format(CultureInfo.CurrentCulture, Strings.IdlingGameNotPossiblePrivate, appID, name));
|
||||
|
||||
gamesToFarm.Remove(appID);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user