From a6ab55dd4a5cc43dd1932082c812082ea1a578e1 Mon Sep 17 00:00:00 2001 From: Linventif Date: Thu, 21 Nov 2024 17:00:46 +0000 Subject: [PATCH] Fix: a getTranslation bad argument --- lua/gmod_integration/client/cl_gui_wrong_branch.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/gmod_integration/client/cl_gui_wrong_branch.lua b/lua/gmod_integration/client/cl_gui_wrong_branch.lua index 0ce40ad..221252e 100644 --- a/lua/gmod_integration/client/cl_gui_wrong_branch.lua +++ b/lua/gmod_integration/client/cl_gui_wrong_branch.lua @@ -10,7 +10,7 @@ function gmInte.openWrongBranchPopup() local messageLabel = vgui.Create("DLabel", frame) messageLabel:Dock(FILL) messageLabel:DockMargin(10, 0, 10, 0) - messageLabel:SetText(gmInte.getTranslation("branch.description", "Hey,\nThis server doesn't not allow your game version '{1}' to join. Please switch to '{2}' in the beta tab of Garry's Mod properties.\n\nSteam -> Library -> Garry's Mod -> Right Click -> Properties -> Betas -> Select '{3}'" .. "\n\nAfter you've done that, exit Garry's Mod and rejoin the server.", {BRANCH, gmInte.config.clientBranch, gmInte.config.clientBranch})) + messageLabel:SetText(gmInte.getTranslation("branch.description", "Hey,\nThis server doesn't not allow your game version '{1}' to join. Please switch to '{2}' in the beta tab of Garry's Mod properties.\n\nSteam -> Library -> Garry's Mod -> Right Click -> Properties -> Betas -> Select '{3}'" .. "\n\nAfter you've done that, exit Garry's Mod and rejoin the server.", BRANCH, gmInte.config.clientBranch, gmInte.config.clientBranch)) messageLabel:SetContentAlignment(5) messageLabel:SetFont("GmodIntegration_Roboto_16") messageLabel:SetWrap(true)