Skip to content

Commit

Permalink
Merge branch 'master' into fix-cl-main-error
Browse files Browse the repository at this point in the history
  • Loading branch information
Histalek authored Nov 27, 2024
2 parents 074e1f5 + ad73933 commit 36d4198
Show file tree
Hide file tree
Showing 18 changed files with 53 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ All notable changes to TTT2 will be documented here. Inspired by [keep a changel
- Fixed Magneto-stick not using C_Hands (by @SvveetMavis)
- Fixed console error when dropping ammo for weapons with no AmmoEnt (by @MrXonte)
- Fixed client error for a not fully initialized client (by @Histalek)
- Fixed the targetID corpse hint not respecting `ttt_identify_body_woconfirm` (by @Histalek)
- Fixed the beacon not being properly translated when placed (by @Histalek)

### Changed

Expand Down
2 changes: 1 addition & 1 deletion gamemodes/terrortown/entities/entities/ttt_beacon.lua
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ DEFINE_BASECLASS("ttt_base_placeable")

if CLIENT then
ENT.Icon = "vgui/ttt/icon_beacon"
ENT.PrintName = "Beacon"
ENT.PrintName = "beacon_name"
end

ENT.Base = "ttt_base_placeable"
Expand Down
3 changes: 3 additions & 0 deletions lua/terrortown/lang/de.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2366,3 +2366,6 @@ L.label_voice_activation_mode_toggle_enabled = "Umschalten (Aktiviert zum Start)
--L.label_keyhelper_leave_vehicle = "leave vehicle"
--L.name_vehicle = "Vehicle"
--L.vehicle_enter = "Press [{usekey}] to enter vehicle"

-- 2024-11-27
--L.corpse_hint_without_confirm = "Press [{usekey}] to search."
3 changes: 3 additions & 0 deletions lua/terrortown/lang/en.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2366,3 +2366,6 @@ L.label_loadingscreen_min_duration = "Minimum loading screen display time"
L.label_keyhelper_leave_vehicle = "leave vehicle"
L.name_vehicle = "Vehicle"
L.vehicle_enter = "Press [{usekey}] to enter vehicle"

-- 2024-11-27
L.corpse_hint_without_confirm = "Press [{usekey}] to search."
3 changes: 3 additions & 0 deletions lua/terrortown/lang/es.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2366,3 +2366,6 @@ L.decoy_help_primary = "Colocar el señuelo"
--L.label_keyhelper_leave_vehicle = "leave vehicle"
--L.name_vehicle = "Vehicle"
--L.vehicle_enter = "Press [{usekey}] to enter vehicle"

-- 2024-11-27
--L.corpse_hint_without_confirm = "Press [{usekey}] to search."
3 changes: 3 additions & 0 deletions lua/terrortown/lang/fr.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2366,3 +2366,6 @@ L.label_loadingscreen_min_duration = "Temps d'affichage minimum de l'écran de c
L.label_keyhelper_leave_vehicle = "sortir du véhicule"
L.name_vehicle = "Véhicule"
L.vehicle_enter = "Appuyez sur [{usekey}] pour entrer dans le véhicule"

-- 2024-11-27
--L.corpse_hint_without_confirm = "Press [{usekey}] to search."
3 changes: 3 additions & 0 deletions lua/terrortown/lang/it.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2366,3 +2366,6 @@ L.decoy_help_primary = "Piazza un esca"
--L.label_keyhelper_leave_vehicle = "leave vehicle"
--L.name_vehicle = "Vehicle"
--L.vehicle_enter = "Press [{usekey}] to enter vehicle"

-- 2024-11-27
--L.corpse_hint_without_confirm = "Press [{usekey}] to search."
3 changes: 3 additions & 0 deletions lua/terrortown/lang/ja.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2369,3 +2369,6 @@ L.label_player_role = "役職選択"
--L.label_keyhelper_leave_vehicle = "leave vehicle"
--L.name_vehicle = "Vehicle"
--L.vehicle_enter = "Press [{usekey}] to enter vehicle"

-- 2024-11-27
--L.corpse_hint_without_confirm = "Press [{usekey}] to search."
3 changes: 3 additions & 0 deletions lua/terrortown/lang/ko.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2363,3 +2363,6 @@ L.label_crosshair_size_gap = "크로스헤어 공간 배율"
--L.label_keyhelper_leave_vehicle = "leave vehicle"
--L.name_vehicle = "Vehicle"
--L.vehicle_enter = "Press [{usekey}] to enter vehicle"

-- 2024-11-27
--L.corpse_hint_without_confirm = "Press [{usekey}] to search."
3 changes: 3 additions & 0 deletions lua/terrortown/lang/pl.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2366,3 +2366,6 @@ L.decoy_help_primary = "Rozstaw Wabik"
--L.label_keyhelper_leave_vehicle = "leave vehicle"
--L.name_vehicle = "Vehicle"
--L.vehicle_enter = "Press [{usekey}] to enter vehicle"

-- 2024-11-27
--L.corpse_hint_without_confirm = "Press [{usekey}] to search."
3 changes: 3 additions & 0 deletions lua/terrortown/lang/pt_br.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2366,3 +2366,6 @@ L.decoy_help_primary = "Plantar a isca"
--L.label_keyhelper_leave_vehicle = "leave vehicle"
--L.name_vehicle = "Vehicle"
--L.vehicle_enter = "Press [{usekey}] to enter vehicle"

-- 2024-11-27
--L.corpse_hint_without_confirm = "Press [{usekey}] to search."
3 changes: 3 additions & 0 deletions lua/terrortown/lang/ru.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2368,3 +2368,6 @@ L.label_loadingscreen_min_duration = "Минимальное время отоб
L.label_keyhelper_leave_vehicle = "покинуть транспорт"
L.name_vehicle = "Транспорт"
L.vehicle_enter = "[{usekey}] Сесть в транспорт."

-- 2024-11-27
--L.corpse_hint_without_confirm = "Press [{usekey}] to search."
3 changes: 3 additions & 0 deletions lua/terrortown/lang/sv.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2366,3 +2366,6 @@ L.body_confirm_one = "{finder} bekräftade att {victim} har dött."
--L.label_keyhelper_leave_vehicle = "leave vehicle"
--L.name_vehicle = "Vehicle"
--L.vehicle_enter = "Press [{usekey}] to enter vehicle"

-- 2024-11-27
--L.corpse_hint_without_confirm = "Press [{usekey}] to search."
3 changes: 3 additions & 0 deletions lua/terrortown/lang/tr.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2366,3 +2366,6 @@ L.label_loadingscreen_min_duration = "Minimum yükleme ekranı görüntüleme s
L.label_keyhelper_leave_vehicle = "araçtan çık"
L.name_vehicle = "Araç"
L.vehicle_enter = "Araca girmek için [{usekey}] tuşuna bas"

-- 2024-11-27
--L.corpse_hint_without_confirm = "Press [{usekey}] to search."
3 changes: 3 additions & 0 deletions lua/terrortown/lang/uk.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2366,3 +2366,6 @@ L.body_confirm_one = "{finder} підтверджує смерть {victim}."
--L.label_keyhelper_leave_vehicle = "leave vehicle"
--L.name_vehicle = "Vehicle"
--L.vehicle_enter = "Press [{usekey}] to enter vehicle"

-- 2024-11-27
--L.corpse_hint_without_confirm = "Press [{usekey}] to search."
3 changes: 3 additions & 0 deletions lua/terrortown/lang/zh_hans.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2366,3 +2366,6 @@ L.label_player_role = "选择角色"
--L.label_keyhelper_leave_vehicle = "leave vehicle"
--L.name_vehicle = "Vehicle"
--L.vehicle_enter = "Press [{usekey}] to enter vehicle"

-- 2024-11-27
--L.corpse_hint_without_confirm = "Press [{usekey}] to search."
3 changes: 3 additions & 0 deletions lua/terrortown/lang/zh_tw.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2366,3 +2366,6 @@ L.decoy_help_primary = "安放誘餌"
--L.label_keyhelper_leave_vehicle = "leave vehicle"
--L.name_vehicle = "Vehicle"
--L.vehicle_enter = "Press [{usekey}] to enter vehicle"

-- 2024-11-27
--L.corpse_hint_without_confirm = "Press [{usekey}] to search."
5 changes: 5 additions & 0 deletions lua/ttt2/libraries/targetid.lua
Original file line number Diff line number Diff line change
Expand Up @@ -560,6 +560,11 @@ function targetid.HUDDrawTargetIDRagdolls(tData)
then
tData:SetSubtitle(ParT("corpse_hint_inspect_limited", key_params))
tData:AddDescriptionLine(TryT("corpse_hint_inspect_limited_details"))
elseif
bodysearch.GetInspectConfirmMode() == 0
and not GetConVar("ttt_identify_body_woconfirm"):GetBool()
then
tData:SetSubtitle(ParT("corpse_hint_without_confirm", key_params))
else
tData:SetSubtitle(ParT("corpse_hint", key_params))
end
Expand Down

0 comments on commit 36d4198

Please sign in to comment.