From cdac9f3c850248003083680ef9059bc30b92b8bd Mon Sep 17 00:00:00 2001 From: Mister_Nebula <41904486+misternebula@users.noreply.github.com> Date: Wed, 8 Jun 2022 21:30:31 +0100 Subject: [PATCH] add splash screen text to localisation --- QSB/Localisation/Translation.cs | 1 + QSB/QSBCore.cs | 4 +--- QSB/Translations/en.json | 1 + 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/QSB/Localisation/Translation.cs b/QSB/Localisation/Translation.cs index fcffd337..f2859730 100644 --- a/QSB/Localisation/Translation.cs +++ b/QSB/Localisation/Translation.cs @@ -36,5 +36,6 @@ public class Translation public string PlayerWasKicked; public string KickedFromServer; public string RespawnPlayer; + public string SplashScreenText; public Dictionary DeathMessages; } diff --git a/QSB/QSBCore.cs b/QSB/QSBCore.cs index 44739905..18bbb3f2 100644 --- a/QSB/QSBCore.cs +++ b/QSB/QSBCore.cs @@ -74,9 +74,7 @@ public class QSBCore : ModBehaviour public void Awake() { EpicRerouter.ModSide.Interop.Go(); - - UIHelper.ReplaceUI(UITextType.PleaseUseController, - "Quantum Space Buddies is best experienced with friends..."); + UIHelper.ReplaceUI(UITextType.PleaseUseController, QSBLocalisation.Current.SplashScreenText); } public void Start() diff --git a/QSB/Translations/en.json b/QSB/Translations/en.json index 3a0e526b..97e5fa50 100644 --- a/QSB/Translations/en.json +++ b/QSB/Translations/en.json @@ -30,6 +30,7 @@ "PlayerWasKicked": "{0} was kicked.", "KickedFromServer": "Kicked from server. Reason : {0}", "RespawnPlayer": "Respawn Player", + "SplashScreenText": "Quantum Space Buddies is best experienced with friends...", "DeathMessages": { "Default": [ "{0} died",