From f6532b2e85213d3a84317d08cf5aa5d82b06c51a Mon Sep 17 00:00:00 2001 From: rouggy Date: Wed, 2 Sep 2026 19:51:38 +0200 Subject: [PATCH] style(dvk): show the DATA-input option only where it does something MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Only Kenwood implements it — TX1 is that family's second transmit command — and every other backend keys the one way it knows. A checkbox offered to all of them would change nothing on most, which is the same dead furniture as ANT2 on a radio with one socket. Gated on the Kenwood backend, and the label says so. --- changelog.json | 4 ++-- frontend/src/components/SettingsModal.tsx | 7 ++++++- frontend/src/lib/i18n.tsx | 4 ++-- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/changelog.json b/changelog.json index e43d32a..5ea3cdc 100644 --- a/changelog.json +++ b/changelog.json @@ -4,11 +4,11 @@ "date": "", "en": [ "FT decodes warn when the decoding application announces a band the radio is not on — the signature of a lost CAT link, where it repeats the last frequency it knew and every decode after that carries a stale band. Nothing downstream could tell, so NEW BAND was being judged against a band the operator had left. OpsLog says it rather than deciding: a second receiver on another band is a real setup, and it costs that one only a line to read past.", - "Voice keyer with CAT keying: an option saying the keyer’s audio arrives on the radio’s DATA / USB input rather than the microphone socket. A Kenwood TS-590 has two transmit commands — TX opens the front mic, TX1 the rear ACC2/USB — so a keyer playing through the rig’s own sound card was transmitting dead air while the radio listened to a microphone nobody was speaking into. Rigs with a single PTT are unaffected, and the Test PTT button exercises the same path." + "Voice keyer with CAT keying: an option saying the keyer’s audio arrives on the radio’s DATA / USB input rather than the microphone socket. A Kenwood TS-590 has two transmit commands — TX opens the front mic, TX1 the rear ACC2/USB — so a keyer playing through the rig’s own sound card was transmitting dead air while the radio listened to a microphone nobody was speaking into. Shown on the Kenwood backend only — no other radio family draws the distinction — and the Test PTT button exercises the same path." ], "fr": [ "Les FT decodes signalent quand le logiciel de décodage annonce une bande sur laquelle la radio n’est pas — la signature d’une liaison CAT perdue, où il répète la dernière fréquence connue et où tous les décodages suivants portent une bande périmée. Rien en aval ne pouvait s’en apercevoir : NOUVELLE BANDE était donc jugé sur une bande quittée. OpsLog le dit sans décider à votre place : un second récepteur sur une autre bande est une configuration légitime, et il ne lui en coûte qu’une ligne à ignorer.", - "Voice keyer avec PTT CAT : une option indiquant que l’audio du keyer arrive sur l’entrée DATA / USB de la radio et non sur la prise micro. Un Kenwood TS-590 a deux commandes d’émission — TX ouvre le micro de face avant, TX1 l’ACC2/USB — si bien qu’un keyer jouant par la carte son du poste émettait dans le vide pendant que la radio écoutait un micro devant lequel personne ne parlait. Les postes à PTT unique ne sont pas concernés, et le bouton Test PTT emprunte le même chemin." + "Voice keyer avec PTT CAT : une option indiquant que l’audio du keyer arrive sur l’entrée DATA / USB de la radio et non sur la prise micro. Un Kenwood TS-590 a deux commandes d’émission — TX ouvre le micro de face avant, TX1 l’ACC2/USB — si bien qu’un keyer jouant par la carte son du poste émettait dans le vide pendant que la radio écoutait un micro devant lequel personne ne parlait. Affichée sur le backend Kenwood uniquement — aucune autre famille de postes ne fait cette distinction — et le bouton Test PTT emprunte le même chemin." ] }, { diff --git a/frontend/src/components/SettingsModal.tsx b/frontend/src/components/SettingsModal.tsx index 8ba48d8..bdaa198 100644 --- a/frontend/src/components/SettingsModal.tsx +++ b/frontend/src/components/SettingsModal.tsx @@ -7251,7 +7251,12 @@ function SettingsModalImpl({ onClose, onSaved, initialSection, onMainPaneChanged )} - {audioCfg.ptt_method === 'cat' && ( + {/* Kenwood only, because only a Kenwood acts on it: TX1 is that + family's second transmit command. Every other backend keys the + one way it knows, so showing the box there would be a switch + that changes nothing — the same dead furniture as ANT2 on a + radio with one socket. */} + {audioCfg.ptt_method === 'cat' && catCfg.backend === 'kenwood' && ( <>