format more strings

This commit is contained in:
Mister_Nebula 2022-06-08 21:30:56 +01:00
parent 1fdac51082
commit bf96c527ad
2 changed files with 2 additions and 3 deletions

View File

@ -461,7 +461,7 @@ internal class MenuManager : MonoBehaviour, IAddComponentOnStart
Delay.RunWhen(() => TimeLoop._initialized, QSBNetworkManager.singleton.StartHost);
};
OpenInfoPopup(QSBLocalisation.Current.CopyProductUserIDToClipboard
OpenInfoPopup(string.Format(QSBLocalisation.Current.CopyProductUserIDToClipboard, productUserId)
, QSBLocalisation.Current.Yes
, QSBLocalisation.Current.No);
}

View File

@ -118,7 +118,7 @@ public class PlayerJoinMessage : QSBMessage
var player = QSBPlayerManager.GetPlayer(From);
player.Name = PlayerName;
DebugLog.ToAll($"{player.Name} joined!", MessageType.Info);
DebugLog.ToAll(string.Format(QSBLocalisation.Current.PlayerJoinedTheGame, player.Name), MessageType.Info);
DebugLog.DebugWrite($"{player} joined. qsbVersion:{QSBVersion}, gameVersion:{GameVersion}, dlcInstalled:{DlcInstalled}", MessageType.Info);
}
@ -126,6 +126,5 @@ public class PlayerJoinMessage : QSBMessage
{
var player = QSBPlayerManager.GetPlayer(QSBPlayerManager.LocalPlayerId);
player.Name = PlayerName;
DebugLog.ToAll($"Connected to server as {player.Name}.", MessageType.Info);
}
}