add splash screen text to localisation

This commit is contained in:
Mister_Nebula 2022-06-08 21:30:31 +01:00
parent c01efcf768
commit cdac9f3c85
3 changed files with 3 additions and 3 deletions

View File

@ -36,5 +36,6 @@ public class Translation
public string PlayerWasKicked;
public string KickedFromServer;
public string RespawnPlayer;
public string SplashScreenText;
public Dictionary<DeathType, string[]> DeathMessages;
}

View File

@ -74,9 +74,7 @@ public class QSBCore : ModBehaviour
public void Awake()
{
EpicRerouter.ModSide.Interop.Go();
UIHelper.ReplaceUI(UITextType.PleaseUseController,
"<color=orange>Quantum Space Buddies</color> is best experienced with friends...");
UIHelper.ReplaceUI(UITextType.PleaseUseController, QSBLocalisation.Current.SplashScreenText);
}
public void Start()

View File

@ -30,6 +30,7 @@
"PlayerWasKicked": "{0} was kicked.",
"KickedFromServer": "Kicked from server. Reason : {0}",
"RespawnPlayer": "Respawn Player",
"SplashScreenText": "<color=orange>Quantum Space Buddies</color> is best experienced with friends...",
"DeathMessages": {
"Default": [
"{0} died",