Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lang: Fixes and Improvements #1578

Merged
merged 3 commits into from
Aug 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2169,7 +2169,11 @@ function SKIN:PaintInfoItemTTT2(panel, w, h)
continue
end

text_translated = text_translated .. DynT(body, params, true) .. ""
if i == 1 then
text_translated = DynT(body, params, true)
else
text_translated = text_translated .. " " .. DynT(body, params, true)
end
end
end

Expand Down
2 changes: 2 additions & 0 deletions lua/terrortown/entities/items/item_ttt_disguiser.lua
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ if CLIENT then
ITEM.material = "vgui/ttt/icon_disguise"
ITEM.hud = Material("vgui/ttt/perks/hud_disguiser.png")

ITEM.sidebarDescription = "item_disguiser_sidebar"

---
-- @ignore
function ITEM:DrawInfo()
Expand Down
2 changes: 1 addition & 1 deletion lua/ttt2/libraries/bodysearch.lua
Original file line number Diff line number Diff line change
Expand Up @@ -697,7 +697,7 @@ if CLIENT then
text = {
{
body = "search_kills2",
params = { player = table.concat(nicks, "\n", 1) },
params = { player = table.concat(nicks, ", ", 1) },
},
},
}
Expand Down
Loading