Add TargetBotNotConnected string (#919)

* Add TargetBotNotConnected string

* Fix encoding
This commit is contained in:
Vital7
2018-10-16 00:13:56 +03:00
committed by Łukasz Domeradzki
parent 3417c57ec7
commit 526a38a840
3 changed files with 215 additions and 203 deletions

View File

@@ -632,7 +632,7 @@ namespace ArchiSteamFarm {
}
if (!targetBot.IsConnectedAndLoggedOn) {
return FormatBotResponse(Strings.BotNotConnected);
return FormatBotResponse(Strings.TargetBotNotConnected);
}
(bool success, string output) = await Bot.Actions.SendTradeOffer(appID, contextID, targetBot.SteamID).ConfigureAwait(false);
@@ -2128,7 +2128,7 @@ namespace ArchiSteamFarm {
}
if (!targetBot.IsConnectedAndLoggedOn) {
return FormatBotResponse(Strings.BotNotConnected);
return FormatBotResponse(Strings.TargetBotNotConnected);
}
if (targetBot.SteamID == Bot.SteamID) {
@@ -2171,7 +2171,7 @@ namespace ArchiSteamFarm {
}
if (!targetBot.IsConnectedAndLoggedOn) {
return FormatBotResponse(Strings.BotNotConnected);
return FormatBotResponse(Strings.TargetBotNotConnected);
}
if (targetBot.SteamID == Bot.SteamID) {

File diff suppressed because it is too large Load Diff

View File

@@ -658,4 +658,7 @@ StackTrace:
<value>Workaround for {0} bug has been triggered.</value>
<comment>{0} will be replaced by the bug's name provided by ASF</comment>
</data>
<data name="TargetBotNotConnected" xml:space="preserve">
<value>Target bot instance is not connected!</value>
</data>
</root>