Skip to content

Commit

Permalink
feat(radio): Update radio description to reflect current interaction (#…
Browse files Browse the repository at this point in the history
…1754)

This is a followup to #1437 where this was initially missed.

I've also removed the duplicated `SWEP.EquipMenuData`.

Fixes #1708
  • Loading branch information
Histalek authored Jan 31, 2025
1 parent e9972ad commit 9db28d7
Show file tree
Hide file tree
Showing 16 changed files with 6 additions and 80 deletions.
5 changes: 0 additions & 5 deletions gamemodes/terrortown/entities/weapons/weapon_ttt_radio.lua
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,6 @@ if CLIENT then
SWEP.ShowDefaultViewModel = false
SWEP.ShowDefaultWorldModel = false

SWEP.EquipMenuData = {
type = "item_weapon",
desc = "radio_desc",
}

SWEP.Icon = "vgui/ttt/icon_radio"
end

Expand Down
5 changes: 0 additions & 5 deletions lua/terrortown/lang/de.lua
Original file line number Diff line number Diff line change
Expand Up @@ -313,11 +313,6 @@ Die Energiespitzen schädigen nahestehende Spieler.]]
-- Radio
L.radio_broken = "Dein Radio wurde zerstört!"

L.radio_desc = [[
Spielt Geräusche zur Ablenkung ab.
Platziere das Radio irgendwo und spiele Geräusche im Reiter "Radio" dieses Menüs ab.]]

-- Silenced pistol
L.sipistol_name = "Schallgedämpfte Pistole"

Expand Down
11 changes: 6 additions & 5 deletions lua/terrortown/lang/en.lua
Original file line number Diff line number Diff line change
Expand Up @@ -313,11 +313,6 @@ The energy bursts damage people in close proximity.]]
-- Radio
L.radio_broken = "Your Radio has been destroyed!"

L.radio_desc = [[
Plays sounds to distract or deceive.
Place the radio somewhere, and then play sounds on it using the Radio tab in this menu.]]

-- Silenced pistol
L.sipistol_name = "Silenced Pistol"

Expand Down Expand Up @@ -2805,3 +2800,9 @@ L.help_rolelayering_enable = "The red and green border around the icon shows if

-- 2025-01-20
L.label_hud_show_team_name = "Enable showing team name next to role name"

-- 2025-01-31
L.radio_desc = [[
Plays sounds to distract or deceive.
Place the radio somewhere, and then remotely interact with it to choose sounds to play.]]
5 changes: 0 additions & 5 deletions lua/terrortown/lang/es.lua
Original file line number Diff line number Diff line change
Expand Up @@ -313,11 +313,6 @@ El daño de energía daña a las personas en corta distancia.]]
-- Radio
L.radio_broken = "¡Tu radio fue destruida!"

L.radio_desc = [[
Reproduce sonidos para distraer o confundir.
Coloca la radio y luego reproduce sonidos en la pestaña de Radio en este menú.]]

-- Silenced pistol
L.sipistol_name = "Pistola Silenciada"

Expand Down
5 changes: 0 additions & 5 deletions lua/terrortown/lang/fr.lua
Original file line number Diff line number Diff line change
Expand Up @@ -313,11 +313,6 @@ Ces éclats d'énergie peuvent frapper les gens à proximité.]]
-- Radio
L.radio_broken = "Votre Radio a été détruite !"

L.radio_desc = [[
Joue des sons pour distraire ou tromper.
Placez la radio quelque part, ensuite jouez des sons depuis l'onglet Radio dans ce menu.]]

-- Silenced pistol
L.sipistol_name = "Pistolet Silencieux"

Expand Down
5 changes: 0 additions & 5 deletions lua/terrortown/lang/it.lua
Original file line number Diff line number Diff line change
Expand Up @@ -313,11 +313,6 @@ Le scariche di energia danneggiano i giocatori nelle vicinanze.]]
-- Radio
L.radio_broken = "La tua Radio è stata distrutta!"

L.radio_desc = [[
Fa dei suoni per distrarre o ingannare.
Piazza la radio da qualche parte, poi fai partire dei suoni dalla finestra Radio in questo menù.]]

-- Silenced pistol
L.sipistol_name = "Pistola silenziata"

Expand Down
5 changes: 0 additions & 5 deletions lua/terrortown/lang/ja.lua
Original file line number Diff line number Diff line change
Expand Up @@ -313,11 +313,6 @@ L.polter_desc = [[
-- Radio
L.radio_broken = "ラジオが破壊された!"

L.radio_desc = [[
注意を逸らしたり欺くために音を再生できる機械。
どこか適当な場所にラジオを置いてから、ショップメニュー内のラジオメニューから音を再生できます。]]

-- Silenced pistol
L.sipistol_name = "消音ピストル"

Expand Down
5 changes: 0 additions & 5 deletions lua/terrortown/lang/ko.lua
Original file line number Diff line number Diff line change
Expand Up @@ -308,11 +308,6 @@ L.polter_desc = [[
-- Radio
L.radio_broken = "라디오가 파괴되었습니다!"

L.radio_desc = [[
라디오는 주의를 분산시키거나 유인하는 소리를 재생합니다.
아무 곳에나 설치해서, 라디오 메뉴를 열어 소리를 재생할 수 있습니다. ]]

-- Silenced pistol
L.sipistol_name = "소음 권총"

Expand Down
5 changes: 0 additions & 5 deletions lua/terrortown/lang/pl.lua
Original file line number Diff line number Diff line change
Expand Up @@ -313,11 +313,6 @@ Rani ludzi, których trafi.]]
-- Radio
L.radio_broken = "Twoje radio zostało zniszczone!"

L.radio_desc = [[
Odtwarza dźwięki lub odgłosy.
Postaw gdzieś radio, i potem puszczaj dźwięki używając specjalnej zakładki w tym menu.]]

-- Silenced pistol
L.sipistol_name = "Pistolet z tłumikiem"

Expand Down
5 changes: 0 additions & 5 deletions lua/terrortown/lang/pt_br.lua
Original file line number Diff line number Diff line change
Expand Up @@ -313,11 +313,6 @@ A energia causa dano em pessoas que estejam nas proximidades.]]
-- Radio
L.radio_broken = "Seu Rádio foi destruído!"

L.radio_desc = [[
Reproduz sons para distrair e/ou enganar.
Posicione o Rádio em algum lugar, e então reproduza os sons nele utilizando a aba Rádio deste menu.]]

-- Silenced pistol
L.sipistol_name = "Pistola Silenciada"

Expand Down
5 changes: 0 additions & 5 deletions lua/terrortown/lang/ru.lua
Original file line number Diff line number Diff line change
Expand Up @@ -315,11 +315,6 @@ L.polter_desc = [[
-- Radio
L.radio_broken = "Ваше Радио уничтожено!"

L.radio_desc = [[
Воспроизводит звуки для отвлечения или обмана.
Поместите его где-нибудь, а затем выберите желаемый звук во вкладке «Радио» этого меню.]]

-- Silenced pistol
L.sipistol_name = "Пистолет с глушителем"

Expand Down
5 changes: 0 additions & 5 deletions lua/terrortown/lang/sv.lua
Original file line number Diff line number Diff line change
Expand Up @@ -313,11 +313,6 @@ Explosionerna skadar spelare i närheten.]]
-- Radio
L.radio_broken = "Din Radio har blivit förstörd!"

L.radio_desc = [[
Spelar upp distraherande eller bedragande ljud.
Placera radion någonstans, och spela sedan upp ljud på den genom att använda Radio-fliken i den här menyn.]]

-- Silenced pistol
L.sipistol_name = "Ljuddämpad Pistol"

Expand Down
5 changes: 0 additions & 5 deletions lua/terrortown/lang/tr.lua
Original file line number Diff line number Diff line change
Expand Up @@ -313,11 +313,6 @@ Enerji patlamaları yakındaki insanlara zarar verir.]]
-- Radio
L.radio_broken = "Radyonuz yok edildi!"

L.radio_desc = [[
Dikkat dağıtmak veya kandırmak için sesler çıkarır.

Radyoyu bir yere yerleştirin ve ardından bu menüdeki Radyo sekmesini kullanarak üzerindeki sesleri çalın.]]

-- Silenced pistol
L.sipistol_name = "Susturuculu Tabanca"

Expand Down
5 changes: 0 additions & 5 deletions lua/terrortown/lang/uk.lua
Original file line number Diff line number Diff line change
Expand Up @@ -313,11 +313,6 @@ L.polter_desc = [[
-- Radio
L.radio_broken = "Ваше Радіо знищено!"

L.radio_desc = [[
Відтворює звуки, щоб відвернути увагу гравців.

Поставте Радіо десь неподалік, а потім відтворюйте на ньому звуки за допомогою відповідної вкладки.]]

-- Silenced pistol
L.sipistol_name = "Пістолет із глушником"

Expand Down
5 changes: 0 additions & 5 deletions lua/terrortown/lang/zh_hans.lua
Original file line number Diff line number Diff line change
Expand Up @@ -313,11 +313,6 @@ L.polter_desc = [[
-- Radio
L.radio_broken = "你的收音机已被摧毁!"

L.radio_desc = [[
播放音效来误导或欺骗玩家。

将收音机安放下来,然后用该页面的收音机菜单播放。]]

-- Silenced pistol
L.sipistol_name = "消音手枪"

Expand Down
5 changes: 0 additions & 5 deletions lua/terrortown/lang/zh_tw.lua
Original file line number Diff line number Diff line change
Expand Up @@ -313,11 +313,6 @@ L.polter_desc = [[
-- Radio
L.radio_broken = "你的收音機已被摧毀!"

L.radio_desc = [[
播放音樂使人們分心、誤導。

將收音機置於某處,在選單使用收音機並播放音樂。]]

-- Silenced pistol
L.sipistol_name = "消音手槍"

Expand Down

0 comments on commit 9db28d7

Please sign in to comment.