Minor i18n fix with interpolation

The extractor handle the concatenate incorrectly
This commit is contained in:
SGKoishi 2022-10-28 14:01:20 -07:00
parent 80736028df
commit 6c3415d86b
No known key found for this signature in database
GPG key ID: 8FFC399070653828
2 changed files with 8 additions and 5 deletions

View file

@ -3189,13 +3189,13 @@ namespace TShockAPI
args.Player.IsDisabledForBannedWearable = false;
args.Player.SendMessage(GetString("Authenticated as " + args.Player.Name + " successfully."), Color.LimeGreen);
TShock.Log.ConsoleInfo(args.Player.Name + " authenticated successfully as user " + args.Player.Name + ".");
args.Player.SendMessage(GetString($"Authenticated as {args.Player.Name} successfully."), Color.LimeGreen);
TShock.Log.ConsoleInfo($"{args.Player.Name} authenticated successfully as user {args.Player.Name}.");
TShock.UserAccounts.SetUserAccountUUID(account, args.Player.UUID);
Hooks.PlayerHooks.OnPlayerPostLogin(args.Player);
return true;
}
args.Player.Kick("Your password did not match this character's password.", true, true);
args.Player.Kick(GetString("Your password did not match this character's password."), true, true);
return true;
}