This commit is contained in:
JustArchi
2018-06-25 17:31:52 +02:00
parent ffad599ea1
commit e08938559e
3 changed files with 7 additions and 6 deletions

View File

@@ -2087,7 +2087,10 @@ namespace ArchiSteamFarm {
break;
case EResult.OK:
ArchiLogger.LogGenericInfo(Strings.BotLoggedOn);
AccountFlags = callback.AccountFlags;
CachedSteamID = callback.ClientSteamID;
ArchiLogger.LogGenericInfo(string.Format(Strings.BotLoggedOn, CachedSteamID + (!string.IsNullOrEmpty(callback.VanityURL) ? "/" + callback.VanityURL : "")));
// Old status for these doesn't matter, we'll update them if needed
LibraryLockedBySteamID = TwoFactorCodeFailures = 0;
@@ -2102,9 +2105,6 @@ namespace ArchiSteamFarm {
);
}
AccountFlags = callback.AccountFlags;
CachedSteamID = callback.ClientSteamID;
if (IsAccountLimited) {
ArchiLogger.LogGenericWarning(Strings.BotAccountLimited);
}

View File

@@ -349,7 +349,7 @@ namespace ArchiSteamFarm.Localization {
}
/// <summary>
/// Wyszukuje zlokalizowany ciąg podobny do ciągu Successfully logged on!.
/// Wyszukuje zlokalizowany ciąg podobny do ciągu Successfully logged on as {0}..
/// </summary>
internal static string BotLoggedOn {
get {

View File

@@ -460,7 +460,8 @@ StackTrace:
<comment>{0} will be replaced by logging off reason (string)</comment>
</data>
<data name="BotLoggedOn" xml:space="preserve">
<value>Successfully logged on!</value>
<value>Successfully logged on as {0}.</value>
<comment>{0} will be replaced by steam ID (number)</comment>
</data>
<data name="BotLoggingIn" xml:space="preserve">
<value>Logging in...</value>