mirror of
https://github.com/gmod-integration/lua.git
synced 2025-03-15 14:57:33 +00:00
Fix: a getTranslation bad argument
This commit is contained in:
parent
4572d64017
commit
a6ab55dd4a
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user