diff --git a/AGENTS.md b/AGENTS.md index bebeecbc..907e8b25 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -2,7 +2,7 @@ ## Authority and scope -- This is U-Jagd 1.3.33 (`src/core/version.py`); current saves are v27-only. Treat these as compatibility contracts, not changelog entries. +- This is U-Jagd 1.3.35 (`src/core/version.py`); current saves are v27-only. Treat these as compatibility contracts, not changelog entries. - Resolve conflicts in this order: executable code and focused tests; packaged JSON/runtime resources; `pyproject.toml` and provenance/license notices; `README.md`; design/history documents under `docs/`. A plan or old comment is not an implementation contract. - Preserve explicit compatibility tests and user data unless a task intentionally changes the contract. Add a regression test for behavior changes. - Older phase/milestone labels under `docs/GDD.md`, `docs/implementation-plan.md`, `docs/plan-0.1.6.md`, and `docs/plan-0.1.7.md` are historical. Current resumable work is tracked in `docs/plan-1.3.md` and `docs/resume.md`. diff --git a/CHANGELOG.de.md b/CHANGELOG.de.md index 33769326..8a94402a 100644 --- a/CHANGELOG.de.md +++ b/CHANGELOG.de.md @@ -4,9 +4,9 @@ Alle Versionen von U-Jagd, die neueste zuerst. Die [README](README.de.md) zeigt nur die neueste. -## 1.3.35 +## 1.3.36 -Version 1.3.35 behebt Sonar-Ton auf der uConsole, der verstummen konnte, bis +Version 1.3.36 behebt Sonar-Ton auf der uConsole, der verstummen konnte, bis man den Ton in den Optionen aus- und wieder einschaltete. Ein seltenes Wettrennen im pygame-Mixer konnte den Sonarkanal still stehen lassen, während sein nächster Block für immer in der Warteschlange hing, und die @@ -16,6 +16,19 @@ beendeter Sonar-Audio-Thread startet mit dem nächsten Block neu. `audio_debug.log` zählt beides (`queue_stranded`, `worker_restarts`). Spielstände bleiben v27. +## 1.3.35 + +Version 1.3.35 bringt weniger Text auf die uConsole-Bildschirme. Die obere +Leiste nennt nur Station und Uhrzeit, der Kartenkopf nur den Maßstab. Das Sonar +verliert die Statusfelder im Kopf und die Legendenzeilen und behält eine Zeile +mit vier Haupttasten (der Rest steht in F1); ein Schlepp- oder Tiefensonar +zeigt seinen Zustand nur, solange es fährt oder nicht bereit ist. Die +Bedrohungsbox des U-Boots erscheint nur bei frischer Bedrohung, danach markiert +ein gelbes Dreieck neben der Uhrzeit anstehende Warnungen. Kurse stehen in +ganzen Grad mit °, der Drehkreis nur während einer Drehung. Der TMA-Kopf +überlappt nicht mehr, und Waffen-Reiter, Rohrzeile und Alarmzeilen des U-Boots +werden nicht mehr abgeschnitten. Spielstände bleiben v27. + ## 1.3.34 Version 1.3.34 schreibt ein Absturzprotokoll: Jeder Spielstart hängt an diff --git a/CHANGELOG.md b/CHANGELOG.md index 1314a42a..a54047a7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,9 +4,9 @@ Every U-Jagd release, newest first. The [README](README.md) shows only the latest one. -## 1.3.35 +## 1.3.36 -Release 1.3.35 fixes sonar audio on the uConsole that could fall silent until +Release 1.3.36 fixes sonar audio on the uConsole that could fall silent until audio was switched off and on in the options. A rare race in the pygame mixer could leave the sonar channel idle with its next block queued forever, and the sonar playback waited for that queue slot for good. Playback now replays @@ -14,6 +14,18 @@ such a stranded block and carries on, and a stopped sonar audio worker is restarted with the next block. `audio_debug.log` counts both (`queue_stranded`, `worker_restarts`). Saves stay v27. +## 1.3.35 + +Release 1.3.35 puts less text on the uConsole screens. The top bar names only +the station and the clock, the chart header only its scale. The sonar loses its +header status chips and legend lines and keeps one row of four main keys (the +rest is in F1); a towed or variable-depth array shows its state only while it +is moving or not ready. The submarine's threat box appears only while a threat +is fresh, then an amber triangle next to the clock marks standing warnings. +Courses read in whole degrees with °, and the turn radius shows only in a turn. +The TMA header no longer overlaps, and the submarine's Weapons tab, tube line +and alarm lines are no longer cut off. Saves stay v27. + ## 1.3.34 Release 1.3.34 writes a crash log: every game start adds a start and an end diff --git a/README.de.md b/README.de.md index ca821ead..c79cd6de 100644 --- a/README.de.md +++ b/README.de.md @@ -14,9 +14,9 @@ Sie führen eine fiktive Fregatte und wechseln zwischen neun Arbeitsplätzen, um zu navigieren, zu suchen, Kontakte zu klassifizieren, Ziele zu bekämpfen und das Schiff einsatzfähig zu halten. -Aktuelle Version: **1.3.35** +Aktuelle Version: **1.3.36** -Version 1.3.35 behebt Sonar-Ton auf der uConsole, der verstummen konnte, bis +Version 1.3.36 behebt Sonar-Ton auf der uConsole, der verstummen konnte, bis man den Ton in den Optionen aus- und wieder einschaltete. Ein seltenes Wettrennen im pygame-Mixer konnte den Sonarkanal still stehen lassen, während sein nächster Block für immer in der Warteschlange hing, und die diff --git a/README.md b/README.md index b29bd5a0..b3c2cf83 100644 --- a/README.md +++ b/README.md @@ -12,9 +12,9 @@ around the ClockworkPi uConsole's 1280 x 720 workspace. You command a fictional frigate and move between nine workstations to navigate, search, classify, engage, and keep the ship operational. -Current release: **1.3.35** +Current release: **1.3.36** -Release 1.3.35 fixes sonar audio on the uConsole that could fall silent until +Release 1.3.36 fixes sonar audio on the uConsole that could fall silent until audio was switched off and on in the options. A rare race in the pygame mixer could leave the sonar channel idle with its next block queued forever, and the sonar playback waited for that queue slot for good. Playback now replays diff --git a/data/i18n/de.json b/data/i18n/de.json index 512edb03..0fcbf246 100644 --- a/data/i18n/de.json +++ b/data/i18n/de.json @@ -24,8 +24,7 @@ "helo.acoustic.receiver_source": "Hörquelle: {source}", "helo.acoustic.receiver_depth": "Sonarkörper: {depth} m", "helo.acoustic.device": "Audio global {global_state} · Gerät {device}", - "helo.acoustic.keys_view": "Bild↑/↓ Ansicht · T Quelle · G Kontakt · Klick Breitband: Peilung · R Auto", - "helo.acoustic.keys_audio": "Shift+D Hörmodus · Shift+F Band · I/O Pegel · N Filter · ,/. Lautstärke · J Ton", + "helo.acoustic.keys_view": "Bild↑/↓ Ansicht · ←/→ Peilung · I/O Pegel · J Ton", "helo.acoustic.observations": "Helikopter-Peilungen", "helo.acoustic.contact": "Kontakt K{contact} · {bearing}°", "helo.acoustic.qualified": "Qualifiziert", @@ -1456,10 +1455,10 @@ "option.large_text": "Große Schrift", "option.title": "Optionen", "sonar.hover.amplitude": "Amplitude: {amplitude}", - "sonar.hover.bearing": "Peilung: {bearing} Grad", + "sonar.hover.bearing": "Peilung: {bearing}°", "sonar.hover.classification": "Klassifizierung: {classification}", "sonar.hover.contact": "Kontakt {contact}", - "sonar.hover.course": "Kurs: {course} Grad", + "sonar.hover.course": "Kurs: {course}°", "sonar.hover.depth": "Tiefe: {depth} m", "sonar.hover.frequency": "Frequenz: {frequency} Hz", "sonar.hover.no_contact": "Kein Sonarkontakt", @@ -1714,7 +1713,7 @@ "weapons.line.range": "ENTF. {range}", "weapons.fix": "Fix", "weapons.manual_datum": "MANUELL", - "weapons.line.tma_compact": "TMA {course} Grad / {speed} kn Q{quality}", + "weapons.line.tma_compact": "TMA {course}° / {speed} kn Q{quality}", "weapons.line.depth_compact": "TIEFE ~{actual} m / SETZ {target} m", "weapons.depth_roe": "{depth} m / ROE {roe}", "weapons.control.depth_compact": "Auf/Ab: Tiefe", @@ -1771,7 +1770,7 @@ "panel.hfdf": "HFDF-PEILUNGEN", "panel.hfdf_log": "PROTOKOLLIERTE PEILUNGEN / FIXE", "radio.log_empty": "Enter protokolliert die gewählte Peilung", - "radio.line.logged": "{label} {bearing} Grad von {x}/{y} sm, {age}s", + "radio.line.logged": "{label} {bearing}° von {x}/{y} sm, {age}s", "radio.line.logged.short": "{label} {bearing}° @{x}/{y} {age}s", "radio.line.fix": "Fix {label}: 1 Sigma {sigma} sm, {age}s", "panel.no_threat": "KEINE AKUTE BEDROHUNG", @@ -1782,7 +1781,7 @@ "panel.assets.short": "Mittel", "panel.sea_state": "Seegang", "panel.hull_list": "Schlagseite", - "engine.line.hull_list": "Schlagseite {side} {degrees} Grad - Ruderkorrektur nötig", + "engine.line.hull_list": "Schlagseite {side} {degrees}° - Ruderkorrektur nötig", "engine.list_starboard": "nach Steuerbord", "engine.list_port": "nach Backbord", "panel.noise": "Lärm", @@ -2254,10 +2253,10 @@ "status.save_feed": "Spielstand gespeichert (Slot {slot})", "editor.runtime_unsupported": "Mission verwendet Felder, die zur Laufzeit nicht unterstützt werden", "runtime.hq.roe": "HQ: ROE {roe} – erst pingen + klassifizieren, dann schießen.", - "runtime.hq.weather": "HQ: Wetter: See {sea_state}, Wind aus {wind_from} Grad mit {wind_speed} kn, Regen {rain}, Sicht {visibility} NM.", - "runtime.hq.profile": "HQ: See {sea_state}, Wind aus {wind_from} Grad mit {wind_speed} kn, Regen {rain}, Sicht {visibility} NM, Thermokline {depth} m, Gezeit {tide} m, Wasser {sst} °C.", - "runtime.hq.threat_underwater": "HQ: Erste Aufklärung meldet mögliche Unterwasseraktivität bei Peilung {bearing} Grad, etwa {range} NM von der Startposition. Position unbestätigt; Suche in diesem Sektor beginnen.", - "runtime.hq.threat_surface": "HQ: Erste Aufklärung meldet mögliche feindliche Oberflächenaktivität bei Peilung {bearing} Grad, etwa {range} NM von der Startposition. Position unbestätigt; diesen Sektor untersuchen.", + "runtime.hq.weather": "HQ: Wetter: See {sea_state}, Wind aus {wind_from}° mit {wind_speed} kn, Regen {rain}, Sicht {visibility} NM.", + "runtime.hq.profile": "HQ: See {sea_state}, Wind aus {wind_from}° mit {wind_speed} kn, Regen {rain}, Sicht {visibility} NM, Thermokline {depth} m, Gezeit {tide} m, Wasser {sst} °C.", + "runtime.hq.threat_underwater": "HQ: Erste Aufklärung meldet mögliche Unterwasseraktivität bei Peilung {bearing}°, etwa {range} NM von der Startposition. Position unbestätigt; Suche in diesem Sektor beginnen.", + "runtime.hq.threat_surface": "HQ: Erste Aufklärung meldet mögliche feindliche Oberflächenaktivität bei Peilung {bearing}°, etwa {range} NM von der Startposition. Position unbestätigt; diesen Sektor untersuchen.", "runtime.hq.threat_unknown": "HQ: Keine verlässliche anfängliche Bedrohungsposition verfügbar. Zugewiesenen Missionssektor patrouillieren und Lagebild mit Bordsensoren aufbauen.", "runtime.hq.intel_exact": "HQ: Aufklärung bestätigt die feindlichen Kräfte im Einsatzgebiet: {units}. Positionen unbestätigt.", "runtime.hq.intel_list": "{first}, {rest}", @@ -2353,14 +2352,12 @@ "sonar.displayed_data": "Dargestellte Empfangs- oder Beobachtungsdaten", "sonar.demon_caption": "Empfangene Modulation | relative Amplitude, keine Identifikation", "sonar.tma_title": "TMA / BEOBACHTETE PEILUNGEN", - "sonar.tma_caption": "Peilung über Sim-Zeit | Norddurchgang kontinuierlich | keine Weltpositionen", "sonar.bt_caption": "Bathythermograph-Messung | HMS und TAS getrennt beobachtet", "sonar.evaluation": "SONAR-AUSWERTUNG", "sonar.evaluation_caption": "Angezeigte Messwerte, Bedienerableitungen und eigener Sensorstatus", "sonar.envelope_source": "Quelle empfangene Huellkurvenmodulation; keine Identifikation", "sonar.tma_point": "TMA-MESSPUNKT", "sonar.tma_source": "Quelle gespeicherte Peilbeobachtung / keine Weltposition", - "sonar.intensity": "Intensität: dunkel = leise / türkis = laut", "sonar.low_evidence": "Zu wenig Evidenz für Blattfrequenz / RPM", "sonar.no_bearing_series": "Keine Peilreihe / beobachteten Kontakt wählen", "sonar.no_array_contacts": "Keine beobachteten Kontakte für den Arrayvergleich", @@ -2506,8 +2503,8 @@ "runtime.helo_no_torpedoes": "HSP-5: keine Torpedos mehr", "runtime.roe_free_confirmed": "HQ: Bestätigung – ROE auf FREE umgestellt (Abschuss ohne Ortung erlaubt).", "runtime.decoy_signal": "Dekoy-Signal im Wasserfall?", - "bearing.observed_pair": "Beobachtete TRUE/NORTH-Peilung (nordreferenziert/rechtweisend) {true} Grad | RELATIVE Peilung {relative} Grad (000 voraus, im Uhrzeigersinn vom Bug)", - "observation.bearing_uncertainty": "Peilunsicherheit +/-{uncertainty} Grad", + "bearing.observed_pair": "Beobachtete TRUE/NORTH-Peilung (nordreferenziert/rechtweisend) {true}° | RELATIVE Peilung {relative}° (000 voraus, im Uhrzeigersinn vom Bug)", + "observation.bearing_uncertainty": "Peilunsicherheit +/-{uncertainty}°", "observation.ages": "Beobachtungsalter {observation_age}s | Fixalter {fix_age}s", "observation.fix_age": "Fixalter {age}s", "enum.array.bow": "Rumpfsonar (HMS)", @@ -2615,8 +2612,7 @@ "sonar.range_axis.short": "Entf. / NM", "sonar.no_stored_echoes": "Keine gespeicherten Echo-Messungen", "sonar.echo_window": "Echos in 120 s", - "sonar.echo_fade": "hell = neu, dunkel = alt", - "ui.target_value_short": "Soll", + "ui.target_value_short": "→", "ui.target_value_short.short": "Soll", "ui.rudder": "Ruder", "ui.rudder.short": "Rud.", @@ -2674,7 +2670,7 @@ "sonar.deploy_bt": "E: Bathythermograph ausbringen", "sonar.catalog_reference": "REFERENZ: Katalog-Ähnlichkeit", "weapons.no_assigned_target": "Kein Ziel zugewiesen", - "top.status": "[{station}] {scenario} T={time} {speed} kn Kurs {course} Grad", + "top.status": "{station} {time}", "telemetry.course_speed": "Kurs/Fahrt", "telemetry.noise": "Lärm", "telemetry.sea_state": "Seegang", @@ -2701,29 +2697,21 @@ "telemetry.value.helo_roe": "{helo} · {roe}", "telemetry.helo.airborne": "in der Luft", "telemetry.helo.hangar": "Hangar", - "map.target_course": "Kursziel {course} Grad", + "map.target_course": "Kursziel {course}°", "map.target_course.short": "Soll {course}°", "engine.machinery": "MASCHINERIE {state} (Flutung {flooding}%){extra}", - "helo.waypoint_rule": "WEGPUNKT TRUE/NORTH {bearing} Grad | Entfernung {range} NM", + "helo.waypoint_rule": "WEGPUNKT TRUE/NORTH {bearing}° | Entfernung {range} NM", "helo.rtb_margin": "RTB-MARGE {margin} min | Q/E Kartenzoom", "helo.launch_rule": "H: Start / Rückkehr | Pfeile: Wegpunkt", "helo.weapon_controls": "B: Sonarboje | D: Lufttorpedo", "sonar.status.array": "ARRAY {array} | TAS {state} {payout}% {ready}{pause}", "sonar.status.array.short": "{array} | TAS {state} {payout}% {ready}{pause}", - "sonar.status.listen": "PEILUNG {bearing} Grad | GAIN {gain} dB | {ping}", - "sonar.status.listen.short": "PLG {bearing}° G {gain} dB {ping}", - "sonar.status.filter": "{mode} | {low}-{high} Hz | N {notch}", - "sonar.status.filter.short": "{mode} {low}-{high} Hz N {notch}", - "sonar.status.audio": "G {global_state} D {device} L {local_state} | V {volume} | {state}", - "sonar.status.audio.short": "G {global_state} D {device} L {local_state} V {volume} {state}", - "sonar.footer.page": "SEITE", "sonar.footer.array": "ARRAY", "sonar.footer.gain": "GAIN", "sonar.footer.band_filter": "BAND/FILTER", "sonar.footer.notch": "NOTCH", "sonar.footer.peak": "PEAK-HOLD", "sonar.footer.audio": "AUDIO", - "sonar.footer.harmonic": "HARMONIKHYPOTHESE", "sonar.footer.mark": "MARKE", "sonar.footer.cursor": "CURSOR", "sonar.footer.integration": "INTEG", @@ -2748,9 +2736,6 @@ "damage.footer.assign": "ZUWEISEN", "damage.footer.withdraw": "ZURÜCKZIEHEN", "opz.footer.range": "REICHWEITE", - "sonar.audio.audible": "HÖRBAR", - "sonar.audio.silent": "STUMM", - "sonar.audio.stale": "VERALTET", "enum.audition_mode.broadband": "BREITBAND", "enum.audition_mode.broadband.short": "BB", "enum.audition_mode.filtered": "GEFILTERT", @@ -2769,17 +2754,15 @@ "sonar.no_stable_lines": "Keine stabilen Linien", "sonar.course_missing": "Kurs -- (TMA)", "sonar.speed_missing": "Fahrt -- (TMA)", - "sonar.depth_not_tma": "Tiefe: nicht aus TMA ableitbar", "sonar.bearing_axis": "Beobachtete rechtweisende Peilung / Grad nordreferenziert", "sonar.controls_footer": "Shift+A Ping Shift+B Array A/B/H Abhören I/O Gain F Band N Notch J Audio", "help.title": "HILFE - {station}", "save.title": "{mode} | 1-5: Auswahl | Enter: bestätigen", - "sonar.stability": "STABILITÄT {value}", - "sonar.stability.short": "STAB {value}", "sonar.ping_echo": "PING ECHO", "sonar.ping_ready": "PING BEREIT", "sonar.ping_ready.short": "PING BER", "sonar.ping_cooldown": "PING {seconds}s", + "sonar.line.array_state": "{array} {state} {payout}% STAB {stability}{pause}", "sonar.tma_summary": "Peilrate {rate} | Eigenschiff {legs} Legs | Geometrie {geometry} | {state}", "sonar.tma_summary.short": "P-Rate {rate} | {legs} Legs | Geom {geometry} | {state}", "sonar.bearing_rate_age": "Peilrate {rate} | Alter {age}", @@ -2799,9 +2782,9 @@ "map.tooltip.range": "Entfernung {range} NM", "map.tooltip.range_value": "{range} NM", "map.tooltip.source_quality_age": "Quelle {source} | Q {quality} | Alter {age}s", - "map.tooltip.own_course_speed": "Kurs {course} Grad | Fahrt {speed} kn", - "map.tooltip.own_targets": "Soll {course} Grad / {speed} kn", - "map.tooltip.helo_state_course": "Flugzustand {state} | Flugkurs TRUE/NORTH {course} Grad", + "map.tooltip.own_course_speed": "Kurs {course}° | Fahrt {speed} kn", + "map.tooltip.own_targets": "Soll {course}° / {speed} kn", + "map.tooltip.helo_state_course": "Flugzustand {state} | Flugkurs TRUE/NORTH {course}°", "map.tooltip.ship_air_bearing": "Schiff zu Luftfahrzeug: {bearing}", "map.tooltip.helo_fuel": "Treibstoff {fuel} min | Datenlink", "map.tooltip.sonar_title": "SONARSPUR {contact}", @@ -2821,17 +2804,17 @@ "opz.tooltip.quality_age": "Konfidenz {quality} | Alter {age}s", "opz.tooltip.source": "Quelle/Provenienz {source} / beobachteter Track", "opz.tooltip.helo_title": "HSP-5 / DATALINK", - "opz.tooltip.flight_course": "Flugkurs TRUE/NORTH {course} Grad", + "opz.tooltip.flight_course": "Flugkurs TRUE/NORTH {course}°", "opz.tooltip.helo_range": "Entfernung {range} NM | eigene Luftlage", "opz.tooltip.own_title": "EIGENES SCHIFF / PPI-NULLPUNKT", - "opz.tooltip.own_course_scope": "Kurs {course} Grad | Radarbereich {range} NM", + "opz.tooltip.own_course_scope": "Kurs {course}° | Radarbereich {range} NM", "opz.tooltip.controls_title": "OPZ / CIC BEDIENUNG", "opz.tooltip.track_count_scope": "{count} dargestellte Tracks | Radarbereich {range} NM", "station.tooltip.threat_title": "BEDROHUNGSLAGE", "station.tooltip.asm_count": "{count} beobachtete ASM-Spuren", "station.tooltip.mean_flooding": "Mittlere Flutung {flooding}%", - "station.tooltip.actual_target_course": "Ist {actual} Grad | Soll {target} Grad", - "station.tooltip.rudder_radius": "Ruder {rudder} Grad | Wenderadius {radius} NM", + "station.tooltip.actual_target_course": "Ist {actual}° | Soll {target}°", + "station.tooltip.rudder_radius": "Ruder {rudder}° | Wenderadius {radius} NM", "station.tooltip.actual_target_speed": "Ist {actual} kn | Soll {target} kn", "station.tooltip.telegraph_noise": "Telegraph {telegraph} | Eigenlärm {noise}", "station.tooltip.authored": "{text}", @@ -2846,12 +2829,12 @@ "station.tooltip.noise_limit": "Eigenlärm {noise} | Fahrtgrenze {limit} kn", "station.tooltip.quiet_state": "Akustikmodus {state}; A schaltet um", "radio.tooltip.hfdf_title": "HFDF {label}", - "radio.tooltip.error": "Peilfehler +/-{error} Grad", + "radio.tooltip.error": "Peilfehler +/-{error}°", "radio.tooltip.age": "Alter {age}s | beobachtete Sendung", "radio.tooltip.message": "{time} {text}", "helo.tooltip.status_title": "FLUGSTATUS HSP-5", "helo.tooltip.state_fuel": "{state} | Treibstoff {fuel} min", - "helo.tooltip.course_range": "Flugkurs TRUE/NORTH {course} Grad | Entfernung {range} NM", + "helo.tooltip.course_range": "Flugkurs TRUE/NORTH {course}° | Entfernung {range} NM", "helo.tooltip.resources_title": "HSP-EINSATZMITTEL", "helo.tooltip.resources": "Lufttorpedos {torpedoes} | Sonarbojen {buoys}", "helo.tooltip.active_datalink": "Aktive Bojen {active} | Datenlink {state}", @@ -2884,7 +2867,7 @@ "sonar.tooltip.beam_source": "Quelle Hörstrahl {bearing} / Empfänger", "sonar.tooltip.demon_line": "DEMON-LINIE", "sonar.tooltip.sim_time": "Sim-Zeit {time}s", - "sonar.tooltip.recorded_course": "Eigenschiffkurs {course} Grad bei Aufnahme", + "sonar.tooltip.recorded_course": "Eigenschiffkurs {course}° bei Aufnahme", "sonar.tooltip.active_echoes": "AKTIVE ECHOS ({count})", "sonar.tooltip.latest_echo": "Letzte Messung K{contact} | Alter {age}s", "sonar.tooltip.range_sigma": "R {range} +/- {sigma} NM", @@ -2899,13 +2882,13 @@ "weapons.tooltip.mode_remaining": "Modus {mode} | Restlauf {remaining} NM", "weapons.tooltip.depth_roe": "Setztiefe {depth} m | ROE {roe}", "weapons.tooltip.helo_state": "HSP-5 {state}", - "bridge.line.asm_threat": "{bearing} Grad / {range} NM / TTI {tti}s", - "bridge.line.torpedo_transient": "Starttransient {bearing} Grad (vor {age}s)", - "bridge.line.torpedo_seeker": "HF-Impulse {bearing} Grad (vor {age}s)", - "bridge.line.torpedo_classified": "Klassifizierter Torpedo {bearing} Grad", + "bridge.line.asm_threat": "{bearing}° / {range} NM / TTI {tti}s", + "bridge.line.torpedo_transient": "Starttransient {bearing}° (vor {age}s)", + "bridge.line.torpedo_seeker": "HF-Impulse {bearing}° (vor {age}s)", + "bridge.line.torpedo_classified": "Klassifizierter Torpedo {bearing}°", "bridge.line.threat": "{kind}: {detail}", "bridge.line.more": "WEITERE: {threats}", - "bridge.line.course": "{course} Grad", + "bridge.line.course": "{course}°", "bridge.line.range": "{range} NM", "bridge.line.speed": "{speed} kn", "bridge.line.own_noise": "{noise}% Eigenlärm", @@ -2921,10 +2904,10 @@ "opz.ciws.authorized": "FREIGEGEBEN", "opz.ciws.withheld": "GESPERRT", "opz.line.source": "Quelle {source}", - "opz.line.bearing": "Peilung {bearing} Grad / vorhanden", + "opz.line.bearing": "Peilung {bearing}° / vorhanden", "opz.line.range_available": "Entfernung {range} NM / vorhanden", "opz.line.range_unavailable": "Entfernung nicht verfügbar", - "opz.line.course_available": "Kurs {course} Grad / vorhanden", + "opz.line.course_available": "Kurs {course}° / vorhanden", "opz.line.course_unavailable": "Kurs nicht verfügbar", "opz.line.depth_available": "Tiefe {depth} m / vorhanden", "opz.line.depth_unavailable": "Tiefe nicht verfügbar", @@ -2952,17 +2935,17 @@ "opz.weather.clear": "KLAR", "opz.weather.clutter": "CLUTTER", "opz.weather.heavy": "STARKE STÖRUNG", - "radio.line.signal": "{prefix}{label} Rtg {bearing} Grad +/-{error} Grad Alter {age}s", + "radio.line.signal": "{prefix}{label} Rtg {bearing}° +/-{error}° Alter {age}s", "radio.line.log_fix": "LOG {log} | FIX {fixes}", "engine.line.order": "{mark} {order}", "engine.line.speed_target": "{speed} kn (gezielt {target})", - "engine.line.course_target": "{course} Grad (gezielt {target})", + "engine.line.course_target": "{course}° (gezielt {target})", "engine.line.fuel": "{fuel} t / {percent}", "engine.line.endurance": "{burn} kg/h | {hours} h | {range} NM", "engine.line.repairs": "Teams {teams} | Flut {flood} Feuer {fire}", "engine.line.rpm": "{rpm} RPM", "engine.line.noise": "LÄRM {noise}%", - "engine.line.sea_motion": "{sea} | Roll {roll} Grad Pitch {pitch} Grad", + "engine.line.sea_motion": "{sea} | Roll {roll}° Pitch {pitch}°", "engine.line.fire": " Brand {fire}%", "engine.line.sonar_effect": "~{range} NM ({array})", "bridge.line.weather": "{kind} | See {sea} | {light}", @@ -2971,7 +2954,7 @@ "bridge.line.lookout_sea_light": "See {sea} | {light}", "bridge.line.lookout_count": "{count} Sichtungen", "bridge.line.lookout_none": "Noch keine Ausguck-Meldung.", - "bridge.line.weather_detail": "Wind aus {direction} Grad / {speed} kn | Regen {rain} | Sicht {visibility} NM", + "bridge.line.weather_detail": "Wind aus {direction}° / {speed} kn | Regen {rain} | Sicht {visibility} NM", "bridge.line.weather_detail.short": "W {direction}°/{speed} kn R {rain} S {visibility} NM", "weather.day": "TAG", "weather.night": "NACHT", @@ -3013,7 +2996,7 @@ "autocrew.action.engaged": "Torpedo auf feindlichen Kontakt abgefeuert", "helo.line.fuel": "{fuel} min", "helo.line.bearing_pair": "TRUE/N {true} | REL {relative}", - "helo.line.course": "{course} Grad", + "helo.line.course": "{course}°", "damage.line.fire": "FEUER {fire}%", "damage.line.trend": "{trend} / {eta}min FLUT {flooding}%", "damage.line.team": "Team {teams}", @@ -3039,7 +3022,7 @@ "weapons.line.active": "T{weapon} {mode} LÖS {solution} REST {remaining}NM/{time}s", "weapons.line.more": "+ {count} weitere", "weapons.line.depth_value": "{depth} m", - "sonar.line.ping_history": "{ping} {readiness} | {count} {window} | {fade}", + "sonar.line.ping_history": "{ping} {readiness} | {count} {window}", "sonar.line.history_timed": "Sim {newest}s -> {oldest}s | {rows} Zeilen", "sonar.line.history_untimed": "{rows} Zeilen | Zeitstempel nicht verfügbar", "sonar.line.thermocline": "Sprungschicht ~{depth} m", @@ -3053,7 +3036,7 @@ "sonar.line.evidence_source": "QUELLE {source}", "sonar.line.evidence_age_state": "EVIDENZALTER {age} | {state}", "sonar.line.operating": "BETRIEB {array} | {state}", - "sonar.line.beam_filter": "Strahl {width} Grad | Band {low}-{high} Hz | Notch {notch}", + "sonar.line.beam_filter": "Strahl {width}° | Band {low}-{high} Hz | Notch {notch}", "sonar.line.beam_filter.short": "Strahl {width}° | {low}-{high} Hz | N {notch}", "sonar.line.received_peaks": "EMPFANGSLINIEN {peaks}", "sonar.line.received_peaks.short": "EMPF {peaks}", @@ -3068,7 +3051,6 @@ "sonar.evidence.absent": "FEHLT", "sonar.beam_filter_heading": "STRAHL- / FILTERSTATUS", "sonar.hypotheses_heading": "OPERATOR-HARMONIKHYPOTHESEN", - "sonar.harmonic_not_selected": "Kein Grundton gewählt | K wählt/löscht", "sonar.line.cursor": "Cursor {frequency} Hz | Pegel {level} | {seconds} s", "sonar.line.cursor.short": "Cur {frequency} Hz | {level} | {seconds}s", "sonar.line.demon_marks": "Welle S {shaft} Hz | Blatt B {blade} Hz", @@ -3077,14 +3059,9 @@ "sonar.line.blade_count.short": "{blades} Bl ({deviation}) {rpm} U/min", "sonar.line.shaft_rpm": "Welle {rpm} U/min | Blattlinie markieren", "sonar.line.shaft_rpm.short": "Welle {rpm} U/min | B mark.", - "sonar.demon_manual_hint": "Z/X Cursor, K markiert Welle, dann Blatt", - "sonar.demon_manual_hint.short": "Z/X Cursor, K Welle/Blatt", "sonar.catalog_manual_hint": "Mit Referenzen im F8-Analysator vergleichen", "sonar.catalog_manual_hint.short": "Vergleich: F8-Analysator", - "sonar.lofar_manual_hint": "Z/X Cursor, K Grundton, Q Integration", - "sonar.lofar_manual_hint.short": "Z/X Cur, K Grundt., Q Integ", "sonar.vernier_axis": "{low}-{high} Hz (0,5-Hz-Bins)", - "sonar.harmonic_not_selected.short": "Kein Grundton | K wählt", "sonar.evidence_heading": "GEMESSENE HÜLLKURVENEVIDENZ", "sonar.rpm_hypotheses": "RPM-HYPOTHESEN / ANGENOMMENE BLÄTTER", "sonar.line.rpm_pair": "{first}: {first_rpm} RPM {second}: {second_rpm} RPM", @@ -3104,30 +3081,30 @@ "sonar.line.cz": "CZ Prognose {bands} NM", "sonar.line.bt_ready": "BT Bereitschaft {seconds} s", "sonar.line.contact_cz": "Kontakt in CZ-Band? {answer}", - "sonar.line.array_delta": "Array-Differenz {delta} Grad", + "sonar.line.array_delta": "Array-Differenz {delta}°", "sonar.line.echo_history": "Historie {count}/{maximum}", "sonar.line.time_window": "Zeitfenster {seconds} s", "sonar.line.newest_echo": "Neuestes Echo K{contact}", "sonar.line.echo_age_mode": "Alter {age} s | {mode}", - "sonar.line.bearing": "Peilung {bearing} Grad", + "sonar.line.bearing": "Peilung {bearing}°", "sonar.line.depth": "Tiefe {depth}", - "sonar.line.bearing_value": "{bearing} Grad", - "sonar.line.beam": "Strahl {width} Grad | {mode}", + "sonar.line.bearing_value": "{bearing}°", + "sonar.line.beam": "Strahl {width}° | {mode}", "sonar.track": "TRACK", "sonar.line.status": "STATUS {status}", "sonar.line.geometry": "Eigenschiff-Legs {legs} | Geometrie {geometry}", "sonar.line.tma_quality": "TMA Qualität {quality}", - "sonar.line.tma_course": "Kurs {course} Grad (TMA)", + "sonar.line.tma_course": "Kurs {course}° (TMA)", "sonar.line.tma_speed": "Fahrt {speed} kn (TMA)", "sonar.line.tma_state_rate": "{status} | Rate {rate} | Alter {age}", "sonar.line.tma_state_rate.short": "{status} | {rate} | {age}", "sonar.line.tma_geometry_quality": "Legs {legs} | {geometry} | Qualität {quality}", - "sonar.line.tma_motion": "Kurs {course} Grad | Fahrt {speed} kn (TMA)", - "sonar.line.tma_hypothesis": "Hypothese {course} Grad | {speed} kn | {range} NM", + "sonar.line.tma_motion": "Kurs {course}° | Fahrt {speed} kn (TMA)", + "sonar.line.tma_hypothesis": "Hypothese {course}° | {speed} kn | {range} NM", "sonar.line.tma_hypothesis.short": "HYP {course}° {speed} kn {range} NM", - "sonar.line.tma_residuals": "Residuen RMS {rms} Grad | Trend {trend} Grad | Passung {fit} | beobachtbar {observable}", + "sonar.line.tma_residuals": "Residuen RMS {rms}° | Trend {trend}° | Passung {fit} | beobachtbar {observable}", "sonar.line.tma_residuals.short": "RES {rms}° T {trend}° Pass {fit} Beob {observable}", - "sonar.line.tma_proposal": "Solver-Vorschlag {course} Grad | {speed} kn (Training)", + "sonar.line.tma_proposal": "Solver-Vorschlag {course}° | {speed} kn (Training)", "sonar.line.tma_proposal.short": "SOLVER {course}° {speed} kn", "sonar.tma_hypothesis_pending": "Hypothese: zu wenige Peilungen zum Prüfen", "sonar.line.tma_motion.short": "KRS {course}° FRT {speed} kn (TMA)", @@ -3135,10 +3112,10 @@ "sonar.line.tma_closing_rate.short": "Annäh. {rate} kn (+ zu / - ab)", "sonar.line.spacing": "Linienabstand ~{spacing} Hz (Hypothese)", "sonar.line.contact": "{contact} {label}", - "sonar.line.contact_quality": "SNR {snr} dB | {confidence} | +/-{uncertainty} Grad | Beob. {age}s", + "sonar.line.contact_quality": "SNR {snr} dB | {confidence} | +/-{uncertainty}° | Beob. {age}s", "sonar.line.contact_quality.short": "SNR {snr} | {confidence} | ±{uncertainty}° | {age}s", "sonar.line.echo_returns": "ECHO-RETURNS {count}/{total}", - "sonar.line.echo_bearing": "K{contact} {bearing} Grad", + "sonar.line.echo_bearing": "K{contact} {bearing}°", "sonar.line.echo_range_age": "R {range} NM | Alter {age}s | {mode}", "sonar.tooltip.safe_page": "Sichere Seitenauswahl; Tastaturbedienung bleibt verfügbar.", "sonar.tooltip.safe_control": "Ausdrücklich sichere Bedienaktion; keine Waffenwirkung.", @@ -3152,7 +3129,7 @@ "weapons.readiness.weapons_down": "BLOCKIERT: WAFFENZENTRALE GESTÖRT", "weapons.readiness.clear": "FEUER FREI", "weapons.readiness.affiliation": "BLOCKIERT: ZUGEHÖRIGKEIT {affiliation}", - "sonar.line.row_bearings": "Zeilenpeilung: neu {newest} / alt {oldest} Grad", + "sonar.line.row_bearings": "Zeilenpeilung: neu {newest} / alt {oldest}°", "sonar.line.history_bearing": "Historie behält ihre Aufnahmepeilung", "sonar.line.observations": "{count} Messpunkte / {duration}s Beobachtung", "map.line.bearing_only": "{contact} (nur Peilung)", @@ -3161,9 +3138,9 @@ "runtime.input.speed": "Fahrt eingeben (0-31 kn, aktuell {current})", "runtime.input.track_id": "Gemeinsame Track-ID eingeben (aktuell {current})", "runtime.input.pending": "{prompt}: {value}_", - "runtime.numeric.course_feed": "Zielkurs {course} Grad gesetzt", + "runtime.numeric.course_feed": "Zielkurs {course}° gesetzt", "runtime.numeric.speed_feed": "Zielgeschwindigkeit {speed} kn gesetzt", - "runtime.ping.feed": "PING-Echo K{contact}: Rtg {bearing} Grad Dst ~{range} NM (Echolatenz {latency} s, Schall {speed} m/s, ~{classification})", + "runtime.ping.feed": "PING-Echo K{contact}: Rtg {bearing}° Dst ~{range} NM (Echolatenz {latency} s, Schall {speed} m/s, ~{classification})", "plot.label.ruler": "{label} {bearing}° {range} NM", "plot.label.bearing": "{label} PLG {bearing}°", "plot.label.circle": "{label} R {range} NM", @@ -3275,10 +3252,10 @@ "runtime.ciws.intercepted": "CIWS: ASM abgefangen", "runtime.enemy_ping.detected": "AKTIVES SONAR gehört - Peilung {bearing}°!", "runtime.enemy_ping.feed": "Aktiver Sonarping aus Peilung {bearing}°", - "runtime.echo.feed": "PING-Echo K{contact}: Rtg {bearing} Grad / {range} NM / {depth} m", + "runtime.echo.feed": "PING-Echo K{contact}: Rtg {bearing}° / {range} NM / {depth} m", "runtime.echo.flash": "Echo K{contact} - {range} NM", - "runtime.contact.new_range": "Kontakt K{contact} neu: Rtg {bearing} Grad Dst ~{range} NM [{origin}]", - "runtime.contact.new_bearing": "Kontakt K{contact} neu: Rtg {bearing} Grad [{origin}]", + "runtime.contact.new_range": "Kontakt K{contact} neu: Rtg {bearing}° Dst ~{range} NM [{origin}]", + "runtime.contact.new_bearing": "Kontakt K{contact} neu: Rtg {bearing}° [{origin}]", "runtime.deadline.warning_minutes": "WARNUNG: {amount} Minuten bis Missionsfrist", "runtime.deadline.warning_seconds": "WARNUNG: {amount} Sekunden bis Missionsfrist", "runtime.deadline.feed_minutes": "Missionsfrist: noch {amount} Minuten", @@ -3323,7 +3300,7 @@ "station.opz.title": "OPZ / CIC", "opz.tracks_heading": "CIC-TRACKS", "opz.tracks_heading_filtered": "CIC-TRACKS · {filter} (Shift+F)", - "opz.line.asm_track": "{prefix}{label} Rtg {bearing} Grad {distance} {source} Q{quality}{tti}", + "opz.line.asm_track": "{prefix}{label} Rtg {bearing}° {distance} {source} Q{quality}{tti}", "control.opz_track": "Auf/Ab: Meldung | Shift+F: Filter | C: Klasse | F: Zugehörigkeit | M: Zuweisen", "control.opz_asm": "Links/Rechts: ASM | G: Chaff | R/Shift+R: Radar", "opz.button.classify": "C KLASSE", @@ -3362,17 +3339,8 @@ "sonar.bt_not_measured": "BT nicht gemessen", "sonar.measure_profile": "E: Schallprofil messen", "sonar.tas_depth_control": "U/V: TAS 10 m heben/senken", - "sonar.sigma_legend": "Gelb: +/- Entfernungssigma", - "sonar.active_ping_control": "A: Aktiv-Ping auslösen", + "sonar.active_ping_control": "Umschalt+A: Aktiv-Ping", "sonar.received_lines": "Empfangslinien / Hz : Pegel", - "sonar.lines_not_identification": "Linien sind keine Identifikation", - "sonar.passive_360": "360 Grad / passiver Empfang", - "sonar.noise_visible": "Rauschen bleibt sichtbar", - "sonar.listen_legend": "Gelb: aktuelle Hörpeilung", - "sonar.listen_legend.short": "Gelb: Hörpeilung", - "sonar.beam_legend": "Grau: Grenzen des Hörstrahls", - "sonar.class_operator_input": "Kontaktklasse: nur Bedienereingabe", - "sonar.class_operator_input.short": "Klasse: nur Bediener", "sonar.page_title": "{station} / {page}", "sonar.page_controls": "SEITE Bild auf/ab KONTAKT Auf/Ab STRAHL R + Links/Rechts TRACK Enter PING Shift+A ZIEL M", "weapons.control.depth": "Auf/Ab: Torpedotiefe", @@ -3384,8 +3352,8 @@ "weapons.control.flak": "F: FLAK-FREIGABE UMSCHALTEN", "weapons.control.flak.short": "F: FLAK-FREIG.", "map.source.buoy": "SONARBOJE", - "map.line.footer": "{region} | Zoom {zoom} NM | Q/E Zoom | Ziehen: Verschieben | K: Follow {follow}", - "map.line.footer.short": "{region} | {zoom} NM | K {follow}", + "map.line.scale": "{zoom} NM", + "map.line.scale_follow": "{zoom} NM · folgen", "weapons.overlay.fix": "{contact} ({source})", "runtime.helo.water_required": "Abwurf blockiert: Kein ausreichend tiefes Wasser unter dem Hubschrauber.", "runtime.threat.air": "Luftbedrohung geortet.", @@ -3400,7 +3368,7 @@ "eloka.state.disabled": "ESM AUSGEFALLEN - OPZ ZERSTÖRT", "eloka.state.empty": "Keine Radaraussendung beobachtet", "eloka.state.no_selection": "Keine Auffassung gewählt", - "eloka.line.intercept": "{prefix}{track} Rtg {bearing} Grad {frequency} GHz Q{quality} {age}s", + "eloka.line.intercept": "{prefix}{track} Rtg {bearing}° {frequency} GHz Q{quality} {age}s", "eloka.field.intercept": "Auffassung", "eloka.field.bearing": "Peilung / Fehler", "eloka.field.bearing.short": "Plg / Fehl.", @@ -3414,7 +3382,7 @@ "eloka.field.release": "OPZ-Meldung", "eloka.release.active": "OPZ: freigegeben", "eloka.release.private": "OPZ: privat", - "eloka.value.bearing": "{bearing} Grad +/-{error} Grad", + "eloka.value.bearing": "{bearing}° +/-{error}°", "eloka.value.frequency": "{frequency} GHz beobachtet", "eloka.value.quality_age": "{quality} / {age}s", "eloka.heading.candidates": "RADARART-KANDIDATEN / KEINE IDENTIFIKATION", @@ -3431,8 +3399,8 @@ "eloka.modulation.pulse": "Puls", "eloka.modulation.pulse_doppler": "Puls-Doppler", "eloka.modulation.unknown": "Modulation unbekannt", - "control.eloka": "Auf/Ab: Auffassung | F: Status | Umschalt+F: Bedrohung | B: Band | C: Zuordnung | J: stören | Umschalt+J: Verfahren | A: ECM/Softkill-Auto | M: Ton {audio}", - "control.eloka.short": "Auf/Ab Auff. | F Stat | Um+F Bedr. | B Band | C Zuord. | J stör | Um+J Verf. | A Auto | M Ton {audio}", + "control.eloka": "↑/↓: Auffassung | J: stören | A: ECM/Softkill-Auto | M: Ton {audio}", + "control.eloka.short": "↑/↓ Auff. | J stör | A Auto | M Ton {audio}", "runtime.eloka.disabled": "ESM nicht verfügbar: OPZ zerstört", "runtime.eloka.none_select": "ESM: keine Auffassung gewählt", "runtime.eloka.annotation": "{track}: Radarart-Bedienerzuordnung {assignment}", @@ -3440,7 +3408,7 @@ "eloka.tooltip.track_count": "Gespeicherte Auffassungen: {count}", "eloka.tooltip.observation_limit": "Nur Peilung und Strahlermesswerte; keine sensorbestätigte Identität oder Entfernung", "eloka.tooltip.track_title": "ESM-AUFFASSUNG {track}", - "eloka.tooltip.bearing": "Beobachtete Peilung {bearing} Grad +/-{error} Grad", + "eloka.tooltip.bearing": "Beobachtete Peilung {bearing}° +/-{error}°", "eloka.tooltip.fingerprint": "Beobachtet {frequency} GHz | PRF {prf} Hz | {modulation}", "eloka.tooltip.annotation": "Bedienerzuordnung: {assignment}", "station.page.bridge_nav": "Navigation", @@ -3718,7 +3686,7 @@ "help.manual.hint": "Kapitel {chapter}/{chapters} | Zeilen {first}-{last}/{total} | , / . oder [ / ]: Kapitel | 0-9: Schnellstart/Stationen | Auf/Ab, BildAuf/BildAb: scrollen | Links/Rechts/Tab: Kategorie | F1/Esc: zurück", "commander.web.guide_manual_link": "Vollständiges Handbuch öffnen (neuer Tab)", "commander.web.workstation_manual": "Handbuchkapitel zu dieser Station", - "runtime.echo.unassociated": "Sonar: nicht zugeordnetes Echo {bearing} Grad / {range} NM (Objekt am Grund?)", + "runtime.echo.unassociated": "Sonar: nicht zugeordnetes Echo {bearing}° / {range} NM (Objekt am Grund?)", "runtime.sonar.pulse": "Aktivpuls: {pulse}", "sonar.pulse.cw": "CW (Doppler, 1 s)", "sonar.pulse.lfm": "LFM (100-Hz-Sweep, feine Entfernung)", @@ -4185,9 +4153,9 @@ "uboot.local.decoy_unavailable": "Kein Täuschkörper bereit", "uboot.local.blow": "Notanblasen!", "uboot.local.blow_unavailable": "Notanblasen nicht möglich", - "uboot.top.status": "{scenario} T={time} {speed} kn Kurs {course} Tiefe {depth} m", + "uboot.top.status": "{time}", "station.page.uboot_nav": "Navigation", - "station.page.uboot_weapons": "Waffen & Kontakte", + "station.page.uboot_weapons": "Waffen", "uboot.panel.title": "U-Boot / Führung", "uboot.tab": "{number} {name}", "uboot.tab.uboot": "FÜHRUNG", @@ -4229,10 +4197,10 @@ "uboot.sighting.aircraft": "Luftfahrzeug", "uboot.sighting.torpedo": "Torpedolaufbahn", "uboot.sighting.unknown": "Fahrzeug", - "uboot.line.alarm_ping": "Aktivsonar: {value}", - "uboot.line.alarm_torpedo": "Torpedo: {value}", - "uboot.value.alarm": "{bearing}° vor {age} s", - "uboot.value.no_alarm": "keiner", + "uboot.line.alarm_ping": "Ping {value}", + "uboot.line.alarm_torpedo": "Torp {value}", + "uboot.value.alarm": "{bearing}° -{age} s", + "uboot.value.no_alarm": "--", "uboot.footer.telegraph": "TELEGRAF", "uboot.footer.silent": "SCHLEICH", "uboot.footer.snorkel": "SCHNORCHEL", @@ -4288,8 +4256,6 @@ "uboot.footer.chart": "ZOOM", "uboot.footer.contact": "KONTAKT", "uboot.footer.fire": "FEUER", - "uboot.footer.fire_bearing": "PEILUNG", - "uboot.footer.decoy": "TÄUSCHK.", "uboot.telemetry.course_speed": "Kurs/Fahrt", "uboot.telemetry.course_speed.short": "KRS/FRT", "uboot.telemetry.depth": "Tiefe (befohlen)", @@ -5614,7 +5580,6 @@ "uboot.tube.flooded": "{tube} klar", "uboot.line.tubes": "Rohre: {tubes}", "uboot.footer.tube_load": "ROHR LADEN", - "uboot.footer.tube_flood": "ROHR FLUTEN", "uboot.local.tube_loading": "Rohr wird geladen", "uboot.local.tube_flooding": "Rohr wird geflutet, Mündungsklappe öffnet", "uboot.local.tube_rejected": "Rohrbefehl nicht möglich: {reason}", diff --git a/data/i18n/en.json b/data/i18n/en.json index 40a1fbb8..cad0e810 100644 --- a/data/i18n/en.json +++ b/data/i18n/en.json @@ -24,8 +24,7 @@ "helo.acoustic.receiver_source": "Listening source: {source}", "helo.acoustic.receiver_depth": "Dome depth: {depth} m", "helo.acoustic.device": "Audio global {global_state} · Device {device}", - "helo.acoustic.keys_view": "PgUp/Dn view · T source · G contact · Click broadband: bearing · R auto", - "helo.acoustic.keys_audio": "Shift+D listening · Shift+F band · I/O gain · N notch · ,/. volume · J audio", + "helo.acoustic.keys_view": "PgUp/Dn view · ←/→ bearing · I/O level · J sound", "helo.acoustic.observations": "Helicopter bearings", "helo.acoustic.contact": "Contact K{contact} · {bearing}°", "helo.acoustic.qualified": "Qualified", @@ -1456,10 +1455,10 @@ "option.large_text": "Large text", "option.title": "Options", "sonar.hover.amplitude": "Amplitude: {amplitude}", - "sonar.hover.bearing": "Bearing: {bearing} deg", + "sonar.hover.bearing": "Bearing: {bearing}°", "sonar.hover.classification": "Classification: {classification}", "sonar.hover.contact": "Contact {contact}", - "sonar.hover.course": "Course: {course} deg", + "sonar.hover.course": "Course: {course}°", "sonar.hover.depth": "Depth: {depth} m", "sonar.hover.frequency": "Frequency: {frequency} Hz", "sonar.hover.no_contact": "No sonar contact", @@ -1714,7 +1713,7 @@ "weapons.line.range": "RANGE {range}", "weapons.fix": "Fix", "weapons.manual_datum": "MANUAL", - "weapons.line.tma_compact": "TMA {course} deg / {speed} kn Q{quality}", + "weapons.line.tma_compact": "TMA {course}° / {speed} kn Q{quality}", "weapons.line.depth_compact": "DEPTH ~{actual} m / SET {target} m", "weapons.depth_roe": "{depth} m / ROE {roe}", "weapons.control.depth_compact": "Up/Dn: depth", @@ -1771,7 +1770,7 @@ "panel.hfdf": "HFDF BEARINGS", "panel.hfdf_log": "LOGGED BEARINGS / FIXES", "radio.log_empty": "Enter logs the selected bearing", - "radio.line.logged": "{label} {bearing} deg from {x}/{y} NM, {age}s", + "radio.line.logged": "{label} {bearing}° from {x}/{y} NM, {age}s", "radio.line.logged.short": "{label} {bearing}° @{x}/{y} {age}s", "radio.line.fix": "Fix {label}: 1 sigma {sigma} NM, {age}s", "panel.no_threat": "NO IMMEDIATE THREAT", @@ -1782,7 +1781,7 @@ "panel.assets.short": "Assets", "panel.sea_state": "Sea state", "panel.hull_list": "Hull list", - "engine.line.hull_list": "Listing {side} {degrees} deg - rudder correction needed", + "engine.line.hull_list": "Listing {side} {degrees}° - rudder correction needed", "engine.list_starboard": "to starboard", "engine.list_port": "to port", "panel.noise": "Noise", @@ -2254,10 +2253,10 @@ "status.save_feed": "Game saved (slot {slot})", "editor.runtime_unsupported": "Mission uses fields not supported by the runtime", "runtime.hq.roe": "HQ: ROE {roe} - ping and classify before firing.", - "runtime.hq.weather": "HQ: Weather: sea {sea_state}, wind from {wind_from} deg at {wind_speed} kn, rain {rain}, visibility {visibility} NM.", - "runtime.hq.profile": "HQ: Sea {sea_state}, wind from {wind_from} deg at {wind_speed} kn, rain {rain}, visibility {visibility} NM, thermocline {depth} m, tide {tide} m, water {sst} °C.", - "runtime.hq.threat_underwater": "HQ: Initial intelligence reports possible underwater activity near bearing {bearing} deg, approximately {range} NM from your start position. Position unconfirmed; begin the search in that sector.", - "runtime.hq.threat_surface": "HQ: Initial intelligence reports possible hostile surface activity near bearing {bearing} deg, approximately {range} NM from your start position. Position unconfirmed; investigate that sector.", + "runtime.hq.weather": "HQ: Weather: sea {sea_state}, wind from {wind_from}° at {wind_speed} kn, rain {rain}, visibility {visibility} NM.", + "runtime.hq.profile": "HQ: Sea {sea_state}, wind from {wind_from}° at {wind_speed} kn, rain {rain}, visibility {visibility} NM, thermocline {depth} m, tide {tide} m, water {sst} °C.", + "runtime.hq.threat_underwater": "HQ: Initial intelligence reports possible underwater activity near bearing {bearing}°, approximately {range} NM from your start position. Position unconfirmed; begin the search in that sector.", + "runtime.hq.threat_surface": "HQ: Initial intelligence reports possible hostile surface activity near bearing {bearing}°, approximately {range} NM from your start position. Position unconfirmed; investigate that sector.", "runtime.hq.threat_unknown": "HQ: No reliable initial threat position is available. Patrol the assigned mission sector and develop the picture with onboard sensors.", "runtime.hq.intel_exact": "HQ: Intelligence confirms the hostile forces in the operating area: {units}. Positions unconfirmed.", "runtime.hq.intel_list": "{first}, {rest}", @@ -2353,14 +2352,12 @@ "sonar.displayed_data": "Displayed receiver or observation data", "sonar.demon_caption": "Received modulation | relative amplitude, no identification", "sonar.tma_title": "TMA / OBSERVED BEARINGS", - "sonar.tma_caption": "Bearing over simulation time | continuous north crossing | no world positions", "sonar.bt_caption": "Bathythermograph measurement | HMS and TAS observed separately", "sonar.evaluation": "SONAR EVALUATION", "sonar.evaluation_caption": "Displayed measurements, operator deductions, and own sensor status", "sonar.envelope_source": "Source: received envelope modulation; no identification", "sonar.tma_point": "TMA MEASUREMENT POINT", "sonar.tma_source": "Source: stored bearing observation / no world position", - "sonar.intensity": "Intensity: dark = quiet / turquoise = loud", "sonar.low_evidence": "Insufficient evidence for blade rate / RPM", "sonar.no_bearing_series": "No bearing series / select an observed contact", "sonar.no_array_contacts": "No observed contacts for array comparison", @@ -2506,8 +2503,8 @@ "runtime.helo_no_torpedoes": "HSP-5: no torpedoes remaining", "runtime.roe_free_confirmed": "HQ: Confirmed - ROE set to FREE (engagement without localization permitted).", "runtime.decoy_signal": "Decoy signal in waterfall?", - "bearing.observed_pair": "Observed TRUE/NORTH bearing (north-referenced) {true} deg | RELATIVE bearing {relative} deg (000 ahead, clockwise from bow)", - "observation.bearing_uncertainty": "Bearing uncertainty +/-{uncertainty} deg", + "bearing.observed_pair": "Observed TRUE/NORTH bearing (north-referenced) {true}° | RELATIVE bearing {relative}° (000 ahead, clockwise from bow)", + "observation.bearing_uncertainty": "Bearing uncertainty +/-{uncertainty}°", "observation.ages": "Observation age {observation_age}s | Fix age {fix_age}s", "observation.fix_age": "Fix age {age}s", "enum.array.bow": "Hull-mounted sonar (HMS)", @@ -2615,8 +2612,7 @@ "sonar.range_axis.short": "Rng / NM", "sonar.no_stored_echoes": "No stored echo measurements", "sonar.echo_window": "echoes in 120 s", - "sonar.echo_fade": "bright = new, dark = old", - "ui.target_value_short": "Target", + "ui.target_value_short": "→", "ui.target_value_short.short": "Tgt", "ui.rudder": "Rudder", "ui.rudder.short": "Rud.", @@ -2674,7 +2670,7 @@ "sonar.deploy_bt": "E: deploy bathythermograph", "sonar.catalog_reference": "REFERENCE: catalog similarity", "weapons.no_assigned_target": "No target assigned", - "top.status": "[{station}] {scenario} T={time} {speed} kn Course {course} deg", + "top.status": "{station} {time}", "telemetry.course_speed": "Course/speed", "telemetry.noise": "Noise", "telemetry.sea_state": "Sea state", @@ -2701,29 +2697,21 @@ "telemetry.value.helo_roe": "{helo} · {roe}", "telemetry.helo.airborne": "airborne", "telemetry.helo.hangar": "hangar", - "map.target_course": "Target course {course} deg", + "map.target_course": "Target course {course}°", "map.target_course.short": "Tgt crs {course}°", "engine.machinery": "MACHINERY {state} (flooding {flooding}%){extra}", - "helo.waypoint_rule": "WAYPOINT TRUE/NORTH {bearing} deg | Range {range} NM", + "helo.waypoint_rule": "WAYPOINT TRUE/NORTH {bearing}° | Range {range} NM", "helo.rtb_margin": "RTB MARGIN {margin} min | Q/E chart zoom", "helo.launch_rule": "H: launch / return | Arrows: waypoint", "helo.weapon_controls": "B: sonobuoy | D: air-launched torpedo", "sonar.status.array": "ARRAY {array} | TAS {state} {payout}% {ready}{pause}", "sonar.status.array.short": "{array} | TAS {state} {payout}% {ready}{pause}", - "sonar.status.listen": "BEARING {bearing} deg | GAIN {gain} dB | {ping}", - "sonar.status.listen.short": "BRG {bearing}° G {gain} dB {ping}", - "sonar.status.filter": "{mode} | {low}-{high} Hz | N {notch}", - "sonar.status.filter.short": "{mode} {low}-{high} Hz N {notch}", - "sonar.status.audio": "G {global_state} D {device} L {local_state} | V {volume} | {state}", - "sonar.status.audio.short": "G {global_state} D {device} L {local_state} V {volume} {state}", - "sonar.footer.page": "PAGE", "sonar.footer.array": "ARRAY", "sonar.footer.gain": "GAIN", "sonar.footer.band_filter": "BAND/FILTER", "sonar.footer.notch": "NOTCH", "sonar.footer.peak": "PEAK HOLD", "sonar.footer.audio": "AUDIO", - "sonar.footer.harmonic": "HARMONIC HYPOTHESIS", "sonar.footer.mark": "MARK", "sonar.footer.cursor": "CURSOR", "sonar.footer.integration": "INTEG", @@ -2748,9 +2736,6 @@ "damage.footer.assign": "ASSIGN", "damage.footer.withdraw": "WITHDRAW", "opz.footer.range": "RANGE", - "sonar.audio.audible": "AUDIBLE", - "sonar.audio.silent": "SILENT", - "sonar.audio.stale": "STALE", "enum.audition_mode.broadband": "BROADBAND", "enum.audition_mode.broadband.short": "BB", "enum.audition_mode.filtered": "FILTERED", @@ -2769,17 +2754,15 @@ "sonar.no_stable_lines": "No stable lines", "sonar.course_missing": "Course -- (TMA)", "sonar.speed_missing": "Speed -- (TMA)", - "sonar.depth_not_tma": "Depth cannot be derived from TMA", "sonar.bearing_axis": "Observed true bearing / deg north-referenced", "sonar.controls_footer": "Shift+A ping Shift+B array A/B/H audition I/O gain F band N notch J audio", "help.title": "HELP - {station}", "save.title": "{mode} | 1-5: select | Enter: confirm", - "sonar.stability": "STABILITY {value}", - "sonar.stability.short": "STAB {value}", "sonar.ping_echo": "PING ECHO", "sonar.ping_ready": "PING READY", "sonar.ping_ready.short": "PING RDY", "sonar.ping_cooldown": "PING {seconds}s", + "sonar.line.array_state": "{array} {state} {payout}% STAB {stability}{pause}", "sonar.tma_summary": "Bearing rate {rate} | Own ship {legs} legs | Geometry {geometry} | {state}", "sonar.tma_summary.short": "B-rate {rate} | {legs} legs | Geom {geometry} | {state}", "sonar.bearing_rate_age": "Bearing rate {rate} | Age {age}", @@ -2799,9 +2782,9 @@ "map.tooltip.range": "Range {range} NM", "map.tooltip.range_value": "{range} NM", "map.tooltip.source_quality_age": "Source {source} | Q {quality} | Age {age}s", - "map.tooltip.own_course_speed": "Course {course} deg | Speed {speed} kn", - "map.tooltip.own_targets": "Target {course} deg / {speed} kn", - "map.tooltip.helo_state_course": "Flight state {state} | Flight course TRUE/NORTH {course} deg", + "map.tooltip.own_course_speed": "Course {course}° | Speed {speed} kn", + "map.tooltip.own_targets": "Target {course}° / {speed} kn", + "map.tooltip.helo_state_course": "Flight state {state} | Flight course TRUE/NORTH {course}°", "map.tooltip.ship_air_bearing": "Ship to aircraft: {bearing}", "map.tooltip.helo_fuel": "Fuel {fuel} min | Datalink", "map.tooltip.sonar_title": "SONAR TRACK {contact}", @@ -2821,17 +2804,17 @@ "opz.tooltip.quality_age": "Confidence {quality} | Age {age}s", "opz.tooltip.source": "Source/provenance {source} / observed track", "opz.tooltip.helo_title": "HSP-5 / DATALINK", - "opz.tooltip.flight_course": "Flight course TRUE/NORTH {course} deg", + "opz.tooltip.flight_course": "Flight course TRUE/NORTH {course}°", "opz.tooltip.helo_range": "Range {range} NM | friendly air picture", "opz.tooltip.own_title": "OWN SHIP / PPI ORIGIN", - "opz.tooltip.own_course_scope": "Course {course} deg | Radar range {range} NM", + "opz.tooltip.own_course_scope": "Course {course}° | Radar range {range} NM", "opz.tooltip.controls_title": "OPERATIONS / CIC CONTROLS", "opz.tooltip.track_count_scope": "{count} displayed tracks | Radar range {range} NM", "station.tooltip.threat_title": "THREAT PICTURE", "station.tooltip.asm_count": "{count} observed ASM tracks", "station.tooltip.mean_flooding": "Mean flooding {flooding}%", - "station.tooltip.actual_target_course": "Actual {actual} deg | Target {target} deg", - "station.tooltip.rudder_radius": "Rudder {rudder} deg | Turn radius {radius} NM", + "station.tooltip.actual_target_course": "Actual {actual}° | Target {target}°", + "station.tooltip.rudder_radius": "Rudder {rudder}° | Turn radius {radius} NM", "station.tooltip.actual_target_speed": "Actual {actual} kn | Target {target} kn", "station.tooltip.telegraph_noise": "Telegraph {telegraph} | Own noise {noise}", "station.tooltip.authored": "{text}", @@ -2846,12 +2829,12 @@ "station.tooltip.noise_limit": "Own noise {noise} | Speed limit {limit} kn", "station.tooltip.quiet_state": "Acoustic mode {state}; A toggles", "radio.tooltip.hfdf_title": "HFDF {label}", - "radio.tooltip.error": "Bearing error +/-{error} deg", + "radio.tooltip.error": "Bearing error +/-{error}°", "radio.tooltip.age": "Age {age}s | observed transmission", "radio.tooltip.message": "{time} {text}", "helo.tooltip.status_title": "FLIGHT STATUS HSP-5", "helo.tooltip.state_fuel": "{state} | Fuel {fuel} min", - "helo.tooltip.course_range": "Flight course TRUE/NORTH {course} deg | Range {range} NM", + "helo.tooltip.course_range": "Flight course TRUE/NORTH {course}° | Range {range} NM", "helo.tooltip.resources_title": "HSP ASSETS", "helo.tooltip.resources": "Air torpedoes {torpedoes} | Sonobuoys {buoys}", "helo.tooltip.active_datalink": "Active buoys {active} | Datalink {state}", @@ -2884,7 +2867,7 @@ "sonar.tooltip.beam_source": "Source listening beam {bearing} / receiver", "sonar.tooltip.demon_line": "DEMON LINE", "sonar.tooltip.sim_time": "Simulation time {time}s", - "sonar.tooltip.recorded_course": "Own-ship course {course} deg when recorded", + "sonar.tooltip.recorded_course": "Own-ship course {course}° when recorded", "sonar.tooltip.active_echoes": "ACTIVE ECHOES ({count})", "sonar.tooltip.latest_echo": "Latest measurement K{contact} | Age {age}s", "sonar.tooltip.range_sigma": "R {range} +/- {sigma} NM", @@ -2899,13 +2882,13 @@ "weapons.tooltip.mode_remaining": "Mode {mode} | Remaining run {remaining} NM", "weapons.tooltip.depth_roe": "Set depth {depth} m | ROE {roe}", "weapons.tooltip.helo_state": "HSP-5 {state}", - "bridge.line.asm_threat": "{bearing} deg / {range} NM / TTI {tti}s", - "bridge.line.torpedo_transient": "Launch transient {bearing} deg ({age}s ago)", - "bridge.line.torpedo_seeker": "HF pulses {bearing} deg ({age}s ago)", - "bridge.line.torpedo_classified": "Classified torpedo {bearing} deg", + "bridge.line.asm_threat": "{bearing}° / {range} NM / TTI {tti}s", + "bridge.line.torpedo_transient": "Launch transient {bearing}° ({age}s ago)", + "bridge.line.torpedo_seeker": "HF pulses {bearing}° ({age}s ago)", + "bridge.line.torpedo_classified": "Classified torpedo {bearing}°", "bridge.line.threat": "{kind}: {detail}", "bridge.line.more": "MORE: {threats}", - "bridge.line.course": "{course} deg", + "bridge.line.course": "{course}°", "bridge.line.range": "{range} NM", "bridge.line.speed": "{speed} kn", "bridge.line.own_noise": "{noise}% own noise", @@ -2921,10 +2904,10 @@ "opz.ciws.authorized": "RELEASED", "opz.ciws.withheld": "WITHHELD", "opz.line.source": "Source {source}", - "opz.line.bearing": "Bearing {bearing} deg / available", + "opz.line.bearing": "Bearing {bearing}° / available", "opz.line.range_available": "Range {range} NM / available", "opz.line.range_unavailable": "Range unavailable", - "opz.line.course_available": "Course {course} deg / available", + "opz.line.course_available": "Course {course}° / available", "opz.line.course_unavailable": "Course unavailable", "opz.line.depth_available": "Depth {depth} m / available", "opz.line.depth_unavailable": "Depth unavailable", @@ -2952,17 +2935,17 @@ "opz.weather.clear": "CLEAR", "opz.weather.clutter": "CLUTTER", "opz.weather.heavy": "HEAVY INTERFERENCE", - "radio.line.signal": "{prefix}{label} Brg {bearing} deg +/-{error} deg Age {age}s", + "radio.line.signal": "{prefix}{label} Brg {bearing}° +/-{error}° Age {age}s", "radio.line.log_fix": "LOG {log} | FIX {fixes}", "engine.line.order": "{mark} {order}", "engine.line.speed_target": "{speed} kn (target {target})", - "engine.line.course_target": "{course} deg (target {target})", + "engine.line.course_target": "{course}° (target {target})", "engine.line.fuel": "{fuel} t / {percent}", "engine.line.endurance": "{burn} kg/h | {hours} h | {range} NM", "engine.line.repairs": "Teams {teams} | Flood {flood} Fire {fire}", "engine.line.rpm": "{rpm} RPM", "engine.line.noise": "NOISE {noise}%", - "engine.line.sea_motion": "{sea} | Roll {roll} deg Pitch {pitch} deg", + "engine.line.sea_motion": "{sea} | Roll {roll}° Pitch {pitch}°", "engine.line.fire": " Fire {fire}%", "engine.line.sonar_effect": "~{range} NM ({array})", "bridge.line.weather": "{kind} | Sea {sea} | {light}", @@ -2971,7 +2954,7 @@ "bridge.line.lookout_sea_light": "Sea {sea} | {light}", "bridge.line.lookout_count": "{count} sightings", "bridge.line.lookout_none": "No lookout report yet.", - "bridge.line.weather_detail": "Wind from {direction} deg / {speed} kn | Rain {rain} | Vis {visibility} NM", + "bridge.line.weather_detail": "Wind from {direction}° / {speed} kn | Rain {rain} | Vis {visibility} NM", "bridge.line.weather_detail.short": "W {direction}°/{speed} kn R {rain} V {visibility} NM", "weather.day": "DAY", "weather.night": "NIGHT", @@ -3013,7 +2996,7 @@ "autocrew.action.engaged": "Torpedo engaged hostile contact", "helo.line.fuel": "{fuel} min", "helo.line.bearing_pair": "TRUE/N {true} | REL {relative}", - "helo.line.course": "{course} deg", + "helo.line.course": "{course}°", "damage.line.fire": "FIRE {fire}%", "damage.line.trend": "{trend} / {eta}min FLOOD {flooding}%", "damage.line.team": "Team {teams}", @@ -3039,7 +3022,7 @@ "weapons.line.active": "T{weapon} {mode} SOL {solution} REM {remaining}NM/{time}s", "weapons.line.more": "+ {count} more", "weapons.line.depth_value": "{depth} m", - "sonar.line.ping_history": "{ping} {readiness} | {count} {window} | {fade}", + "sonar.line.ping_history": "{ping} {readiness} | {count} {window}", "sonar.line.history_timed": "Sim {newest}s -> {oldest}s | {rows} rows", "sonar.line.history_untimed": "{rows} rows | timestamps unavailable", "sonar.line.thermocline": "Thermocline ~{depth} m", @@ -3053,7 +3036,7 @@ "sonar.line.evidence_source": "SOURCE {source}", "sonar.line.evidence_age_state": "EVIDENCE AGE {age} | {state}", "sonar.line.operating": "OPERATING {array} | {state}", - "sonar.line.beam_filter": "Beam {width} deg | Band {low}-{high} Hz | Notch {notch}", + "sonar.line.beam_filter": "Beam {width}° | Band {low}-{high} Hz | Notch {notch}", "sonar.line.beam_filter.short": "Beam {width}° | {low}-{high} Hz | N {notch}", "sonar.line.received_peaks": "RECEIVED LINES {peaks}", "sonar.line.received_peaks.short": "RX {peaks}", @@ -3068,7 +3051,6 @@ "sonar.evidence.absent": "ABSENT", "sonar.beam_filter_heading": "BEAM / FILTER STATUS", "sonar.hypotheses_heading": "OPERATOR HARMONIC HYPOTHESES", - "sonar.harmonic_not_selected": "No fundamental selected | K to select/clear", "sonar.line.cursor": "Cursor {frequency} Hz | level {level} | {seconds} s", "sonar.line.cursor.short": "Cur {frequency} Hz | {level} | {seconds}s", "sonar.line.demon_marks": "Shaft S {shaft} Hz | blade B {blade} Hz", @@ -3077,14 +3059,9 @@ "sonar.line.blade_count.short": "{blades} bl ({deviation}) {rpm} rpm", "sonar.line.shaft_rpm": "Shaft {rpm} rpm | mark the blade line", "sonar.line.shaft_rpm.short": "Shaft {rpm} rpm | mark B", - "sonar.demon_manual_hint": "Z/X cursor, K marks shaft then blade line", - "sonar.demon_manual_hint.short": "Z/X cursor, K shaft/blade", "sonar.catalog_manual_hint": "Compare with references in the F8 analyser", "sonar.catalog_manual_hint.short": "Compare: F8 analyser", - "sonar.lofar_manual_hint": "Z/X cursor, K fundamental, Q integration", - "sonar.lofar_manual_hint.short": "Z/X cur, K fund., Q integ", "sonar.vernier_axis": "{low}-{high} Hz (0.5 Hz bins)", - "sonar.harmonic_not_selected.short": "No fundamental | K select", "sonar.evidence_heading": "MEASURED ENVELOPE EVIDENCE", "sonar.rpm_hypotheses": "RPM HYPOTHESES / ASSUMED BLADES", "sonar.line.rpm_pair": "{first}: {first_rpm} RPM {second}: {second_rpm} RPM", @@ -3104,30 +3081,30 @@ "sonar.line.cz": "CZ prediction {bands} NM", "sonar.line.bt_ready": "BT readiness {seconds} s", "sonar.line.contact_cz": "Contact in CZ band? {answer}", - "sonar.line.array_delta": "Array difference {delta} deg", + "sonar.line.array_delta": "Array difference {delta}°", "sonar.line.echo_history": "History {count}/{maximum}", "sonar.line.time_window": "Time window {seconds} s", "sonar.line.newest_echo": "Newest echo K{contact}", "sonar.line.echo_age_mode": "Age {age} s | {mode}", - "sonar.line.bearing": "Bearing {bearing} deg", + "sonar.line.bearing": "Bearing {bearing}°", "sonar.line.depth": "Depth {depth}", - "sonar.line.bearing_value": "{bearing} deg", - "sonar.line.beam": "Beam {width} deg | {mode}", + "sonar.line.bearing_value": "{bearing}°", + "sonar.line.beam": "Beam {width}° | {mode}", "sonar.track": "TRACK", "sonar.line.status": "STATUS {status}", "sonar.line.geometry": "Own-ship legs {legs} | Geometry {geometry}", "sonar.line.tma_quality": "TMA quality {quality}", - "sonar.line.tma_course": "Course {course} deg (TMA)", + "sonar.line.tma_course": "Course {course}° (TMA)", "sonar.line.tma_speed": "Speed {speed} kn (TMA)", "sonar.line.tma_state_rate": "{status} | Rate {rate} | Age {age}", "sonar.line.tma_state_rate.short": "{status} | {rate} | {age}", "sonar.line.tma_geometry_quality": "Legs {legs} | {geometry} | Quality {quality}", - "sonar.line.tma_motion": "Course {course} deg | Speed {speed} kn (TMA)", - "sonar.line.tma_hypothesis": "Hypothesis {course} deg | {speed} kn | {range} NM", + "sonar.line.tma_motion": "Course {course}° | Speed {speed} kn (TMA)", + "sonar.line.tma_hypothesis": "Hypothesis {course}° | {speed} kn | {range} NM", "sonar.line.tma_hypothesis.short": "HYP {course}° {speed} kn {range} NM", - "sonar.line.tma_residuals": "Residual RMS {rms} deg | trend {trend} deg | fit {fit} | observable {observable}", + "sonar.line.tma_residuals": "Residual RMS {rms}° | trend {trend}° | fit {fit} | observable {observable}", "sonar.line.tma_residuals.short": "RES {rms}° T {trend}° fit {fit} obs {observable}", - "sonar.line.tma_proposal": "Solver proposal {course} deg | {speed} kn (training)", + "sonar.line.tma_proposal": "Solver proposal {course}° | {speed} kn (training)", "sonar.line.tma_proposal.short": "SOLVER {course}° {speed} kn", "sonar.tma_hypothesis_pending": "Hypothesis: too few bearings to test", "sonar.line.tma_motion.short": "CRS {course}° SPD {speed} kn (TMA)", @@ -3135,10 +3112,10 @@ "sonar.line.tma_closing_rate.short": "Closing {rate} kn (+ in / - out)", "sonar.line.spacing": "Line spacing ~{spacing} Hz (hypothesis)", "sonar.line.contact": "{contact} {label}", - "sonar.line.contact_quality": "SNR {snr} dB | {confidence} | +/-{uncertainty} deg | Obs {age}s", + "sonar.line.contact_quality": "SNR {snr} dB | {confidence} | +/-{uncertainty}° | Obs {age}s", "sonar.line.contact_quality.short": "SNR {snr} | {confidence} | ±{uncertainty}° | {age}s", "sonar.line.echo_returns": "ECHO RETURNS {count}/{total}", - "sonar.line.echo_bearing": "K{contact} {bearing} deg", + "sonar.line.echo_bearing": "K{contact} {bearing}°", "sonar.line.echo_range_age": "R {range} NM | Age {age}s | {mode}", "sonar.tooltip.safe_page": "Safe page selection; keyboard control remains available.", "sonar.tooltip.safe_control": "Explicitly safe operator control; no weapon action.", @@ -3152,7 +3129,7 @@ "weapons.readiness.weapons_down": "BLOCKED: WEAPONS CENTER DEGRADED", "weapons.readiness.clear": "CLEAR TO FIRE", "weapons.readiness.affiliation": "BLOCKED: AFFILIATION {affiliation}", - "sonar.line.row_bearings": "Row bearing: new {newest} / old {oldest} deg", + "sonar.line.row_bearings": "Row bearing: new {newest} / old {oldest}°", "sonar.line.history_bearing": "History retains its recorded bearing", "sonar.line.observations": "{count} measurements / {duration}s observation", "map.line.bearing_only": "{contact} (bearing only)", @@ -3163,7 +3140,7 @@ "runtime.input.pending": "{prompt}: {value}_", "runtime.numeric.course_feed": "Target course {course} degrees set", "runtime.numeric.speed_feed": "Target speed {speed} kn set", - "runtime.ping.feed": "PING echo K{contact}: Brg {bearing} deg Rng ~{range} NM (echo delay {latency} s, sound {speed} m/s, ~{classification})", + "runtime.ping.feed": "PING echo K{contact}: Brg {bearing}° Rng ~{range} NM (echo delay {latency} s, sound {speed} m/s, ~{classification})", "plot.label.ruler": "{label} {bearing}° {range} NM", "plot.label.bearing": "{label} BRG {bearing}°", "plot.label.circle": "{label} R {range} NM", @@ -3275,10 +3252,10 @@ "runtime.ciws.intercepted": "CIWS: ASM intercepted", "runtime.enemy_ping.detected": "ACTIVE SONAR heard - bearing {bearing}°!", "runtime.enemy_ping.feed": "Active sonar ping from bearing {bearing}°", - "runtime.echo.feed": "PING echo K{contact}: Brg {bearing} deg / {range} NM / {depth} m", + "runtime.echo.feed": "PING echo K{contact}: Brg {bearing}° / {range} NM / {depth} m", "runtime.echo.flash": "Echo K{contact} - {range} NM", - "runtime.contact.new_range": "New contact K{contact}: Brg {bearing} deg Rng ~{range} NM [{origin}]", - "runtime.contact.new_bearing": "New contact K{contact}: Brg {bearing} deg [{origin}]", + "runtime.contact.new_range": "New contact K{contact}: Brg {bearing}° Rng ~{range} NM [{origin}]", + "runtime.contact.new_bearing": "New contact K{contact}: Brg {bearing}° [{origin}]", "runtime.deadline.warning_minutes": "WARNING: {amount} minutes to mission deadline", "runtime.deadline.warning_seconds": "WARNING: {amount} seconds to mission deadline", "runtime.deadline.feed_minutes": "Mission deadline: {amount} minutes remaining", @@ -3323,7 +3300,7 @@ "station.opz.title": "Operations / CIC", "opz.tracks_heading": "CIC TRACKS", "opz.tracks_heading_filtered": "CIC TRACKS · {filter} (Shift+F)", - "opz.line.asm_track": "{prefix}{label} Brg {bearing} deg {distance} {source} Q{quality}{tti}", + "opz.line.asm_track": "{prefix}{label} Brg {bearing}° {distance} {source} Q{quality}{tti}", "control.opz_track": "Up/Down: report | Shift+F: filter | C: class | F: affiliation | M: designate", "control.opz_asm": "Left/Right: ASM | G: chaff | R/Shift+R: radar", "opz.button.classify": "C CLASS", @@ -3362,17 +3339,8 @@ "sonar.bt_not_measured": "BT not measured", "sonar.measure_profile": "E: measure sound profile", "sonar.tas_depth_control": "U/V: raise/lower TAS 10 m", - "sonar.sigma_legend": "Yellow: +/- range sigma", - "sonar.active_ping_control": "A: transmit active ping", + "sonar.active_ping_control": "Shift+A: active ping", "sonar.received_lines": "Received lines / Hz : level", - "sonar.lines_not_identification": "Lines are not identification", - "sonar.passive_360": "360 deg / passive reception", - "sonar.noise_visible": "Noise remains visible", - "sonar.listen_legend": "Yellow: current listening bearing", - "sonar.listen_legend.short": "Yellow: listening brg", - "sonar.beam_legend": "Gray: listening-beam limits", - "sonar.class_operator_input": "Contact class: operator input only", - "sonar.class_operator_input.short": "Class: operator only", "sonar.page_title": "{station} / {page}", "sonar.page_controls": "PAGE Page Up/Down CONTACT Up/Down BEAM R + Left/Right TRACK Enter PING Shift+A TARGET M", "weapons.control.depth": "Up/Down: torpedo depth", @@ -3384,8 +3352,8 @@ "weapons.control.flak": "F: TOGGLE FLAK RELEASE", "weapons.control.flak.short": "F: FLAK REL.", "map.source.buoy": "SONOBUOY", - "map.line.footer": "{region} | Zoom {zoom} NM | Q/E zoom | Drag pan | K: Follow {follow}", - "map.line.footer.short": "{region} | {zoom} NM | K {follow}", + "map.line.scale": "{zoom} NM", + "map.line.scale_follow": "{zoom} NM · follow", "weapons.overlay.fix": "{contact} ({source})", "runtime.helo.water_required": "Release blocked: insufficient water beneath helicopter.", "runtime.threat.air": "Air-threat track detected.", @@ -3400,7 +3368,7 @@ "eloka.state.disabled": "ESM DISABLED - OPERATIONS CENTER DESTROYED", "eloka.state.empty": "No radar emission observed", "eloka.state.no_selection": "No intercept selected", - "eloka.line.intercept": "{prefix}{track} Brg {bearing} deg {frequency} GHz Q{quality} {age}s", + "eloka.line.intercept": "{prefix}{track} Brg {bearing}° {frequency} GHz Q{quality} {age}s", "eloka.field.intercept": "Intercept", "eloka.field.bearing": "Bearing / error", "eloka.field.bearing.short": "Brg / err", @@ -3414,7 +3382,7 @@ "eloka.field.release": "CIC report", "eloka.release.active": "CIC: released", "eloka.release.private": "CIC: private", - "eloka.value.bearing": "{bearing} deg +/-{error} deg", + "eloka.value.bearing": "{bearing}° +/-{error}°", "eloka.value.frequency": "{frequency} GHz observed", "eloka.value.quality_age": "{quality} / {age}s", "eloka.heading.candidates": "RADAR-TYPE CANDIDATES / NOT IDENTIFICATION", @@ -3431,8 +3399,8 @@ "eloka.modulation.pulse": "pulse", "eloka.modulation.pulse_doppler": "pulse Doppler", "eloka.modulation.unknown": "unknown modulation", - "control.eloka": "Up/Down: intercept | F: status | Shift+F: threat | B: band | C: assignment | J: jam | Shift+J: technique | A: auto ECM/softkill | M: sound {audio}", - "control.eloka.short": "Up/Dn intcpt | F stat | Sh+F threat | B band | C assign | J jam | Sh+J tech | A auto | M snd {audio}", + "control.eloka": "↑/↓: intercept | J: jam | A: auto ECM/softkill | M: sound {audio}", + "control.eloka.short": "↑/↓ intcpt | J jam | A auto | M snd {audio}", "runtime.eloka.disabled": "ESM unavailable: operations center destroyed", "runtime.eloka.none_select": "ESM: no intercept selected", "runtime.eloka.annotation": "{track}: operator radar-type assignment {assignment}", @@ -3440,7 +3408,7 @@ "eloka.tooltip.track_count": "Retained intercepts: {count}", "eloka.tooltip.observation_limit": "Bearing and emitter measurements only; no sensor-confirmed identity or range", "eloka.tooltip.track_title": "ESM INTERCEPT {track}", - "eloka.tooltip.bearing": "Observed bearing {bearing} deg +/-{error} deg", + "eloka.tooltip.bearing": "Observed bearing {bearing}° +/-{error}°", "eloka.tooltip.fingerprint": "Observed {frequency} GHz | PRF {prf} Hz | {modulation}", "eloka.tooltip.annotation": "Operator assignment: {assignment}", "station.page.bridge_nav": "Navigation", @@ -3718,7 +3686,7 @@ "help.manual.hint": "Chapter {chapter}/{chapters} | Lines {first}-{last}/{total} | , / . or [ / ]: chapter | 0-9: quickstart/stations | Up/Down, PageUp/PageDown: scroll | Left/Right/Tab: category | F1/Esc: back", "commander.web.guide_manual_link": "Open the full manual (new tab)", "commander.web.workstation_manual": "Manual chapter for this station", - "runtime.echo.unassociated": "Sonar: unassociated echo {bearing} deg / {range} NM (seabed object?)", + "runtime.echo.unassociated": "Sonar: unassociated echo {bearing}° / {range} NM (seabed object?)", "runtime.sonar.pulse": "Active pulse: {pulse}", "sonar.pulse.cw": "CW (Doppler, 1 s)", "sonar.pulse.lfm": "LFM (100 Hz sweep, fine range)", @@ -4185,9 +4153,9 @@ "uboot.local.decoy_unavailable": "No decoy ready", "uboot.local.blow": "Emergency blow!", "uboot.local.blow_unavailable": "Emergency blow not possible", - "uboot.top.status": "{scenario} T={time} {speed} kn Course {course} Depth {depth} m", + "uboot.top.status": "{time}", "station.page.uboot_nav": "Navigation", - "station.page.uboot_weapons": "Weapons & contacts", + "station.page.uboot_weapons": "Weapons", "uboot.panel.title": "Submarine / Command", "uboot.tab": "{number} {name}", "uboot.tab.uboot": "COMMAND", @@ -4229,10 +4197,10 @@ "uboot.sighting.aircraft": "aircraft", "uboot.sighting.torpedo": "torpedo wake", "uboot.sighting.unknown": "vessel", - "uboot.line.alarm_ping": "Active sonar: {value}", - "uboot.line.alarm_torpedo": "Torpedo: {value}", - "uboot.value.alarm": "{bearing}° {age} s ago", - "uboot.value.no_alarm": "none", + "uboot.line.alarm_ping": "Ping {value}", + "uboot.line.alarm_torpedo": "Torp {value}", + "uboot.value.alarm": "{bearing}° -{age} s", + "uboot.value.no_alarm": "--", "uboot.footer.telegraph": "TELEGRAPH", "uboot.footer.silent": "SILENT", "uboot.footer.snorkel": "SNORKEL", @@ -4288,8 +4256,6 @@ "uboot.footer.chart": "ZOOM", "uboot.footer.contact": "CONTACT", "uboot.footer.fire": "FIRE", - "uboot.footer.fire_bearing": "BEARING", - "uboot.footer.decoy": "DECOY", "uboot.telemetry.course_speed": "Course/speed", "uboot.telemetry.course_speed.short": "CRS/SPD", "uboot.telemetry.depth": "Depth (ordered)", @@ -4407,7 +4373,7 @@ "enum.plant.TURBINE": "TURBINE", "ui.plant_mode": "Plant", "engine.plant_line": "{plant} (max {cap} kn)", - "damage.line.stability": "List {list} deg / trim {trim} deg / counter-flood {room}", + "damage.line.stability": "List {list}° / trim {trim}° / counter-flood {room}", "damage.counterflood.none": "off", "commander.web.engine_plant": "Propulsion plant", "commander.web.engine_apply_plant": "Select plant", @@ -5614,7 +5580,6 @@ "uboot.tube.flooded": "{tube} ready", "uboot.line.tubes": "Tubes: {tubes}", "uboot.footer.tube_load": "LOAD TUBE", - "uboot.footer.tube_flood": "FLOOD TUBE", "uboot.local.tube_loading": "Loading tube", "uboot.local.tube_flooding": "Flooding tube, opening outer door", "uboot.local.tube_rejected": "Tube order not possible: {reason}", diff --git a/data/manual/01-bridge.de.md b/data/manual/01-bridge.de.md index 5ce8befc..485392c9 100644 --- a/data/manual/01-bridge.de.md +++ b/data/manual/01-bridge.de.md @@ -6,7 +6,7 @@ Die Brücke führt die Fregatte: Kurs, Fahrt und Position zu Küste, Kontakten u ## Anzeigen und Instrumente {#bridge-displays} -Seite 1 (Navigation) zeigt Karte und vier Felder; Seite 2 (nochmals `1`) zeigt das Missionsbriefing; Seite 3 ist das Ausguck-Sichtfeld. Das Kartenwasser dunkelt mit der Uhr in drei Stufen ab (Tag, Dämmerung innerhalb einer Stunde um 05:30 und 19:30, Nacht), und Regen oder Sturm schraffiert die Karte mit gestrichelten Diagonalen (ein Sturm zusätzlich mit gelbem Rand); beides ist nur Anzeige, ebenso auf der Browserkarte. Optionen Seite 2 kann Karten- und Plotlinien glätten. +Die obere Leiste nennt nur die Station und die Uhrzeit; Kurs und Fahrt stehen in der Telemetrie unten, und der Kartenkopf zeigt nur den Maßstab (dazu „folgen“, solange `K` dem eigenen Schiff folgt). Seite 1 (Navigation) zeigt Karte und vier Felder; Seite 2 (nochmals `1`) zeigt das Missionsbriefing; Seite 3 ist das Ausguck-Sichtfeld. Das Kartenwasser dunkelt mit der Uhr in drei Stufen ab (Tag, Dämmerung innerhalb einer Stunde um 05:30 und 19:30, Nacht), und Regen oder Sturm schraffiert die Karte mit gestrichelten Diagonalen (ein Sturm zusätzlich mit gelbem Rand); beides ist nur Anzeige, ebenso auf der Browserkarte. Optionen Seite 2 kann Karten- und Plotlinien glätten. ```text +---------------------------+----------------------+ @@ -25,7 +25,7 @@ Seite 1 (Navigation) zeigt Karte und vier Felder; Seite 2 (nochmals `1`) zeigt d Fußzeile: <- -> Kurs | Auf/Ab Telegraph | U/V direkt ``` -- **Kurs / Ruder:** aktueller Kurs, befohlener Kurs, Ruderlage und Drehkreis. +- **Kurs / Ruder:** aktueller Kurs, befohlener Kurs (`→`), Ruderlage in ganzen Grad und, nur während einer Drehung, der Drehkreis. - **Fahrt / Akustik:** Telegraphenstufe, Fahrt, Eigenlärm in Prozent und Warnung KAVITATION über 15 kn. - **Taktische Lage:** beobachtete Bedrohungen (gehörter Torpedo-Starttransient oder HF-Ortungsimpulse, ein vom Sonar als Torpedo klassifizierter Kontakt oder ein als möglicher Flugkörper markierter Luftkontakt), Sensorzustand (Radar, TAS), Mittel (Helikopter, Bojen) und Wetter/Tag-Nacht. - **Karte:** synthetische Kartentiefe und Küste, eigenes Schiff, von anderen Stationen veröffentlichte Tracks. Mausrad oder `Q`/`E` zoomen, Ziehen verschiebt, `K` folgt dem eigenen Schiff. diff --git a/data/manual/01-bridge.en.md b/data/manual/01-bridge.en.md index 5a25686e..44034182 100644 --- a/data/manual/01-bridge.en.md +++ b/data/manual/01-bridge.en.md @@ -6,7 +6,7 @@ The Bridge conns the frigate: course, speed and position relative to coast, cont ## Displays and instruments {#bridge-displays} -Page 1 (navigation) shows the chart and four panels; page 2 (press `1` again) shows the mission briefing; page 3 is the lookout scope. The chart water darkens with the clock in three steps (day, dusk within an hour of 05:30 and 19:30, night), and rain or a storm hatches the chart with dashed diagonals (a storm adds an amber border); both are display only, as on the browser chart. Options page 2 can anti-alias the chart and plot lines. +The top bar names only the station and the clock; course and speed are in the telemetry band at the bottom, and the chart header shows only its scale (plus "follow" while `K` follows own ship). Page 1 (navigation) shows the chart and four panels; page 2 (press `1` again) shows the mission briefing; page 3 is the lookout scope. The chart water darkens with the clock in three steps (day, dusk within an hour of 05:30 and 19:30, night), and rain or a storm hatches the chart with dashed diagonals (a storm adds an amber border); both are display only, as on the browser chart. Options page 2 can anti-alias the chart and plot lines. ```text +---------------------------+----------------------+ @@ -25,7 +25,7 @@ Page 1 (navigation) shows the chart and four panels; page 2 (press `1` again) sh footer: <- -> course | Up/Down telegraph | U/V direct ``` -- **Course / rudder:** current course, ordered course, rudder angle and turn radius. +- **Course / rudder:** current course, ordered course (`→`), rudder angle in whole degrees and, only while turning, the turn radius. - **Speed / acoustics:** telegraph order, speed, own noise in percent and a CAVITATION warning above 15 kn. - **Tactical picture:** observed threats (a heard torpedo launch transient or HF seeker pulses, a contact sonar classified as torpedo, or an air track flagged as a possible missile), sensor state (radar, TAS), assets (helicopter, buoys) and weather/day-night. - **Chart:** synthetic chart depth and coastline, own ship, tracks published by the other stations. Wheel or `Q`/`E` zoom, drag pans, `K` follows own ship. diff --git a/data/manual/02-sonar.de.md b/data/manual/02-sonar.de.md index be98da92..10d39475 100644 --- a/data/manual/02-sonar.de.md +++ b/data/manual/02-sonar.de.md @@ -6,7 +6,7 @@ Die Sonarzentrale ist der Hauptsensor der U-Jagd. Sie horcht passiv mit Bugsonar ## Anzeigen und Instrumente {#sonar-displays} -Die Station hat sechs Seiten. `Bild Auf`/`Bild Ab` (oder nochmals `2`) blättert sie. +Die Station hat sechs Seiten. `Bild Auf`/`Bild Ab` (oder nochmals `2`) blättert sie. Der Hörposten rechts zeigt Quelle und Alter der Evidenz, das Array, die Hörpeilung und die Ping-Bereitschaft; ein Schlepp- oder Tiefensonar, das gerade aus- oder einfährt oder noch nicht bereit ist, erscheint auf jeder Seite gelb mit Kabellänge, Stabilität und PAUSE, wenn die Handhabung außerhalb der Grenzen liegt. Die eine Tastenzeile unten zeigt die vier Haupttasten der Seite mit ihren Werten; alle übrigen Tasten stehen in der F1-Hilfe. Auf BREITBAND ist die gelbe Linie die Hörpeilung und die grauen Linien die Grenzen des Hörstrahls; dunkel heißt leise, türkis laut. | Seite | Zeigt | Wofür | |---|---|---| diff --git a/data/manual/02-sonar.en.md b/data/manual/02-sonar.en.md index 8a0f9b9e..fc991525 100644 --- a/data/manual/02-sonar.en.md +++ b/data/manual/02-sonar.en.md @@ -6,7 +6,7 @@ The sonar room is the main ASW sensor. It listens passively on the hull-mounted ## Displays and instruments {#sonar-displays} -The station has six pages. `PgUp`/`PgDn` (or `2` again) cycles them. +The station has six pages. `PgUp`/`PgDn` (or `2` again) cycles them. The listening post on the right shows the evidence source and age, the array, the listening bearing and the ping readiness; a towed or variable-depth array that is moving or not yet ready appears on every page in amber with payout, stability and PAUSE when handling is outside its limits. The single key row at the bottom shows the page's four main keys with their values; every other key is listed under F1. On BROADBAND the amber line is the listening bearing and the grey lines the beam limits; dark means quiet, turquoise loud. | Page | Shows | Use it for | |---|---|---| diff --git a/data/manual/10-reference.de.md b/data/manual/10-reference.de.md index 1bf18d97..17148f7a 100644 --- a/data/manual/10-reference.de.md +++ b/data/manual/10-reference.de.md @@ -127,7 +127,7 @@ Eine zweite Crew kann den Gegner spielen. Das U-Boot hat sieben Stationen: Führ Jedes neue Spiel fragt zuerst **Welche Einheit spielst du?**: *Fregatte F-217* oder *Feindliches U-Boot* (`Auf`/`Ab` oder `1`/`2`, `Enter`; die letzte Wahl ist vorausgewählt, `--play-sub` wählt das U-Boot vor). Außerhalb einer Mission ändert auch Optionen (`F10`) Seite 2 **uConsole spielt** die Wahl, etwa vor dem Laden eines Spielstands. Mit dem U-Boot führt der uConsole das feindliche U-Boot statt der Fregatte. Die Fregatte wird dann über Remote Crew (`F9`) aus den Browsern besetzt; jede Fregattenstation, die kein Browser hält, besetzen die **KI-Jäger** (unten). Der uConsole zeigt nur das Lagebild des U-Boots; Banner, Ereignislog, Soundeffekte, Plot und Tooltips der Fregatte erscheinen nie, und Trackball- und Telegraphenbedienung der Fregatte sind gesperrt. Die Seite lässt sich nur außerhalb einer Mission wechseln; die Wahl gilt nur für diesen Programmstart und wird nie gespeichert, jeder Start beginnt also mit der Fregatte. Ein Solo-Browser (Remote Crew im Solo-Modus) wählt die Seite genauso: sein Dialog **Neues Spiel** hat ein Feld *Seite*, und mit *U-Boot* übernimmt die Sitzung die sieben Stationen des U-Boots, während die KI-Jäger die Fregatte besetzen. -Die obere Leiste zeigt die sieben Stationen des U-Boots als Reiter: `1` Führung, `2` Sonar, `3` Waffen, `4` Maschine, `5` Mast & ESM, `6` Navigation, `7` Funkraum (`Tab` oder ein Klick auf den Reiter wechselt). Jede Befehlstaste wirkt nur an der Station, zu der der Befehl gehört, wie im Browser; sonst nennt ein Banner die richtige Station. Browser können gleichzeitig die übrigen Stationen des U-Boots besetzen; eine Station, die ein Browser hält, ist in der oberen Leiste markiert und wird nicht vom uConsole bedient. Jede Station außer dem Sonarraum ist aufgebaut wie die Brücke: links die Seekarte (bekannte Geografie, der eigene Plot des U-Boots, die ESM-Peillinien und Kreuzpeilungen, das eigene U-Boot mit Sollkurs und Fahrtvektor, die Peilstriche der eigenen Sonarkontakte bzw. ihr Symbol bei aktuellem Ping- oder TMA-Fix, die eigenen Torpedos `T1`…, ein begrenztes Schussfeld der Rohre), rechts die Station mit Bedrohungsleiste (Torpedoalarm und gehörtes Aktivsonar mit gemessener Peilung, Rumpfschaden, Kavitation, schwache Batterie, ESM-Radarerfassung) und die Seite der Station. Die **Führung** hat vier Seiten, die **Maschine** vier, **Mast & ESM** zwei und **Navigation** zwei (die Taste der Station erneut oder `Bild auf`/`Bild ab`). Die zweite Seite der Maschine, **Vorräte**, zeigt Energie, Ausdauer und Luft; `R` wechselt die Laderate, `A` setzt einen Absorbersatz ein und `O` zündet eine O2-Kerze. Ihre dritte Seite **Zellen** zeigt das Schnittbild, Hauptzellen und Pressluft, die Zellen mit ihren Sollwerten, Gewicht, Trimmwinkel, Drift ohne Tiefenruder, Wassereinbruch und Pumpen; `↑`/`↓` lenzen oder fluten die Regelzelle, `←`/`→` pumpen Trimmwasser nach achtern oder vorn und `Z` schaltet die Trimmautomatik. Ihre vierte Seite **Leckwehr** zeigt die Abteilungen (Wasser, Leck, Brand, Gas, geschlossene Schotten, Trupps), die Tabelle der Abteilungen, den Strom und beide Trupps; `↑`/`↓` wählen eine Abteilung, `←`/`→` eine Aufgabe, `Enter` schickt Trupp 1 und `Umschalt+Enter` Trupp 2 mit dieser Aufgabe dorthin, und `I` schließt oder öffnet die Schotten der Abteilung. **Navigation** (Seite und Station) zeigt Kurs und Tiefe, das Wasser unter dem Kiel und ein kartiertes Hindernis voraus, Fahrt, Eigenlärm, Batterie und die aktiven Betriebsarten sowie die Wassersäule unter dem U-Boot: U-Boot-Tiefe, befohlene Tiefe, sichere Tiefe und Grund; die Sprungschicht erscheint dort erst nach einer eigenen BT-Messung (`E` am U-Boot-Sonar). **Waffen & Kontakte** (Seite und Station Waffen) zeigt Feuerbereitschaft, Torpedos, klare (geflutete) Rohre, Nachladen, Täuschkörper, Notanblasen, eine Zeile mit dem Zustand jedes Rohrs (`M` lädt das nächste leere Rohr, `Shift+M` flutet das nächste trockene) und die eigenen Sonarkontakte (Peilung, Entfernung falls bekannt, und Güte in Prozent: der bessere Wert aus Signalgüte und Spurvertrauen, 100 % ist ein sicherer Kontakt). Die **Maschine** zeigt Fahrt, Eigenlärm, Batterie, die Betriebsarten und die Telegrafenstufen; **Mast & ESM** zeigt die Mastzeit, die Rose, die Emitterliste und den gewählten Emitter (Signal, Pegel und Trend, Kreuzpeilung, Einstufung); ihre zweite Seite und die dritte der Führung ist das **Sehrohr** (Okular, Sichtlinie, Licht und die Sichtungsliste; `←`/`→` schwenken, `Enter` Stadimeter). Der **Funkraum** hat eine Seite: Antenne, Rundspruchplan, Fortschritt von Aufnahme und Sendung, die letzte Feindlage der Führung und das Funktagebuch; `Enter` sendet eine Lagemeldung und `P` fährt den Mast aus oder ein. Unten stehen U-Boot-Log und Telemetrie des U-Boots, als Leiste oder Statuszeile wie in den Optionen eingestellt; Befehle, Schüsse und Täuschkörper werden dort protokolliert. +Die obere Leiste zeigt die sieben Stationen des U-Boots als Reiter: `1` Führung, `2` Sonar, `3` Waffen, `4` Maschine, `5` Mast & ESM, `6` Navigation, `7` Funkraum (`Tab` oder ein Klick auf den Reiter wechselt), rechts die Uhrzeit. Jede Befehlstaste wirkt nur an der Station, zu der der Befehl gehört, wie im Browser; sonst nennt ein Banner die richtige Station. Browser können gleichzeitig die übrigen Stationen des U-Boots besetzen; eine Station, die ein Browser hält, ist in der oberen Leiste markiert und wird nicht vom uConsole bedient. Jede Station außer dem Sonarraum ist aufgebaut wie die Brücke: links die Seekarte (bekannte Geografie, der eigene Plot des U-Boots, die ESM-Peillinien und Kreuzpeilungen, das eigene U-Boot mit Sollkurs und Fahrtvektor, die Peilstriche der eigenen Sonarkontakte bzw. ihr Symbol bei aktuellem Ping- oder TMA-Fix, die eigenen Torpedos `T1`…, ein begrenztes Schussfeld der Rohre), rechts die Station mit Bedrohungsleiste (Torpedoalarm und gehörtes Aktivsonar mit gemessener Peilung, Rumpfschaden, Kavitation, schwache Batterie, ESM-Radarerfassung) und die Seite der Station. Die Bedrohungsleiste erscheint nur, solange eine Bedrohung aktuell ist: ein gehörter Ping oder eine ESM-Erfassung füllt sie 30 s lang; danach steht neben der Uhrzeit ein gelbes Dreieck mit der Zahl der anstehenden Warnungen, die Einzelheiten bleiben auf der Seite Bedrohung. Die **Führung** hat vier Seiten, die **Maschine** vier, **Mast & ESM** zwei und **Navigation** zwei (die Taste der Station erneut oder `Bild auf`/`Bild ab`). Die zweite Seite der Maschine, **Vorräte**, zeigt Energie, Ausdauer und Luft; `R` wechselt die Laderate, `A` setzt einen Absorbersatz ein und `O` zündet eine O2-Kerze. Ihre dritte Seite **Zellen** zeigt das Schnittbild, Hauptzellen und Pressluft, die Zellen mit ihren Sollwerten, Gewicht, Trimmwinkel, Drift ohne Tiefenruder, Wassereinbruch und Pumpen; `↑`/`↓` lenzen oder fluten die Regelzelle, `←`/`→` pumpen Trimmwasser nach achtern oder vorn und `Z` schaltet die Trimmautomatik. Ihre vierte Seite **Leckwehr** zeigt die Abteilungen (Wasser, Leck, Brand, Gas, geschlossene Schotten, Trupps), die Tabelle der Abteilungen, den Strom und beide Trupps; `↑`/`↓` wählen eine Abteilung, `←`/`→` eine Aufgabe, `Enter` schickt Trupp 1 und `Umschalt+Enter` Trupp 2 mit dieser Aufgabe dorthin, und `I` schließt oder öffnet die Schotten der Abteilung. **Navigation** (Seite und Station) zeigt Kurs und Tiefe, das Wasser unter dem Kiel und ein kartiertes Hindernis voraus, Fahrt, Eigenlärm, Batterie und die aktiven Betriebsarten sowie die Wassersäule unter dem U-Boot: U-Boot-Tiefe, befohlene Tiefe, sichere Tiefe und Grund; die Sprungschicht erscheint dort erst nach einer eigenen BT-Messung (`E` am U-Boot-Sonar). **Waffen** (Seite und Station Waffen) zeigt Feuerbereitschaft, Torpedos, klare (geflutete) Rohre, Nachladen, Täuschkörper, Notanblasen, eine Zeile mit den Rohren, die nicht klar sind (`M` lädt das nächste leere Rohr, `Shift+M` flutet das nächste trockene) und die eigenen Sonarkontakte (Peilung, Entfernung falls bekannt, und Güte in Prozent: der bessere Wert aus Signalgüte und Spurvertrauen, 100 % ist ein sicherer Kontakt). Die **Maschine** zeigt Fahrt, Eigenlärm, Batterie, die Betriebsarten und die Telegrafenstufen; **Mast & ESM** zeigt die Mastzeit, die Rose, die Emitterliste und den gewählten Emitter (Signal, Pegel und Trend, Kreuzpeilung, Einstufung); ihre zweite Seite und die dritte der Führung ist das **Sehrohr** (Okular, Sichtlinie, Licht und die Sichtungsliste; `←`/`→` schwenken, `Enter` Stadimeter). Der **Funkraum** hat eine Seite: Antenne, Rundspruchplan, Fortschritt von Aufnahme und Sendung, die letzte Feindlage der Führung und das Funktagebuch; `Enter` sendet eine Lagemeldung und `P` fährt den Mast aus oder ein. Unten stehen U-Boot-Log und Telemetrie des U-Boots, als Leiste oder Statuszeile wie in den Optionen eingestellt; Befehle, Schüsse und Täuschkörper werden dort protokolliert. diff --git a/data/manual/10-reference.en.md b/data/manual/10-reference.en.md index 842e0b79..9d829312 100644 --- a/data/manual/10-reference.en.md +++ b/data/manual/10-reference.en.md @@ -127,7 +127,7 @@ A second crew can play the enemy. The submarine has seven stations: Command, Son Every new game first asks **Which unit do you play?**: *Frigate F-217* or *Hostile submarine* (`Up`/`Down` or `1`/`2`, `Enter`; the last choice is preselected, `--play-sub` preselects the submarine). Outside a mission, Options (`F10`) page 2 **uConsole plays** changes it as well, for example before loading a game. With the submarine the uConsole commands the hostile submarine instead of the frigate. The frigate is then crewed from the browsers through Remote Crew (`F9`); every frigate station no browser holds is crewed by the **AI hunters** (below). The uConsole shows only the submarine's own picture; the frigate's banners, event log, sound cues, plot and tooltips never appear, and its trackball and telegraph controls are disabled. The side can only be changed outside a mission; it lasts for this launch and is never saved, so every launch starts with the frigate. A solo browser (Remote Crew solo mode) chooses the side in the same way: its **New game** dialog has a *Side* field, and with *Submarine* the session takes the submarine's seven stations while the AI hunters crew the frigate. -The top bar shows the submarine's seven stations as tabs: `1` Command, `2` Sonar, `3` Weapons, `4` Engine room, `5` Mast & ESM, `6` Navigation, `7` Radio room (`Tab` or a click on a tab switches). Each order key works only at the station that owns it, as in the browser; elsewhere a banner names the right station. Browsers can crew the submarine's other stations at the same time; a station a browser holds is marked in the top bar and is not operated from the uConsole. Every station but the sonar room is laid out like the Bridge: the chart on the left (known geography, the submarine's own plot, the ESM bearing lines and cross-fixes, the submarine with its ordered course and motion vector, the bearing lines of its own sonar contacts or their symbol while a ping or TMA fix is current, its own torpedoes `T1`…, a limited tube firing arc), the station on the right with a threat bar (torpedo alarm and active sonar heard with measured bearing, hull damage, cavitation, low battery, ESM radar intercept) and the station's page. **Command** has four pages, the **Engine room** four, **Mast & ESM** two and **Navigation** two (the station's key again or `PgUp`/`PgDn`). The Engine room's second page **Stores** shows energy, endurance and air; `R` cycles the charge rate, `A` fits an absorber set and `O` lights an oxygen candle. Its third page **Tanks** shows the cross-section, main ballast and air, the tanks with their orders, weight, trim angle, drift without planes, flooding and pumps; `↑`/`↓` pump out or flood the regulating tank, `←`/`→` move trim water aft or forward and `Z` switches the automatic trim. Its fourth page **Damage** shows the compartments (water, leak, fire, gas, shut bulkheads, teams), the table of compartments, the power and both teams; `↑`/`↓` pick a compartment, `←`/`→` a task, `Enter` sends team 1 and `Shift+Enter` team 2 there with that task, and `I` shuts or opens the compartment's bulkheads. **Navigation** (page and station) shows course and depth, water under the keel and any charted obstacle ahead, speed, own noise, battery and the active modes, and the water column under the submarine: submarine depth, ordered depth, safe depth and seabed; the layer appears there only after the submarine's own BT measurement (`E` at the submarine sonar). **Weapons & contacts** (page and Weapons station) shows fire readiness, torpedoes, tubes ready (flooded), reload, decoys, emergency blow, a line with every tube's state (`M` loads the next empty tube, `Shift+M` floods the next dry one) and the submarine's own sonar contacts (bearing, range where known, and quality in percent: the better of the signal quality and the track confidence, 100 % being a firm contact). The **Engine room** shows speed, own noise, battery, the modes and the telegraph steps; **Mast & ESM** shows the mast time, the rose, the emitter list and the selected emitter (signal, level and trend, cross-fix, classification); its second page and Command's third are the **Periscope** (eyepiece, line of sight, light and the sightings list; `←`/`→` train, `Enter` stadimeter). The **Radio room** has one page: antenna, broadcast schedule, copy and transmit progress, HQ's latest contact report and the radio log; `Enter` sends a situation report and `P` raises or lowers the mast. Below are the submarine log and the submarine's telemetry, as a band or a status ticker as set in the options; orders, shots and decoys are logged there. +The top bar shows the submarine's seven stations as tabs: `1` Command, `2` Sonar, `3` Weapons, `4` Engine room, `5` Mast & ESM, `6` Navigation, `7` Radio room (`Tab` or a click on a tab switches), and on the right the clock. Each order key works only at the station that owns it, as in the browser; elsewhere a banner names the right station. Browsers can crew the submarine's other stations at the same time; a station a browser holds is marked in the top bar and is not operated from the uConsole. Every station but the sonar room is laid out like the Bridge: the chart on the left (known geography, the submarine's own plot, the ESM bearing lines and cross-fixes, the submarine with its ordered course and motion vector, the bearing lines of its own sonar contacts or their symbol while a ping or TMA fix is current, its own torpedoes `T1`…, a limited tube firing arc), the station on the right with a threat bar (torpedo alarm and active sonar heard with measured bearing, hull damage, cavitation, low battery, ESM radar intercept) and the station's page. The threat bar appears only while a threat is current: a heard ping or an ESM intercept fills it for 30 s; after that an amber triangle with the number of standing warnings sits next to the clock and the details stay on the Threat page. **Command** has four pages, the **Engine room** four, **Mast & ESM** two and **Navigation** two (the station's key again or `PgUp`/`PgDn`). The Engine room's second page **Stores** shows energy, endurance and air; `R` cycles the charge rate, `A` fits an absorber set and `O` lights an oxygen candle. Its third page **Tanks** shows the cross-section, main ballast and air, the tanks with their orders, weight, trim angle, drift without planes, flooding and pumps; `↑`/`↓` pump out or flood the regulating tank, `←`/`→` move trim water aft or forward and `Z` switches the automatic trim. Its fourth page **Damage** shows the compartments (water, leak, fire, gas, shut bulkheads, teams), the table of compartments, the power and both teams; `↑`/`↓` pick a compartment, `←`/`→` a task, `Enter` sends team 1 and `Shift+Enter` team 2 there with that task, and `I` shuts or opens the compartment's bulkheads. **Navigation** (page and station) shows course and depth, water under the keel and any charted obstacle ahead, speed, own noise, battery and the active modes, and the water column under the submarine: submarine depth, ordered depth, safe depth and seabed; the layer appears there only after the submarine's own BT measurement (`E` at the submarine sonar). **Weapons** (page and Weapons station) shows fire readiness, torpedoes, tubes ready (flooded), reload, decoys, emergency blow, a line with the tubes that are not ready (`M` loads the next empty tube, `Shift+M` floods the next dry one) and the submarine's own sonar contacts (bearing, range where known, and quality in percent: the better of the signal quality and the track confidence, 100 % being a firm contact). The **Engine room** shows speed, own noise, battery, the modes and the telegraph steps; **Mast & ESM** shows the mast time, the rose, the emitter list and the selected emitter (signal, level and trend, cross-fix, classification); its second page and Command's third are the **Periscope** (eyepiece, line of sight, light and the sightings list; `←`/`→` train, `Enter` stadimeter). The **Radio room** has one page: antenna, broadcast schedule, copy and transmit progress, HQ's latest contact report and the radio log; `Enter` sends a situation report and `P` raises or lowers the mast. Below are the submarine log and the submarine's telemetry, as a band or a status ticker as set in the options; orders, shots and decoys are logged there. diff --git a/docs/manual/handbuch.de.pdf b/docs/manual/handbuch.de.pdf index 66e39757..bd05bdf0 100644 Binary files a/docs/manual/handbuch.de.pdf and b/docs/manual/handbuch.de.pdf differ diff --git a/docs/manual/manual.de.md b/docs/manual/manual.de.md index c70f36af..a5a29e79 100644 --- a/docs/manual/manual.de.md +++ b/docs/manual/manual.de.md @@ -141,7 +141,7 @@ Die Brücke führt die Fregatte: Kurs, Fahrt und Position zu Küste, Kontakten u ### Anzeigen und Instrumente -Seite 1 (Navigation) zeigt Karte und vier Felder; Seite 2 (nochmals `1`) zeigt das Missionsbriefing; Seite 3 ist das Ausguck-Sichtfeld. Das Kartenwasser dunkelt mit der Uhr in drei Stufen ab (Tag, Dämmerung innerhalb einer Stunde um 05:30 und 19:30, Nacht), und Regen oder Sturm schraffiert die Karte mit gestrichelten Diagonalen (ein Sturm zusätzlich mit gelbem Rand); beides ist nur Anzeige, ebenso auf der Browserkarte. Optionen Seite 2 kann Karten- und Plotlinien glätten. +Die obere Leiste nennt nur die Station und die Uhrzeit; Kurs und Fahrt stehen in der Telemetrie unten, und der Kartenkopf zeigt nur den Maßstab (dazu „folgen“, solange `K` dem eigenen Schiff folgt). Seite 1 (Navigation) zeigt Karte und vier Felder; Seite 2 (nochmals `1`) zeigt das Missionsbriefing; Seite 3 ist das Ausguck-Sichtfeld. Das Kartenwasser dunkelt mit der Uhr in drei Stufen ab (Tag, Dämmerung innerhalb einer Stunde um 05:30 und 19:30, Nacht), und Regen oder Sturm schraffiert die Karte mit gestrichelten Diagonalen (ein Sturm zusätzlich mit gelbem Rand); beides ist nur Anzeige, ebenso auf der Browserkarte. Optionen Seite 2 kann Karten- und Plotlinien glätten. ```text +---------------------------+----------------------+ @@ -160,7 +160,7 @@ Seite 1 (Navigation) zeigt Karte und vier Felder; Seite 2 (nochmals `1`) zeigt d Fußzeile: <- -> Kurs | Auf/Ab Telegraph | U/V direkt ``` -- **Kurs / Ruder:** aktueller Kurs, befohlener Kurs, Ruderlage und Drehkreis. +- **Kurs / Ruder:** aktueller Kurs, befohlener Kurs (`→`), Ruderlage in ganzen Grad und, nur während einer Drehung, der Drehkreis. - **Fahrt / Akustik:** Telegraphenstufe, Fahrt, Eigenlärm in Prozent und Warnung KAVITATION über 15 kn. - **Taktische Lage:** beobachtete Bedrohungen (gehörter Torpedo-Starttransient oder HF-Ortungsimpulse, ein vom Sonar als Torpedo klassifizierter Kontakt oder ein als möglicher Flugkörper markierter Luftkontakt), Sensorzustand (Radar, TAS), Mittel (Helikopter, Bojen) und Wetter/Tag-Nacht. - **Karte:** synthetische Kartentiefe und Küste, eigenes Schiff, von anderen Stationen veröffentlichte Tracks. Mausrad oder `Q`/`E` zoomen, Ziehen verschiebt, `K` folgt dem eigenen Schiff. @@ -233,7 +233,7 @@ Die Sonarzentrale ist der Hauptsensor der U-Jagd. Sie horcht passiv mit Bugsonar ### Anzeigen und Instrumente -Die Station hat sechs Seiten. `Bild Auf`/`Bild Ab` (oder nochmals `2`) blättert sie. +Die Station hat sechs Seiten. `Bild Auf`/`Bild Ab` (oder nochmals `2`) blättert sie. Der Hörposten rechts zeigt Quelle und Alter der Evidenz, das Array, die Hörpeilung und die Ping-Bereitschaft; ein Schlepp- oder Tiefensonar, das gerade aus- oder einfährt oder noch nicht bereit ist, erscheint auf jeder Seite gelb mit Kabellänge, Stabilität und PAUSE, wenn die Handhabung außerhalb der Grenzen liegt. Die eine Tastenzeile unten zeigt die vier Haupttasten der Seite mit ihren Werten; alle übrigen Tasten stehen in der F1-Hilfe. Auf BREITBAND ist die gelbe Linie die Hörpeilung und die grauen Linien die Grenzen des Hörstrahls; dunkel heißt leise, türkis laut. | Seite | Zeigt | Wofür | |---|---|---| @@ -1126,7 +1126,7 @@ Eine zweite Crew kann den Gegner spielen. Das U-Boot hat sieben Stationen: Führ Jedes neue Spiel fragt zuerst **Welche Einheit spielst du?**: *Fregatte F-217* oder *Feindliches U-Boot* (`Auf`/`Ab` oder `1`/`2`, `Enter`; die letzte Wahl ist vorausgewählt, `--play-sub` wählt das U-Boot vor). Außerhalb einer Mission ändert auch Optionen (`F10`) Seite 2 **uConsole spielt** die Wahl, etwa vor dem Laden eines Spielstands. Mit dem U-Boot führt der uConsole das feindliche U-Boot statt der Fregatte. Die Fregatte wird dann über Remote Crew (`F9`) aus den Browsern besetzt; jede Fregattenstation, die kein Browser hält, besetzen die **KI-Jäger** (unten). Der uConsole zeigt nur das Lagebild des U-Boots; Banner, Ereignislog, Soundeffekte, Plot und Tooltips der Fregatte erscheinen nie, und Trackball- und Telegraphenbedienung der Fregatte sind gesperrt. Die Seite lässt sich nur außerhalb einer Mission wechseln; die Wahl gilt nur für diesen Programmstart und wird nie gespeichert, jeder Start beginnt also mit der Fregatte. Ein Solo-Browser (Remote Crew im Solo-Modus) wählt die Seite genauso: sein Dialog **Neues Spiel** hat ein Feld *Seite*, und mit *U-Boot* übernimmt die Sitzung die sieben Stationen des U-Boots, während die KI-Jäger die Fregatte besetzen. -Die obere Leiste zeigt die sieben Stationen des U-Boots als Reiter: `1` Führung, `2` Sonar, `3` Waffen, `4` Maschine, `5` Mast & ESM, `6` Navigation, `7` Funkraum (`Tab` oder ein Klick auf den Reiter wechselt). Jede Befehlstaste wirkt nur an der Station, zu der der Befehl gehört, wie im Browser; sonst nennt ein Banner die richtige Station. Browser können gleichzeitig die übrigen Stationen des U-Boots besetzen; eine Station, die ein Browser hält, ist in der oberen Leiste markiert und wird nicht vom uConsole bedient. Jede Station außer dem Sonarraum ist aufgebaut wie die Brücke: links die Seekarte (bekannte Geografie, der eigene Plot des U-Boots, die ESM-Peillinien und Kreuzpeilungen, das eigene U-Boot mit Sollkurs und Fahrtvektor, die Peilstriche der eigenen Sonarkontakte bzw. ihr Symbol bei aktuellem Ping- oder TMA-Fix, die eigenen Torpedos `T1`…, ein begrenztes Schussfeld der Rohre), rechts die Station mit Bedrohungsleiste (Torpedoalarm und gehörtes Aktivsonar mit gemessener Peilung, Rumpfschaden, Kavitation, schwache Batterie, ESM-Radarerfassung) und die Seite der Station. Die **Führung** hat vier Seiten, die **Maschine** vier, **Mast & ESM** zwei und **Navigation** zwei (die Taste der Station erneut oder `Bild auf`/`Bild ab`). Die zweite Seite der Maschine, **Vorräte**, zeigt Energie, Ausdauer und Luft; `R` wechselt die Laderate, `A` setzt einen Absorbersatz ein und `O` zündet eine O2-Kerze. Ihre dritte Seite **Zellen** zeigt das Schnittbild, Hauptzellen und Pressluft, die Zellen mit ihren Sollwerten, Gewicht, Trimmwinkel, Drift ohne Tiefenruder, Wassereinbruch und Pumpen; `↑`/`↓` lenzen oder fluten die Regelzelle, `←`/`→` pumpen Trimmwasser nach achtern oder vorn und `Z` schaltet die Trimmautomatik. Ihre vierte Seite **Leckwehr** zeigt die Abteilungen (Wasser, Leck, Brand, Gas, geschlossene Schotten, Trupps), die Tabelle der Abteilungen, den Strom und beide Trupps; `↑`/`↓` wählen eine Abteilung, `←`/`→` eine Aufgabe, `Enter` schickt Trupp 1 und `Umschalt+Enter` Trupp 2 mit dieser Aufgabe dorthin, und `I` schließt oder öffnet die Schotten der Abteilung. **Navigation** (Seite und Station) zeigt Kurs und Tiefe, das Wasser unter dem Kiel und ein kartiertes Hindernis voraus, Fahrt, Eigenlärm, Batterie und die aktiven Betriebsarten sowie die Wassersäule unter dem U-Boot: U-Boot-Tiefe, befohlene Tiefe, sichere Tiefe und Grund; die Sprungschicht erscheint dort erst nach einer eigenen BT-Messung (`E` am U-Boot-Sonar). **Waffen & Kontakte** (Seite und Station Waffen) zeigt Feuerbereitschaft, Torpedos, klare (geflutete) Rohre, Nachladen, Täuschkörper, Notanblasen, eine Zeile mit dem Zustand jedes Rohrs (`M` lädt das nächste leere Rohr, `Shift+M` flutet das nächste trockene) und die eigenen Sonarkontakte (Peilung, Entfernung falls bekannt, und Güte in Prozent: der bessere Wert aus Signalgüte und Spurvertrauen, 100 % ist ein sicherer Kontakt). Die **Maschine** zeigt Fahrt, Eigenlärm, Batterie, die Betriebsarten und die Telegrafenstufen; **Mast & ESM** zeigt die Mastzeit, die Rose, die Emitterliste und den gewählten Emitter (Signal, Pegel und Trend, Kreuzpeilung, Einstufung); ihre zweite Seite und die dritte der Führung ist das **Sehrohr** (Okular, Sichtlinie, Licht und die Sichtungsliste; `←`/`→` schwenken, `Enter` Stadimeter). Der **Funkraum** hat eine Seite: Antenne, Rundspruchplan, Fortschritt von Aufnahme und Sendung, die letzte Feindlage der Führung und das Funktagebuch; `Enter` sendet eine Lagemeldung und `P` fährt den Mast aus oder ein. Unten stehen U-Boot-Log und Telemetrie des U-Boots, als Leiste oder Statuszeile wie in den Optionen eingestellt; Befehle, Schüsse und Täuschkörper werden dort protokolliert. +Die obere Leiste zeigt die sieben Stationen des U-Boots als Reiter: `1` Führung, `2` Sonar, `3` Waffen, `4` Maschine, `5` Mast & ESM, `6` Navigation, `7` Funkraum (`Tab` oder ein Klick auf den Reiter wechselt), rechts die Uhrzeit. Jede Befehlstaste wirkt nur an der Station, zu der der Befehl gehört, wie im Browser; sonst nennt ein Banner die richtige Station. Browser können gleichzeitig die übrigen Stationen des U-Boots besetzen; eine Station, die ein Browser hält, ist in der oberen Leiste markiert und wird nicht vom uConsole bedient. Jede Station außer dem Sonarraum ist aufgebaut wie die Brücke: links die Seekarte (bekannte Geografie, der eigene Plot des U-Boots, die ESM-Peillinien und Kreuzpeilungen, das eigene U-Boot mit Sollkurs und Fahrtvektor, die Peilstriche der eigenen Sonarkontakte bzw. ihr Symbol bei aktuellem Ping- oder TMA-Fix, die eigenen Torpedos `T1`…, ein begrenztes Schussfeld der Rohre), rechts die Station mit Bedrohungsleiste (Torpedoalarm und gehörtes Aktivsonar mit gemessener Peilung, Rumpfschaden, Kavitation, schwache Batterie, ESM-Radarerfassung) und die Seite der Station. Die Bedrohungsleiste erscheint nur, solange eine Bedrohung aktuell ist: ein gehörter Ping oder eine ESM-Erfassung füllt sie 30 s lang; danach steht neben der Uhrzeit ein gelbes Dreieck mit der Zahl der anstehenden Warnungen, die Einzelheiten bleiben auf der Seite Bedrohung. Die **Führung** hat vier Seiten, die **Maschine** vier, **Mast & ESM** zwei und **Navigation** zwei (die Taste der Station erneut oder `Bild auf`/`Bild ab`). Die zweite Seite der Maschine, **Vorräte**, zeigt Energie, Ausdauer und Luft; `R` wechselt die Laderate, `A` setzt einen Absorbersatz ein und `O` zündet eine O2-Kerze. Ihre dritte Seite **Zellen** zeigt das Schnittbild, Hauptzellen und Pressluft, die Zellen mit ihren Sollwerten, Gewicht, Trimmwinkel, Drift ohne Tiefenruder, Wassereinbruch und Pumpen; `↑`/`↓` lenzen oder fluten die Regelzelle, `←`/`→` pumpen Trimmwasser nach achtern oder vorn und `Z` schaltet die Trimmautomatik. Ihre vierte Seite **Leckwehr** zeigt die Abteilungen (Wasser, Leck, Brand, Gas, geschlossene Schotten, Trupps), die Tabelle der Abteilungen, den Strom und beide Trupps; `↑`/`↓` wählen eine Abteilung, `←`/`→` eine Aufgabe, `Enter` schickt Trupp 1 und `Umschalt+Enter` Trupp 2 mit dieser Aufgabe dorthin, und `I` schließt oder öffnet die Schotten der Abteilung. **Navigation** (Seite und Station) zeigt Kurs und Tiefe, das Wasser unter dem Kiel und ein kartiertes Hindernis voraus, Fahrt, Eigenlärm, Batterie und die aktiven Betriebsarten sowie die Wassersäule unter dem U-Boot: U-Boot-Tiefe, befohlene Tiefe, sichere Tiefe und Grund; die Sprungschicht erscheint dort erst nach einer eigenen BT-Messung (`E` am U-Boot-Sonar). **Waffen** (Seite und Station Waffen) zeigt Feuerbereitschaft, Torpedos, klare (geflutete) Rohre, Nachladen, Täuschkörper, Notanblasen, eine Zeile mit den Rohren, die nicht klar sind (`M` lädt das nächste leere Rohr, `Shift+M` flutet das nächste trockene) und die eigenen Sonarkontakte (Peilung, Entfernung falls bekannt, und Güte in Prozent: der bessere Wert aus Signalgüte und Spurvertrauen, 100 % ist ein sicherer Kontakt). Die **Maschine** zeigt Fahrt, Eigenlärm, Batterie, die Betriebsarten und die Telegrafenstufen; **Mast & ESM** zeigt die Mastzeit, die Rose, die Emitterliste und den gewählten Emitter (Signal, Pegel und Trend, Kreuzpeilung, Einstufung); ihre zweite Seite und die dritte der Führung ist das **Sehrohr** (Okular, Sichtlinie, Licht und die Sichtungsliste; `←`/`→` schwenken, `Enter` Stadimeter). Der **Funkraum** hat eine Seite: Antenne, Rundspruchplan, Fortschritt von Aufnahme und Sendung, die letzte Feindlage der Führung und das Funktagebuch; `Enter` sendet eine Lagemeldung und `P` fährt den Mast aus oder ein. Unten stehen U-Boot-Log und Telemetrie des U-Boots, als Leiste oder Statuszeile wie in den Optionen eingestellt; Befehle, Schüsse und Täuschkörper werden dort protokolliert. | Taste | Funktion | |---|---| diff --git a/docs/manual/manual.en.md b/docs/manual/manual.en.md index 32f7fa06..7eaf7189 100644 --- a/docs/manual/manual.en.md +++ b/docs/manual/manual.en.md @@ -141,7 +141,7 @@ The Bridge conns the frigate: course, speed and position relative to coast, cont ### Displays and instruments -Page 1 (navigation) shows the chart and four panels; page 2 (press `1` again) shows the mission briefing; page 3 is the lookout scope. The chart water darkens with the clock in three steps (day, dusk within an hour of 05:30 and 19:30, night), and rain or a storm hatches the chart with dashed diagonals (a storm adds an amber border); both are display only, as on the browser chart. Options page 2 can anti-alias the chart and plot lines. +The top bar names only the station and the clock; course and speed are in the telemetry band at the bottom, and the chart header shows only its scale (plus "follow" while `K` follows own ship). Page 1 (navigation) shows the chart and four panels; page 2 (press `1` again) shows the mission briefing; page 3 is the lookout scope. The chart water darkens with the clock in three steps (day, dusk within an hour of 05:30 and 19:30, night), and rain or a storm hatches the chart with dashed diagonals (a storm adds an amber border); both are display only, as on the browser chart. Options page 2 can anti-alias the chart and plot lines. ```text +---------------------------+----------------------+ @@ -160,7 +160,7 @@ Page 1 (navigation) shows the chart and four panels; page 2 (press `1` again) sh footer: <- -> course | Up/Down telegraph | U/V direct ``` -- **Course / rudder:** current course, ordered course, rudder angle and turn radius. +- **Course / rudder:** current course, ordered course (`→`), rudder angle in whole degrees and, only while turning, the turn radius. - **Speed / acoustics:** telegraph order, speed, own noise in percent and a CAVITATION warning above 15 kn. - **Tactical picture:** observed threats (a heard torpedo launch transient or HF seeker pulses, a contact sonar classified as torpedo, or an air track flagged as a possible missile), sensor state (radar, TAS), assets (helicopter, buoys) and weather/day-night. - **Chart:** synthetic chart depth and coastline, own ship, tracks published by the other stations. Wheel or `Q`/`E` zoom, drag pans, `K` follows own ship. @@ -233,7 +233,7 @@ The sonar room is the main ASW sensor. It listens passively on the hull-mounted ### Displays and instruments -The station has six pages. `PgUp`/`PgDn` (or `2` again) cycles them. +The station has six pages. `PgUp`/`PgDn` (or `2` again) cycles them. The listening post on the right shows the evidence source and age, the array, the listening bearing and the ping readiness; a towed or variable-depth array that is moving or not yet ready appears on every page in amber with payout, stability and PAUSE when handling is outside its limits. The single key row at the bottom shows the page's four main keys with their values; every other key is listed under F1. On BROADBAND the amber line is the listening bearing and the grey lines the beam limits; dark means quiet, turquoise loud. | Page | Shows | Use it for | |---|---|---| @@ -1125,7 +1125,7 @@ A second crew can play the enemy. The submarine has seven stations: Command, Son Every new game first asks **Which unit do you play?**: *Frigate F-217* or *Hostile submarine* (`Up`/`Down` or `1`/`2`, `Enter`; the last choice is preselected, `--play-sub` preselects the submarine). Outside a mission, Options (`F10`) page 2 **uConsole plays** changes it as well, for example before loading a game. With the submarine the uConsole commands the hostile submarine instead of the frigate. The frigate is then crewed from the browsers through Remote Crew (`F9`); every frigate station no browser holds is crewed by the **AI hunters** (below). The uConsole shows only the submarine's own picture; the frigate's banners, event log, sound cues, plot and tooltips never appear, and its trackball and telegraph controls are disabled. The side can only be changed outside a mission; it lasts for this launch and is never saved, so every launch starts with the frigate. A solo browser (Remote Crew solo mode) chooses the side in the same way: its **New game** dialog has a *Side* field, and with *Submarine* the session takes the submarine's seven stations while the AI hunters crew the frigate. -The top bar shows the submarine's seven stations as tabs: `1` Command, `2` Sonar, `3` Weapons, `4` Engine room, `5` Mast & ESM, `6` Navigation, `7` Radio room (`Tab` or a click on a tab switches). Each order key works only at the station that owns it, as in the browser; elsewhere a banner names the right station. Browsers can crew the submarine's other stations at the same time; a station a browser holds is marked in the top bar and is not operated from the uConsole. Every station but the sonar room is laid out like the Bridge: the chart on the left (known geography, the submarine's own plot, the ESM bearing lines and cross-fixes, the submarine with its ordered course and motion vector, the bearing lines of its own sonar contacts or their symbol while a ping or TMA fix is current, its own torpedoes `T1`…, a limited tube firing arc), the station on the right with a threat bar (torpedo alarm and active sonar heard with measured bearing, hull damage, cavitation, low battery, ESM radar intercept) and the station's page. **Command** has four pages, the **Engine room** four, **Mast & ESM** two and **Navigation** two (the station's key again or `PgUp`/`PgDn`). The Engine room's second page **Stores** shows energy, endurance and air; `R` cycles the charge rate, `A` fits an absorber set and `O` lights an oxygen candle. Its third page **Tanks** shows the cross-section, main ballast and air, the tanks with their orders, weight, trim angle, drift without planes, flooding and pumps; `↑`/`↓` pump out or flood the regulating tank, `←`/`→` move trim water aft or forward and `Z` switches the automatic trim. Its fourth page **Damage** shows the compartments (water, leak, fire, gas, shut bulkheads, teams), the table of compartments, the power and both teams; `↑`/`↓` pick a compartment, `←`/`→` a task, `Enter` sends team 1 and `Shift+Enter` team 2 there with that task, and `I` shuts or opens the compartment's bulkheads. **Navigation** (page and station) shows course and depth, water under the keel and any charted obstacle ahead, speed, own noise, battery and the active modes, and the water column under the submarine: submarine depth, ordered depth, safe depth and seabed; the layer appears there only after the submarine's own BT measurement (`E` at the submarine sonar). **Weapons & contacts** (page and Weapons station) shows fire readiness, torpedoes, tubes ready (flooded), reload, decoys, emergency blow, a line with every tube's state (`M` loads the next empty tube, `Shift+M` floods the next dry one) and the submarine's own sonar contacts (bearing, range where known, and quality in percent: the better of the signal quality and the track confidence, 100 % being a firm contact). The **Engine room** shows speed, own noise, battery, the modes and the telegraph steps; **Mast & ESM** shows the mast time, the rose, the emitter list and the selected emitter (signal, level and trend, cross-fix, classification); its second page and Command's third are the **Periscope** (eyepiece, line of sight, light and the sightings list; `←`/`→` train, `Enter` stadimeter). The **Radio room** has one page: antenna, broadcast schedule, copy and transmit progress, HQ's latest contact report and the radio log; `Enter` sends a situation report and `P` raises or lowers the mast. Below are the submarine log and the submarine's telemetry, as a band or a status ticker as set in the options; orders, shots and decoys are logged there. +The top bar shows the submarine's seven stations as tabs: `1` Command, `2` Sonar, `3` Weapons, `4` Engine room, `5` Mast & ESM, `6` Navigation, `7` Radio room (`Tab` or a click on a tab switches), and on the right the clock. Each order key works only at the station that owns it, as in the browser; elsewhere a banner names the right station. Browsers can crew the submarine's other stations at the same time; a station a browser holds is marked in the top bar and is not operated from the uConsole. Every station but the sonar room is laid out like the Bridge: the chart on the left (known geography, the submarine's own plot, the ESM bearing lines and cross-fixes, the submarine with its ordered course and motion vector, the bearing lines of its own sonar contacts or their symbol while a ping or TMA fix is current, its own torpedoes `T1`…, a limited tube firing arc), the station on the right with a threat bar (torpedo alarm and active sonar heard with measured bearing, hull damage, cavitation, low battery, ESM radar intercept) and the station's page. The threat bar appears only while a threat is current: a heard ping or an ESM intercept fills it for 30 s; after that an amber triangle with the number of standing warnings sits next to the clock and the details stay on the Threat page. **Command** has four pages, the **Engine room** four, **Mast & ESM** two and **Navigation** two (the station's key again or `PgUp`/`PgDn`). The Engine room's second page **Stores** shows energy, endurance and air; `R` cycles the charge rate, `A` fits an absorber set and `O` lights an oxygen candle. Its third page **Tanks** shows the cross-section, main ballast and air, the tanks with their orders, weight, trim angle, drift without planes, flooding and pumps; `↑`/`↓` pump out or flood the regulating tank, `←`/`→` move trim water aft or forward and `Z` switches the automatic trim. Its fourth page **Damage** shows the compartments (water, leak, fire, gas, shut bulkheads, teams), the table of compartments, the power and both teams; `↑`/`↓` pick a compartment, `←`/`→` a task, `Enter` sends team 1 and `Shift+Enter` team 2 there with that task, and `I` shuts or opens the compartment's bulkheads. **Navigation** (page and station) shows course and depth, water under the keel and any charted obstacle ahead, speed, own noise, battery and the active modes, and the water column under the submarine: submarine depth, ordered depth, safe depth and seabed; the layer appears there only after the submarine's own BT measurement (`E` at the submarine sonar). **Weapons** (page and Weapons station) shows fire readiness, torpedoes, tubes ready (flooded), reload, decoys, emergency blow, a line with the tubes that are not ready (`M` loads the next empty tube, `Shift+M` floods the next dry one) and the submarine's own sonar contacts (bearing, range where known, and quality in percent: the better of the signal quality and the track confidence, 100 % being a firm contact). The **Engine room** shows speed, own noise, battery, the modes and the telegraph steps; **Mast & ESM** shows the mast time, the rose, the emitter list and the selected emitter (signal, level and trend, cross-fix, classification); its second page and Command's third are the **Periscope** (eyepiece, line of sight, light and the sightings list; `←`/`→` train, `Enter` stadimeter). The **Radio room** has one page: antenna, broadcast schedule, copy and transmit progress, HQ's latest contact report and the radio log; `Enter` sends a situation report and `P` raises or lowers the mast. Below are the submarine log and the submarine's telemetry, as a band or a status ticker as set in the options; orders, shots and decoys are logged there. | Key | Action | |---|---| diff --git a/docs/manual/manual.en.pdf b/docs/manual/manual.en.pdf index e5d44949..b3febd75 100644 Binary files a/docs/manual/manual.en.pdf and b/docs/manual/manual.en.pdf differ diff --git a/docs/resume.md b/docs/resume.md index e8398d63..a2c85301 100644 --- a/docs/resume.md +++ b/docs/resume.md @@ -1106,7 +1106,7 @@ Analyse lief auf dem Zielgeraet (CM5, 16 GB) mit dem neuen Lasttest. `commander_max_ms`, `events_ms`, `traffic_ms`; Server `audio_stream_stats()` (uebersprungene Bloecke, Sendetimeouts, Diskontinuitaeten, Verbindungen); Browser `droppedBlocks`/`evictedBlocks`. -- 1.3.35: `queue_stranded` (pygame-Race: `endsound_callback` liest die Queue +- 1.3.36: `queue_stranded` (pygame-Race: `endsound_callback` liest die Queue ohne GIL, ein `queue()` im Fenster bleibt auf dem leeren Kanal haengen; die Pumpe spielt den Block nach zwei Iterationen selbst ab) und `worker_restarts` (toter Sonar-Worker wird von `play_sonar` neu gestartet). diff --git a/docs/screenshots/damage-control-alert.png b/docs/screenshots/damage-control-alert.png index 9696cb5c..52294928 100644 Binary files a/docs/screenshots/damage-control-alert.png and b/docs/screenshots/damage-control-alert.png differ diff --git a/docs/screenshots/de-damage-control-alert.png b/docs/screenshots/de-damage-control-alert.png index 7906333e..cf20dd4d 100644 Binary files a/docs/screenshots/de-damage-control-alert.png and b/docs/screenshots/de-damage-control-alert.png differ diff --git a/docs/screenshots/de-main-menu.png b/docs/screenshots/de-main-menu.png index 77263de8..cd2711bf 100644 Binary files a/docs/screenshots/de-main-menu.png and b/docs/screenshots/de-main-menu.png differ diff --git a/docs/screenshots/de-mission-briefing.png b/docs/screenshots/de-mission-briefing.png index db253613..12604014 100644 Binary files a/docs/screenshots/de-mission-briefing.png and b/docs/screenshots/de-mission-briefing.png differ diff --git a/docs/screenshots/de-mission-scenario-selection.png b/docs/screenshots/de-mission-scenario-selection.png index b3916f05..d6ba2b60 100644 Binary files a/docs/screenshots/de-mission-scenario-selection.png and b/docs/screenshots/de-mission-scenario-selection.png differ diff --git a/docs/screenshots/de-options.png b/docs/screenshots/de-options.png index f94709da..e7d2aba5 100644 Binary files a/docs/screenshots/de-options.png and b/docs/screenshots/de-options.png differ diff --git a/docs/screenshots/de-sonar-active.png b/docs/screenshots/de-sonar-active.png index 54d89fd8..49a881a3 100644 Binary files a/docs/screenshots/de-sonar-active.png and b/docs/screenshots/de-sonar-active.png differ diff --git a/docs/screenshots/de-sonar-broadband.png b/docs/screenshots/de-sonar-broadband.png index 3328abc1..9fb6c5a7 100644 Binary files a/docs/screenshots/de-sonar-broadband.png and b/docs/screenshots/de-sonar-broadband.png differ diff --git a/docs/screenshots/de-sonar-demon.png b/docs/screenshots/de-sonar-demon.png index 101ebcee..adeb3fdf 100644 Binary files a/docs/screenshots/de-sonar-demon.png and b/docs/screenshots/de-sonar-demon.png differ diff --git a/docs/screenshots/de-sonar-environment-fusion.png b/docs/screenshots/de-sonar-environment-fusion.png index 74c1d92c..d76fdea8 100644 Binary files a/docs/screenshots/de-sonar-environment-fusion.png and b/docs/screenshots/de-sonar-environment-fusion.png differ diff --git a/docs/screenshots/de-sonar-lofar.png b/docs/screenshots/de-sonar-lofar.png index ed237669..df216241 100644 Binary files a/docs/screenshots/de-sonar-lofar.png and b/docs/screenshots/de-sonar-lofar.png differ diff --git a/docs/screenshots/de-sonar-tma.png b/docs/screenshots/de-sonar-tma.png index 37331487..745b19e8 100644 Binary files a/docs/screenshots/de-sonar-tma.png and b/docs/screenshots/de-sonar-tma.png differ diff --git a/docs/screenshots/de-station-bridge.png b/docs/screenshots/de-station-bridge.png index adfa276b..ce8abdf6 100644 Binary files a/docs/screenshots/de-station-bridge.png and b/docs/screenshots/de-station-bridge.png differ diff --git a/docs/screenshots/de-station-damage-control.png b/docs/screenshots/de-station-damage-control.png index 8ec77d16..ab6b5162 100644 Binary files a/docs/screenshots/de-station-damage-control.png and b/docs/screenshots/de-station-damage-control.png differ diff --git a/docs/screenshots/de-station-eloka.png b/docs/screenshots/de-station-eloka.png index 9853c26b..9e3e6bad 100644 Binary files a/docs/screenshots/de-station-eloka.png and b/docs/screenshots/de-station-eloka.png differ diff --git a/docs/screenshots/de-station-engineering.png b/docs/screenshots/de-station-engineering.png index 99fefb7d..b5f2185d 100644 Binary files a/docs/screenshots/de-station-engineering.png and b/docs/screenshots/de-station-engineering.png differ diff --git a/docs/screenshots/de-station-helicopter.png b/docs/screenshots/de-station-helicopter.png index d8880f0c..b672b8de 100644 Binary files a/docs/screenshots/de-station-helicopter.png and b/docs/screenshots/de-station-helicopter.png differ diff --git a/docs/screenshots/de-station-opz-cic.png b/docs/screenshots/de-station-opz-cic.png index f6846d1d..0db724d5 100644 Binary files a/docs/screenshots/de-station-opz-cic.png and b/docs/screenshots/de-station-opz-cic.png differ diff --git a/docs/screenshots/de-station-radio.png b/docs/screenshots/de-station-radio.png index e32ddf39..ce63d63b 100644 Binary files a/docs/screenshots/de-station-radio.png and b/docs/screenshots/de-station-radio.png differ diff --git a/docs/screenshots/de-station-sonar.png b/docs/screenshots/de-station-sonar.png index ed237669..df216241 100644 Binary files a/docs/screenshots/de-station-sonar.png and b/docs/screenshots/de-station-sonar.png differ diff --git a/docs/screenshots/de-station-weapons.png b/docs/screenshots/de-station-weapons.png index d6623e10..37fdca57 100644 Binary files a/docs/screenshots/de-station-weapons.png and b/docs/screenshots/de-station-weapons.png differ diff --git a/docs/screenshots/de-stations-overview-1.png b/docs/screenshots/de-stations-overview-1.png index 24446df8..c5a90ce5 100644 Binary files a/docs/screenshots/de-stations-overview-1.png and b/docs/screenshots/de-stations-overview-1.png differ diff --git a/docs/screenshots/de-stations-overview-2.png b/docs/screenshots/de-stations-overview-2.png index f425c68e..d114ad6a 100644 Binary files a/docs/screenshots/de-stations-overview-2.png and b/docs/screenshots/de-stations-overview-2.png differ diff --git a/docs/screenshots/de-stations-overview-3.png b/docs/screenshots/de-stations-overview-3.png index 9853c26b..9e3e6bad 100644 Binary files a/docs/screenshots/de-stations-overview-3.png and b/docs/screenshots/de-stations-overview-3.png differ diff --git a/docs/screenshots/de-uboot-command.png b/docs/screenshots/de-uboot-command.png index 65a05216..9402e9f2 100644 Binary files a/docs/screenshots/de-uboot-command.png and b/docs/screenshots/de-uboot-command.png differ diff --git a/docs/screenshots/de-uboot-engine.png b/docs/screenshots/de-uboot-engine.png index ad5786c9..3ecfc0f5 100644 Binary files a/docs/screenshots/de-uboot-engine.png and b/docs/screenshots/de-uboot-engine.png differ diff --git a/docs/screenshots/de-uboot-mast-esm.png b/docs/screenshots/de-uboot-mast-esm.png index 7db0e245..9e52359c 100644 Binary files a/docs/screenshots/de-uboot-mast-esm.png and b/docs/screenshots/de-uboot-mast-esm.png differ diff --git a/docs/screenshots/de-uboot-navigation.png b/docs/screenshots/de-uboot-navigation.png index ea18b465..3dd5a9e4 100644 Binary files a/docs/screenshots/de-uboot-navigation.png and b/docs/screenshots/de-uboot-navigation.png differ diff --git a/docs/screenshots/de-uboot-overview.png b/docs/screenshots/de-uboot-overview.png index 01b08722..85d378e7 100644 Binary files a/docs/screenshots/de-uboot-overview.png and b/docs/screenshots/de-uboot-overview.png differ diff --git a/docs/screenshots/de-uboot-radio.png b/docs/screenshots/de-uboot-radio.png index 2a1070a1..8fd4aad2 100644 Binary files a/docs/screenshots/de-uboot-radio.png and b/docs/screenshots/de-uboot-radio.png differ diff --git a/docs/screenshots/de-uboot-sonar.png b/docs/screenshots/de-uboot-sonar.png index e264a27b..6b667e2e 100644 Binary files a/docs/screenshots/de-uboot-sonar.png and b/docs/screenshots/de-uboot-sonar.png differ diff --git a/docs/screenshots/de-uboot-weapons.png b/docs/screenshots/de-uboot-weapons.png index 13b82150..921c9cb8 100644 Binary files a/docs/screenshots/de-uboot-weapons.png and b/docs/screenshots/de-uboot-weapons.png differ diff --git a/docs/screenshots/main-menu.png b/docs/screenshots/main-menu.png index 4d03976d..3841b0bf 100644 Binary files a/docs/screenshots/main-menu.png and b/docs/screenshots/main-menu.png differ diff --git a/docs/screenshots/mission-briefing.png b/docs/screenshots/mission-briefing.png index a324bb8c..e49077fd 100644 Binary files a/docs/screenshots/mission-briefing.png and b/docs/screenshots/mission-briefing.png differ diff --git a/docs/screenshots/mission-scenario-selection.png b/docs/screenshots/mission-scenario-selection.png index 04392e1f..670d7733 100644 Binary files a/docs/screenshots/mission-scenario-selection.png and b/docs/screenshots/mission-scenario-selection.png differ diff --git a/docs/screenshots/options.png b/docs/screenshots/options.png index 7e332e5e..2229de83 100644 Binary files a/docs/screenshots/options.png and b/docs/screenshots/options.png differ diff --git a/docs/screenshots/sonar-active.png b/docs/screenshots/sonar-active.png index 5a1466e0..9d046d9c 100644 Binary files a/docs/screenshots/sonar-active.png and b/docs/screenshots/sonar-active.png differ diff --git a/docs/screenshots/sonar-broadband.png b/docs/screenshots/sonar-broadband.png index 6f21f0aa..40bfa19a 100644 Binary files a/docs/screenshots/sonar-broadband.png and b/docs/screenshots/sonar-broadband.png differ diff --git a/docs/screenshots/sonar-demon.png b/docs/screenshots/sonar-demon.png index b3af7b7e..eb613cc7 100644 Binary files a/docs/screenshots/sonar-demon.png and b/docs/screenshots/sonar-demon.png differ diff --git a/docs/screenshots/sonar-environment-fusion.png b/docs/screenshots/sonar-environment-fusion.png index 53d328fc..86781dfa 100644 Binary files a/docs/screenshots/sonar-environment-fusion.png and b/docs/screenshots/sonar-environment-fusion.png differ diff --git a/docs/screenshots/sonar-lofar.png b/docs/screenshots/sonar-lofar.png index 56fa5b15..262fde7c 100644 Binary files a/docs/screenshots/sonar-lofar.png and b/docs/screenshots/sonar-lofar.png differ diff --git a/docs/screenshots/sonar-tma.png b/docs/screenshots/sonar-tma.png index 59114924..c10a1aa5 100644 Binary files a/docs/screenshots/sonar-tma.png and b/docs/screenshots/sonar-tma.png differ diff --git a/docs/screenshots/station-bridge.png b/docs/screenshots/station-bridge.png index 0afb81fd..4f68b7c8 100644 Binary files a/docs/screenshots/station-bridge.png and b/docs/screenshots/station-bridge.png differ diff --git a/docs/screenshots/station-damage-control.png b/docs/screenshots/station-damage-control.png index c31c10cc..99e095a5 100644 Binary files a/docs/screenshots/station-damage-control.png and b/docs/screenshots/station-damage-control.png differ diff --git a/docs/screenshots/station-eloka.png b/docs/screenshots/station-eloka.png index b8ae0a78..7a300f28 100644 Binary files a/docs/screenshots/station-eloka.png and b/docs/screenshots/station-eloka.png differ diff --git a/docs/screenshots/station-engineering.png b/docs/screenshots/station-engineering.png index cd4c18b6..949b31e7 100644 Binary files a/docs/screenshots/station-engineering.png and b/docs/screenshots/station-engineering.png differ diff --git a/docs/screenshots/station-helicopter.png b/docs/screenshots/station-helicopter.png index 07e61c45..79e5517a 100644 Binary files a/docs/screenshots/station-helicopter.png and b/docs/screenshots/station-helicopter.png differ diff --git a/docs/screenshots/station-opz-cic.png b/docs/screenshots/station-opz-cic.png index 98338cdf..1c76aad2 100644 Binary files a/docs/screenshots/station-opz-cic.png and b/docs/screenshots/station-opz-cic.png differ diff --git a/docs/screenshots/station-radio.png b/docs/screenshots/station-radio.png index c6f26206..24755cd0 100644 Binary files a/docs/screenshots/station-radio.png and b/docs/screenshots/station-radio.png differ diff --git a/docs/screenshots/station-sonar.png b/docs/screenshots/station-sonar.png index 56fa5b15..262fde7c 100644 Binary files a/docs/screenshots/station-sonar.png and b/docs/screenshots/station-sonar.png differ diff --git a/docs/screenshots/station-weapons.png b/docs/screenshots/station-weapons.png index 791d6618..a4a05a93 100644 Binary files a/docs/screenshots/station-weapons.png and b/docs/screenshots/station-weapons.png differ diff --git a/docs/screenshots/stations-overview-1.png b/docs/screenshots/stations-overview-1.png index 92cbf8ea..48ec5424 100644 Binary files a/docs/screenshots/stations-overview-1.png and b/docs/screenshots/stations-overview-1.png differ diff --git a/docs/screenshots/stations-overview-2.png b/docs/screenshots/stations-overview-2.png index ad907df2..5a5cea17 100644 Binary files a/docs/screenshots/stations-overview-2.png and b/docs/screenshots/stations-overview-2.png differ diff --git a/docs/screenshots/stations-overview-3.png b/docs/screenshots/stations-overview-3.png index b8ae0a78..7a300f28 100644 Binary files a/docs/screenshots/stations-overview-3.png and b/docs/screenshots/stations-overview-3.png differ diff --git a/docs/screenshots/uboot-command.png b/docs/screenshots/uboot-command.png index baba711b..6d9ac246 100644 Binary files a/docs/screenshots/uboot-command.png and b/docs/screenshots/uboot-command.png differ diff --git a/docs/screenshots/uboot-engine.png b/docs/screenshots/uboot-engine.png index f64a5610..79bafba4 100644 Binary files a/docs/screenshots/uboot-engine.png and b/docs/screenshots/uboot-engine.png differ diff --git a/docs/screenshots/uboot-mast-esm.png b/docs/screenshots/uboot-mast-esm.png index 2ad6e8c7..e296fece 100644 Binary files a/docs/screenshots/uboot-mast-esm.png and b/docs/screenshots/uboot-mast-esm.png differ diff --git a/docs/screenshots/uboot-navigation.png b/docs/screenshots/uboot-navigation.png index 9bcc2945..031627fa 100644 Binary files a/docs/screenshots/uboot-navigation.png and b/docs/screenshots/uboot-navigation.png differ diff --git a/docs/screenshots/uboot-overview.png b/docs/screenshots/uboot-overview.png index 3c47c36f..ac4d2b3d 100644 Binary files a/docs/screenshots/uboot-overview.png and b/docs/screenshots/uboot-overview.png differ diff --git a/docs/screenshots/uboot-radio.png b/docs/screenshots/uboot-radio.png index 777d54f8..b1e4c59a 100644 Binary files a/docs/screenshots/uboot-radio.png and b/docs/screenshots/uboot-radio.png differ diff --git a/docs/screenshots/uboot-sonar.png b/docs/screenshots/uboot-sonar.png index 330327a2..5a37d4ae 100644 Binary files a/docs/screenshots/uboot-sonar.png and b/docs/screenshots/uboot-sonar.png differ diff --git a/docs/screenshots/uboot-weapons.png b/docs/screenshots/uboot-weapons.png index 4d6105cb..eef244df 100644 Binary files a/docs/screenshots/uboot-weapons.png and b/docs/screenshots/uboot-weapons.png differ diff --git a/docs/station-shortcuts.de.md b/docs/station-shortcuts.de.md index c2117739..1d2f0901 100644 --- a/docs/station-shortcuts.de.md +++ b/docs/station-shortcuts.de.md @@ -1,4 +1,4 @@ -# U-Jagd 1.3.33 - Stations- und Tastenkürzel +# U-Jagd 1.3.35 - Stations- und Tastenkürzel Druckfassung: [`station-shortcuts.de.pdf`](station-shortcuts.de.pdf). Maßgeblich ist die implementierte lokale Bedienung. Stationsnummern und diff --git a/docs/station-shortcuts.de.pdf b/docs/station-shortcuts.de.pdf index 461bb1df..11197754 100644 Binary files a/docs/station-shortcuts.de.pdf and b/docs/station-shortcuts.de.pdf differ diff --git a/src/core/game_draw.py b/src/core/game_draw.py index ac0172fe..1eea1eda 100644 --- a/src/core/game_draw.py +++ b/src/core/game_draw.py @@ -465,10 +465,10 @@ class DrawMixin: (0, config.TOP_BAR_H - 1), (config.SCREEN_W, config.TOP_BAR_H - 1), 1) station = display_value("station", self.station.name, self.tr).upper() - scenario = self.top_bar_scenario() - txt = self.tr("top.status", station=station, scenario=scenario, - time=self.world.format_time(), speed=f"{self.ship.speed:4.1f}", - course=f"{self.ship.course:4.0f}") + # Speed and course live in the telemetry band; the bar names only + # the station and the clock. + txt = self.tr("top.status", station=station, + time=self.world.format_time()) layout.blit_line(s, txt, (10, 4, config.SCREEN_W - 20, config.TOP_BAR_H - 8), config.COLOR_TEXT, size=18) diff --git a/src/core/version.py b/src/core/version.py index 31c11242..681d0d3a 100644 --- a/src/core/version.py +++ b/src/core/version.py @@ -4,7 +4,7 @@ This module is deliberately dependency-free because setuptools imports the version while building the project. """ -APP_VERSION = "1.3.35" +APP_VERSION = "1.3.36" SAVE_VERSION = 27 SAVE_SCHEMA = "u-jagd-save-v27" SPLASH_TEXT = ( diff --git a/src/ui/map_view.py b/src/ui/map_view.py index 89b96750..4740efcb 100644 --- a/src/ui/map_view.py +++ b/src/ui/map_view.py @@ -628,18 +628,13 @@ def draw_weather_band(game, r) -> None: def draw_chart_frame(game, view, r, following: bool) -> None: - """Chart border and the region / zoom / follow line.""" + """Chart border and the scale / follow line.""" s = game.screen - coast = game.world.coast pygame.draw.rect(s, config.COLOR_GEO_GRID, r, 1) - # Zoom-Stufenanzeige + # Only the scale (and follow while on); the sector name is in the briefing. zoom_nm = r[3] / view.scale - follow = structured_message("common.on" if following else "common.off") - metadata = getattr(coast, "metadata", None) or {} - region = metadata.get("name") - prefix = region if region else getattr(game, "world_mode", "fixed").upper() layout.blit_line( - s, structured_message("map.line.footer", region=prefix, - zoom=f"{zoom_nm:3.0f}", follow=follow), + s, structured_message("map.line.scale_follow" if following else "map.line.scale", + zoom=f"{zoom_nm:.0f}"), (r[0] + 4, r[1] + 4, r[2] - 8, 20), config.COLOR_TEXT_DIM, size=13) diff --git a/src/ui/sonar_view.py b/src/ui/sonar_view.py index e5e1c440..c49b140f 100644 --- a/src/ui/sonar_view.py +++ b/src/ui/sonar_view.py @@ -9,7 +9,7 @@ import pygame from src.core import config from src.core.i18n import (display_message, display_value, localized, localize, - message as structured_message, short_candidates) + message as structured_message) from src.sonar import analysis_tools, tma_operator from src.ui import layout from src.ui import observations @@ -60,8 +60,8 @@ def _panels(game, page): # Tightened top/bottom margins (was +73/-124): the larger operational # font floor needs a few extra px in `details` so worst-case content # (e.g. a fully evidenced TMA solution) never clips. - body = pygame.Rect(station.x + 12, station.y + 69, - station.w - 24, station.h - 111) + body = pygame.Rect(station.x + 12, station.y + 43, + station.w - 24, station.h - 68) rail_w = min(350, max(240, round(body.w * .28))) main = pygame.Rect(body.x, body.y, body.w - rail_w - 12, body.h) rail = pygame.Rect(main.right + 12, body.y, rail_w, body.h) @@ -121,6 +121,19 @@ def _list_rows(game, rect, page): for index, item in enumerate(rows)], total +def _array_readout(game): + """Array in use; a towed/variable-depth array adds its state until ready.""" + sonar = game.sonar + mode = getattr(game, "sonar_mode", "BOW") + name = display_value("array", mode) + status = (_vds_status(sonar) if mode == "VDS" else None) or ( + _tow_status(sonar, getattr(_sonar_observer(game), "speed", 0.0)) + if mode != "BOW" else None) + if status is None or status["available"]: + return name + return f"{name} {status['payout_percent']:.0f}%" + + def sonar_geometry(game, page=None): """Return the canonical rectangles used by both sonar draw and hit paths.""" layout.configure_for(game) @@ -131,53 +144,50 @@ def sonar_geometry(game, page=None): tabs = [pygame.Rect(tab_x + i * tab_w, station.y + 9, tab_w - 5, 27) for i in range(len(PAGES))] main, details, contacts = _panels(game, page) - footer_specs = ( - (("PAGEUP/DN", "sonar.footer.page", "", display_value("sonar_page", PAGES[page])), - ("SHIFT+B", "sonar.footer.array", "", display_value("array", getattr(game, "sonar_mode", "BOW"))), - ("I/O", "sonar.footer.gain", "", f"{getattr(game.sonar, 'gain_db', 0):+.0f} dB"), - ("F/D", "sonar.footer.band_filter", "", f"{getattr(game.sonar, 'band_low_hz', 0):.0f}-{getattr(game.sonar, 'band_high_hz', 300):.0f} Hz")), - (("K", "sonar.footer.harmonic", "", (f"{_selected_harmonic(game):.1f} Hz" - if _selected_harmonic(game) is not None - else localize("ui.off"))), - ("N", "sonar.footer.notch", "", localize("ui.on" if getattr(game.sonar, "notch_enabled", False) else "ui.off")), - ("SPACE", "sonar.footer.peak", "", localize("ui.on" if getattr(game.sonar, "peak_hold", False) else "ui.off")), - ("J", "sonar.footer.audio", "", localize("ui.on" if getattr(game, "sonar_audio_enabled", False) else "ui.off"))), - ) - actions = (("page", "array", "gain", "band_filter"), - ("harmonic", "notch", "peak", "audio")) + sonar = game.sonar + on_off = lambda flag: localize("ui.on" if flag else "ui.off") + array = ("SHIFT+B", "sonar.footer.array", "", _array_readout(game)) + gain = ("I/O", "sonar.footer.gain", "", f"{getattr(sonar, 'gain_db', 0):+.0f} dB") + band = ("F/D", "sonar.footer.band_filter", "", + f"{getattr(sonar, 'band_low_hz', 0):.0f}-{getattr(sonar, 'band_high_hz', 300):.0f} Hz") + notch = ("N", "sonar.footer.notch", "", on_off(getattr(sonar, "notch_enabled", False))) + audio = ("J", "sonar.footer.audio", "", on_off(getattr(game, "sonar_audio_enabled", False))) + # One row of at most four main keys per page; the rest lives in F1. + specs = ((array, "array"), (gain, "gain"), + (("SPACE", "sonar.footer.peak", "", on_off(getattr(sonar, "peak_hold", False))), "peak"), + (audio, "audio")) tools = getattr(game, "sonar_tools", None) if page in (1, 2) and tools is not None: # Analysis pages: the operator's cursor tools replace peak/audio. cursor = tools.lofar_cursor_hz if page == 1 else tools.demon_cursor_hz + harmonic = _selected_harmonic(game) mark = (structured_message("sonar.footer.demon_marks", shaft="--" if tools.shaft_hz is None else f"{tools.shaft_hz:.1f}", blade="--" if tools.blade_hz is None else f"{tools.blade_hz:.1f}") - if page == 2 else footer_specs[1][0][3]) - footer_specs = (footer_specs[0], ( - ("K", "sonar.footer.mark", "", mark), - ("Z/X", "sonar.footer.cursor", "", f"{cursor:.1f} Hz"), - ("Q", "sonar.footer.integration", "", f"{tools.integration_s} s"), - footer_specs[1][1])) - actions = (actions[0], ("harmonic", "cursor", "integration", "notch")) + if page == 2 else + f"{harmonic:.1f} Hz" if harmonic is not None else localize("ui.off")) + specs = ((("K", "sonar.footer.mark", "", mark), "harmonic"), + (("Z/X", "sonar.footer.cursor", "", f"{cursor:.1f} Hz"), "cursor"), + (("Q", "sonar.footer.integration", "", f"{tools.integration_s} s"), "integration"), + (band, "band_filter") if page == 1 else (gain, "gain")) + elif page in (1, 4): + specs = ((array, "array"), (gain, "gain"), (band, "band_filter"), (notch, "notch")) contact = getattr(game, "selected_contact", None) if page == 3 and contact is not None and hasattr(game, "tma_hypothesis"): hypothesis = game.tma_hypothesis(contact) evaluation = game.tma_evaluation(contact) - footer_specs = (footer_specs[0], ( - ("K", "sonar.footer.tma_accept", "", - "--" if evaluation is None else f"{evaluation['fit']:.0%}"), - ("Z/X", "sonar.footer.tma_course", "", f"{hypothesis.course:05.1f}\u00b0"), - ("^Z/^X", "sonar.footer.tma_speed", "", f"{hypothesis.speed_kn:.1f} kn"), - ("Q", "sonar.footer.tma_range", "", f"{hypothesis.range_nm:.1f} NM"))) - actions = (actions[0], ("tma_accept", "cursor", "cursor", "cursor")) + specs = ( + (("K", "sonar.footer.tma_accept", "", + "--" if evaluation is None else f"{evaluation['fit']:.0%}"), "tma_accept"), + (("Z/X", "sonar.footer.tma_course", "", f"{hypothesis.course:05.1f}\u00b0"), "cursor"), + (("^Z/^X", "sonar.footer.tma_speed", "", f"{hypothesis.speed_kn:.1f} kn"), "cursor"), + (("Q", "sonar.footer.tma_range", "", f"{hypothesis.range_nm:.1f} NM"), "cursor")) footer = [] - for row, specs in enumerate(footer_specs): - width = (station.w - 28) // len(specs) - for index, (spec, action) in enumerate(zip(specs, actions[row])): - rect = pygame.Rect(station.x + 14 + index * width, - station.bottom - 42 + row * 21, - width - 6, 19) - footer.append(dict(rect=rect, action=action, text=spec, safe=True)) + width = (station.w - 28) // len(specs) + for index, (spec, action) in enumerate(specs): + rect = pygame.Rect(station.x + 14 + index * width, + station.bottom - 22, width - 6, 19) + footer.append(dict(rect=rect, action=action, text=spec, safe=True)) return dict(station=station, tabs=tabs, main=main, details=details, contacts=contacts, footer=footer) @@ -848,7 +858,7 @@ def _draw_active(game, panel, tr=None): readiness = translate("ui.ready") if ready else f"{remaining:.0f}s" _text(screen, message("sonar.line.ping_history", ping=translate('PING'), readiness=readiness, count=len(echoes), - window=translate('sonar.echo_window'), fade=translate('sonar.echo_fade')), + window=translate('sonar.echo_window')), (panel.x + 16, panel.y + 36, panel.w - 32, 20), CYAN if ready else AMBER, 13) @@ -955,8 +965,6 @@ def _draw_waterfall(game, panel, page): lx = plot.x + round(value / 360 * (plot.w - 1)) pygame.draw.line(screen, (139, 91, 71), (lx, plot.y), (lx, plot.bottom - 1), 1) - _text(screen, "sonar.intensity", - (plot.x, plot.bottom + 24, plot.w - 160, 18), DIM, 12) else: spectrum_rect = pygame.Rect(plot.x, panel.y + 56, plot.w, 42) pygame.draw.rect(screen, NAVY, spectrum_rect) @@ -1265,8 +1273,6 @@ def _draw_tma(game, panel): track = getattr(game.sonar, "_tracks", {}).get(getattr(contact, "target_id", None)) points = getattr(track, "pts", []) _text(screen, "sonar.tma_title", (panel.x + 16, panel.y + 10, panel.w - 32, 24), CYAN, 16) - _text(screen, "sonar.tma_caption", - (panel.x + 16, panel.y + 37, panel.w - 32, 20), DIM, 12) plot, times, bearings, xy = _tma_plot(panel, points) pygame.draw.rect(screen, NAVY, plot) summary = tma_observation_summary( @@ -1289,7 +1295,7 @@ def _draw_tma(game, panel): method = getattr(game, "tma_method", "hypothesis") _text(screen, message("sonar.tma_method_line", method=display_message("tma_method", method)), - (panel.x + 16, panel.y + 37, panel.w - 32, 20), AMBER, 12, "right") + (panel.x + 16, panel.y + 37, panel.w - 32, 20), AMBER, 12) if len(points): with layout.clip_to(screen, plot): if len(xy) > 1: @@ -1545,6 +1551,10 @@ def _detail_rows(game, page): "array", getattr(game, "sonar_mode", "BOW")), state=localize( "sonar.track" if getattr(sonar, "focus_locked", False) else "ui.manual")), DIM), )) + array_state = _array_state_line(game) + if array_state is not None: + # Replaces the former header chip: shown on every page while it matters. + rows.append((array_state, AMBER, 12)) tools = getattr(game, "sonar_tools", None) assist = bool(getattr(game, "operator_assist", lambda: True)()) if page in (1, 2) and tools is not None: @@ -1576,8 +1586,6 @@ def _detail_rows(game, page): deviation=f"{deviation:+.2f}", rpm=f"{rpm:.0f}")) elif tools.shaft_hz is not None: lines.append(message("sonar.line.shaft_rpm", rpm=f"{tools.shaft_hz * 60:.0f}")) - else: - lines.append("sonar.demon_manual_hint") lines.append("sonar.catalog_manual_hint") rows.extend((line, TEXT, 13) for line in lines) return rows @@ -1664,8 +1672,7 @@ def _detail_rows(game, page): echoes = active_echoes(sonar, getattr(game, "sim_t", 0.0)) newest = echoes[-1] if echoes else None lines = [message("sonar.line.echo_history", count=len(echoes), maximum=getattr(config, 'SONAR_ECHO_HISTORY_MAX', 80)), - message("sonar.line.time_window", seconds=f"{ACTIVE_HISTORY_WINDOW_S:.0f}"), - "sonar.sigma_legend"] + message("sonar.line.time_window", seconds=f"{ACTIVE_HISTORY_WINDOW_S:.0f}")] if newest is not None: depth = newest.get("depth_m") depth_sigma = newest.get("depth_sigma_m") @@ -1682,8 +1689,10 @@ def _detail_rows(game, page): return rows bearing = getattr(sonar, "listen_bearing", 0.0) % 360 rows.append((message("sonar.line.bearing_value", bearing=f"{bearing:05.1f}"), TEXT, 27)) - lines = [message("sonar.line.beam", width=f"{getattr(sonar, 'beam_width_deg', 12):.1f}", - mode=localize("sonar.track" if getattr(sonar, "focus_locked", False) else "ui.manual"))] + # LOFAR shows the beam width in its own beam/filter line. + lines = [] if page == 1 else [message( + "sonar.line.beam", width=f"{getattr(sonar, 'beam_width_deg', 12):.1f}", + mode=localize("sonar.track" if getattr(sonar, "focus_locked", False) else "ui.manual"))] if page == 3: quality = getattr(contact, "tma_quality", 0.0) course, speed = getattr(contact, "tma_course", None), getattr(contact, "tma_speed", None) @@ -1700,7 +1709,7 @@ def _detail_rows(game, page): message("sonar.line.tma_motion", course=f"{course % 360:05.1f}" if course is not None else "--", speed=f"{speed:.1f}" if speed is not None else "--"), - "sonar.depth_not_tma"] + ] closing_kn = tma_closing_rate_kn( _sonar_observer(game), getattr(contact, "bearing", 0.0), course, speed) lines.append(message( @@ -1739,23 +1748,43 @@ def _detail_rows(game, page): lines += [message("sonar.line.received_peaks", peaks=peak_text)] elif assist: lines += ["sonar.no_stable_lines"] - else: - lines += ["sonar.lofar_manual_hint"] + # Cursor keys are in the key row; notes about identification in F1. base = _selected_harmonic(game) if base is not None: lines += [message("sonar.line.harmonics", fundamental=f"{base:.1f}", second=f"{base * 2:.1f}", third=f"{base * 3:.1f}")] - else: - lines += ["sonar.harmonic_not_selected"] - lines += ["sonar.lines_not_identification"] else: - lines += ["sonar.passive_360", "sonar.noise_visible", - "sonar.listen_legend", "sonar.beam_legend", - "sonar.class_operator_input"] + # Legends and interpretation notes live in F1, not on the scope. + lines.append(_ping_line(game)) rows.extend((line, DIM, 13) for line in lines) return rows +def _array_state_line(game): + """Towed or variable-depth array while it is moving or not yet ready.""" + sonar = game.sonar + speed = getattr(_sonar_observer(game), "speed", 0.0) + for name, status in (("VDS", _vds_status(sonar)), ("TAS", _tow_status(sonar, speed))): + if status is None or status["state"] == "STOWED" or status["available"]: + continue + pause = (" " + localize(message("ui.pause")) + if not status["handling_ok"] and status["state"] in ( + "DEPLOYING", "RETRIEVING") else "") + return message("sonar.line.array_state", array=name, + state=display_message("tow", status["state"]), + payout=f"{status['payout_percent']:.0f}", + stability=f"{status['performance']:.0%}", pause=pause) + return None + + +def _ping_line(game): + sonar = game.sonar + return (message("sonar.ping_echo") if getattr(sonar, "ping_active", False) else + message("sonar.ping_ready") if getattr(sonar, "ping_ready", True) else + message("sonar.ping_cooldown", seconds= + f"{getattr(sonar, 'ping_cooldown_remaining', 0):.0f}")) + + def _draw_details(game, rect, page): rows = _detail_rows(game, page) reduction = 0 @@ -1853,7 +1882,6 @@ def draw_sonar_view(game, tr=None) -> None: page = int(getattr(game, "sonar_page", 0)) % len(PAGES) geometry = sonar_geometry(game, page) station = geometry["station"] - sonar = game.sonar with layout.clip_to(screen, station): screen.fill(NAVY, station) pygame.draw.line(screen, CYAN, station.topleft, (station.right - 1, station.y), 2) @@ -1868,67 +1896,6 @@ def draw_sonar_view(game, tr=None) -> None: _text(screen, display_value("sonar_page", name, translate), tab.move(6, 3).inflate(-12, 0), CYAN if i == page else DIM, 14) - mode = getattr(game, 'sonar_mode', 'BOW') - tow = _tow_status(sonar, getattr(_sonar_observer(game), "speed", 0.0)) - if mode == "VDS" and _vds_status(sonar) is not None: - # The chip reports the deployable array in use. - tow = _vds_status(sonar) - tow_pause = (" " + localize(message("ui.pause")) - if not tow["handling_ok"] and tow["state"] in ( - "DEPLOYING", "RETRIEVING") else "") - tow_ready = (message("ui.ready") if tow["available"] else - message("sonar.stability", value=f"{tow['performance']:.0%}")) - ping = (message("sonar.ping_echo") if getattr(sonar, "ping_active", False) else - message("sonar.ping_ready") if getattr(sonar, "ping_ready", True) else - message("sonar.ping_cooldown", seconds= - f"{getattr(sonar, 'ping_cooldown_remaining', 0):.0f}")) - audio_status = getattr(game, "sonar_audio_status", None) - audio = (audio_status() if audio_status is not None else dict( - global_enabled=bool(getattr(getattr(game, "audio", None), "enabled", False)), - device_available=bool(getattr(getattr(game, "audio", None), "available", False)), - local_enabled=bool(getattr(game, "sonar_audio_enabled", False)), - mode=getattr(sonar, "audition_mode", "BROADBAND"), - volume=float(getattr(game, "sonar_volume", 0.0)), - audible=False)) - on_off = lambda flag: message("ui.on" if flag else "ui.off") - statuses = ( - message("sonar.status.array", array=display_message("array", mode), - state=display_message("tow", tow["state"]), - payout=f"{tow['payout_percent']:.0f}", ready=tow_ready, - pause=tow_pause), - message("sonar.status.listen", - bearing=f"{getattr(sonar, 'listen_bearing', 0) % 360:05.1f}", - gain=f"{getattr(sonar, 'gain_db', 0):+.0f}", ping=ping), - message("sonar.status.filter", - mode=display_message("audition_mode", audio["mode"]), - low=f"{getattr(sonar, 'band_low_hz', 0):.0f}", - high=f"{getattr(sonar, 'band_high_hz', 300):.0f}", - notch=on_off(getattr(sonar, "notch_enabled", False))), - message("sonar.status.audio", - global_state=on_off(audio["global_enabled"]), - device=on_off(audio["device_available"]), - local_state=on_off(audio["local_enabled"]), - volume=f"{audio['volume']:.0%}", - state=message("sonar.audio.stale" if audio.get("stale") - else "sonar.audio.audible" if audio["audible"] - else "sonar.audio.silent")), - ) - # Chips share the row by need: full wording when everything fits, - # otherwise the catalog abbreviations, never a clipped reading. - chip_font = layout.font(13) - room = station.w - 28 - 8 * len(statuses) - 14 * len(statuses) - forms = [layout.fit_line(item, chip_font, 10_000) for item in statuses] - if sum(chip_font.size(text)[0] for text in forms) > room: - forms = [localize((short_candidates(item) or [item])[-1]) for item in statuses] - natural = [max(1, chip_font.size(text)[0]) for text in forms] - spare = max(0, room - sum(natural)) // len(statuses) - x = station.x + 14 - for status, width in zip(forms, natural): - status_rect = pygame.Rect(x, station.y + 43, width + spare + 14, 23) - x = status_rect.right + 8 - pygame.draw.rect(screen, PANEL, status_rect) - _text(screen, status, status_rect.move(7, 3).inflate(-14, 0), - CYAN if i == 0 else DIM, 13) main, details, contacts = (geometry["main"], geometry["details"], geometry["contacts"]) for role, rect in (("sonar-main", main), ("sonar-details", details), diff --git a/src/ui/stations/bridge.py b/src/ui/stations/bridge.py index cf807064..93f205b8 100644 --- a/src/ui/stations/bridge.py +++ b/src/ui/stations/bridge.py @@ -171,14 +171,16 @@ def draw_bridge_view(game, tr=None) -> None: nav = layout.box(s, (x, y2, half, box_h), "panel.course_rudder", border=config.COLOR_TEXT) nx, ny, nw, _ = nav - layout.blit_line(s, message("bridge.line.course", course=f"{game.ship.course:05.1f}"), + layout.blit_line(s, message("bridge.line.course", course=f"{game.ship.course % 360:03.0f}"), (nx, ny, nw, 38), config.COLOR_TEXT, size=32) layout.status_line(s, nx, ny + 42, nw, "ui.target_value_short", - message("bridge.line.course", course=f"{game.ship.target_course:05.1f}"), size=20, label_w=80) + message("bridge.line.course", course=f"{game.ship.target_course % 360:03.0f}"), size=20, label_w=80) layout.status_line(s, nx, ny + 72, nw, "ui.rudder", - message("bridge.line.course", course=f"{game.ship.rudder_angle:+4.1f}"), size=20, label_w=80) - layout.status_line(s, nx, ny + 102, nw, "ui.turn_radius", - message("bridge.line.range", range=f"{game.ship.turn_radius_nm:.2f}"), size=18, label_w=130) + message("bridge.line.course", course=f"{game.ship.rudder_angle:+.0f}"), size=20, label_w=80) + if math.isfinite(game.ship.turn_radius_nm): + # Straight ahead the radius says nothing; the line appears in a turn. + layout.status_line(s, nx, ny + 102, nw, "ui.turn_radius", + message("bridge.line.range", range=f"{game.ship.turn_radius_nm:.2f}"), size=18, label_w=130) drive = layout.box(s, (x + half + 10, y2, half, box_h), "panel.speed_acoustics", border=config.COLOR_WARN if game.ship.cavitating else config.COLOR_TEXT) diff --git a/src/ui/stations/helicopter.py b/src/ui/stations/helicopter.py index 949ee658..d0c3b3c0 100644 --- a/src/ui/stations/helicopter.py +++ b/src/ui/stations/helicopter.py @@ -306,12 +306,10 @@ def _draw_helicopter_acoustic_view(game, rect): footer = geo["footer"] pygame.draw.rect(screen, (13, 35, 43), footer) pygame.draw.rect(screen, config.COLOR_GRID, footer, 1) + # Four main keys; source, contact, modes and filters are in F1. layout.blit_line(screen, "helo.acoustic.keys_view", - (footer.x + 9, footer.y + 2, footer.w - 18, 17), - config.COLOR_TEXT_DIM, size=12) - layout.blit_line(screen, "helo.acoustic.keys_audio", - (footer.x + 9, footer.y + 20, footer.w - 18, 17), - config.COLOR_TEXT_DIM, size=12) + (footer.x + 9, footer.y + 10, footer.w - 18, 17), + config.COLOR_TEXT_DIM, size=13) @localized diff --git a/src/ui/uboot_view.py b/src/ui/uboot_view.py index 0b149802..8bf0c96c 100644 --- a/src/ui/uboot_view.py +++ b/src/ui/uboot_view.py @@ -60,6 +60,9 @@ STATION_TAB_W = 100 CONTACT_ROWS = 10 # Alarms stay on the threat bar this long after the event (s). ALARM_WINDOW_S = 120.0 +# A heard ping or ESM intercept fills the threat box only this long; older +# warnings shrink to the marker in the top bar (details on the threat page). +THREAT_FRESH_S = 30.0 # Contact classification -> NATO frame domain on the chart (annotation only). _CLASS_DOMAIN = {"U_BOOT": "SUBSURFACE", "KAMPFSCHIFF": "SURFACE", "FAHRZEUG": "SURFACE", "FLUGZEUG": "AIR", @@ -131,7 +134,6 @@ def draw_top_bar(game, boat) -> None: pygame.draw.rect(s, config.COLOR_PANEL_BG, (0, 0, config.SCREEN_W, config.TOP_BAR_H)) lines.line(s, config.COLOR_SONAR_RING, (0, config.TOP_BAR_H - 1), (config.SCREEN_W, config.TOP_BAR_H - 1), 1) - sub = boat.sub if boat is not None else None # The boat's seven stations as tabs (key number and short name); a station a # browser crews is marked and not operated from here. shown = uboot_local.local_station(game) @@ -148,14 +150,23 @@ def draw_top_bar(game, boat) -> None: layout.blit_line(s, label, rect, config.COLOR_WARN if remote else config.COLOR_TEXT if active else config.COLOR_TEXT_DIM, size=14, align="center") - text = message("uboot.top.status", scenario=raw_text(game.top_bar_scenario()), - time=game.world.format_time(), - course=_fmt(sub.course if sub else None, "{:03.0f}"), - speed=_fmt(sub.speed if sub else None, "{:.1f}"), - depth=_fmt(sub.depth if sub else None)) + # Course, speed and depth live in the telemetry band. + text = message("uboot.top.status", time=game.world.format_time()) left = tabs[-1].right + 12 layout.blit_line(s, text, (left, 4, config.SCREEN_W - left - 10, config.TOP_BAR_H - 8), config.COLOR_TEXT, size=16, align="right") + rows = threat_rows(game, boat) if boat is not None and boat.sub is not None else [] + if rows and not any(fresh for _text, _level, fresh in rows): + # Only stale warnings: a small marker left of the clock. + _draw_threat_marker(s, config.SCREEN_W - 10 - layout.font(16).size( + localize(text))[0] - 30, config.TOP_BAR_H // 2, len(rows)) + + +def _draw_threat_marker(s, x, cy, count) -> None: + """Amber warning triangle with the number of standing warnings.""" + pygame.draw.polygon(s, config.COLOR_WARN, ((x - 12, cy + 7), (x - 4, cy - 7), (x + 4, cy + 7))) + layout.blit_line(s, raw_text(str(count)), (x + 7, cy - 9, 16, 18), + config.COLOR_WARN, size=14) def feed_entries(boat) -> list: @@ -362,6 +373,11 @@ def _battery_fraction(sub): def threats(game, boat) -> list: """``(text, level)`` for the threat bar, most urgent first.""" + return [(text, level) for text, level, _fresh in threat_rows(game, boat)] + + +def threat_rows(game, boat) -> list: + """``(text, level, fresh)``: stale ping/ESM warnings are not fresh.""" sub = boat.sub rows = [] alarms = sub.memory @@ -370,55 +386,58 @@ def threats(game, boat) -> list: if math.isfinite(torpedo_age) and torpedo_age < ALARM_WINDOW_S: if crew is not None and crew.torpedo_bearing is not None: rows.append((message("uboot.threat.torpedo_bearing", age=_fmt(torpedo_age), - bearing=f"{crew.torpedo_bearing:03.0f}"), "danger")) + bearing=f"{crew.torpedo_bearing:03.0f}"), "danger", True)) else: - rows.append((message("uboot.threat.torpedo", age=_fmt(torpedo_age)), "danger")) + rows.append((message("uboot.threat.torpedo", age=_fmt(torpedo_age)), "danger", True)) if sub.damage >= 50: - rows.append((message("uboot.threat.damage", value=_fmt(sub.damage)), "danger")) + rows.append((message("uboot.threat.damage", value=_fmt(sub.damage)), "danger", True)) control = sub.damage_control if not control.power(): - rows.append((message("uboot.threat.power"), "danger")) + rows.append((message("uboot.threat.power"), "danger", True)) burning = [name for name, c in zip(COMPARTMENTS, control.compartments) if c.fire > 0.0] if burning: rows.append((message("uboot.threat.fire", - compartment=message(f"uboot.compartment.{burning[0]}")), "danger")) + compartment=message(f"uboot.compartment.{burning[0]}")), "danger", True)) leaking = [name for name, c in zip(COMPARTMENTS, control.compartments) if c.leak > 0.0] if leaking: rows.append((message("uboot.threat.leak", - compartment=message(f"uboot.compartment.{leaking[0]}")), "warn")) + compartment=message(f"uboot.compartment.{leaking[0]}")), "warn", True)) ping_age = alarms["last_ping_age"] if math.isfinite(ping_age) and ping_age < ALARM_WINDOW_S: if crew is not None and crew.ping_bearing is not None: rows.append((message("uboot.threat.ping_bearing", age=_fmt(ping_age), - bearing=f"{crew.ping_bearing:03.0f}"), "warn")) + bearing=f"{crew.ping_bearing:03.0f}"), "warn", + ping_age < THREAT_FRESH_S)) else: - rows.append((message("uboot.threat.ping", age=_fmt(ping_age)), "warn")) + rows.append((message("uboot.threat.ping", age=_fmt(ping_age)), "warn", + ping_age < THREAT_FRESH_S)) if crew is not None and crew.esm: bearing, _quality, _age = crew.esm[0] + newest = min(age for _bearing, _quality, age in crew.esm) rows.append((message("uboot.threat.esm", bearing=f"{bearing:03.0f}", - count=len(crew.esm)), "warn")) + count=len(crew.esm)), "warn", newest < THREAT_FRESH_S)) if sub.cavitating: - rows.append((message("uboot.threat.cavitation"), "warn")) + rows.append((message("uboot.threat.cavitation"), "warn", True)) if sub.beyond_test_depth(): rows.insert(0, (message("uboot.threat.overdepth", depth=_fmt(sub.depth), test=_fmt(sub.stype.max_depth_m), - crush=_fmt(sub.crush_depth_m)), "danger")) + crush=_fmt(sub.crush_depth_m)), "danger", True)) ahead = crew.obstacle_ahead_nm if crew is not None else None if ahead is not None and sub.order_speed > 0.0: - rows.append((message("uboot.threat.obstacle", distance=f"{ahead:.1f}"), "warn")) + rows.append((message("uboot.threat.obstacle", distance=f"{ahead:.1f}"), "warn", True)) battery = _battery_fraction(sub) if battery is not None and battery < .15: - rows.append((message("uboot.threat.battery", value=_fmt(battery * 100)), "warn")) + rows.append((message("uboot.threat.battery", value=_fmt(battery * 100)), "warn", True)) return rows def _draw_threat_bar(s, game, boat, x, y, w) -> int: - rows = threats(game, boat) - if rows: - text, level = rows[0] - color = config.COLOR_DANGER if level == "danger" else config.COLOR_WARN - else: - text, color = "panel.no_threat", config.COLOR_OK + """The alarm box, only while a threat is fresh; else nothing (height 0).""" + rows = [(text, level) for text, level, fresh in threat_rows(game, boat) if fresh] + if not rows: + return 0 + text, level = rows[0] + color = config.COLOR_DANGER if level == "danger" else config.COLOR_WARN height = 54 if len(rows) > 1 else 38 pygame.draw.rect(s, config.COLOR_ALARM_BG, (x, y, w, height)) pygame.draw.rect(s, color, (x, y, w, height), 2) @@ -529,10 +548,10 @@ def _draw_nav_page(s, game, boat, x, y, w, h) -> None: nav = layout.box(s, (x, y, half, box_h), "uboot.panel.course_depth", border=config.COLOR_TEXT) nx, ny, nw, _ = nav - layout.blit_line(s, message("bridge.line.course", course=f"{sub.course:05.1f}"), + layout.blit_line(s, message("bridge.line.course", course=f"{sub.course % 360:03.0f}"), (nx, ny, nw, 34), config.COLOR_TEXT, size=28) layout.status_line(s, nx, ny + 36, nw, "ui.target_value_short", - message("bridge.line.course", course=f"{sub.order_course:05.1f}"), + message("bridge.line.course", course=f"{sub.order_course % 360:03.0f}"), size=18, label_w=80) layout.blit_line(s, message("uboot.line.depth", depth=_fmt(sub.depth)), (nx, ny + 62, nw, 34), config.COLOR_TEXT, size=28) @@ -552,7 +571,7 @@ def _draw_nav_page(s, game, boat, x, y, w, h) -> None: drive = layout.box(s, (x + half + 10, y, half, box_h), "panel.speed_acoustics", border=config.COLOR_WARN if sub.cavitating else config.COLOR_TEXT) dx, dy, dw, _ = drive - layout.blit_line(s, message("bridge.line.speed", speed=f"{sub.speed:04.1f}"), + layout.blit_line(s, message("bridge.line.speed", speed=f"{sub.speed:.1f}"), (dx, dy, dw, 34), config.COLOR_TEXT, size=28) layout.status_line(s, dx, dy + 36, dw, "ui.target_value_short", message("bridge.line.speed", speed=f"{sub.order_speed:.1f}"), @@ -587,12 +606,17 @@ def _draw_nav_page(s, game, boat, x, y, w, h) -> None: draw_depth_ladder(s, game, boat, inner) -def tube_line(sub): - """``1 ready · 2 dry · 3 loading 40 s · 4 empty`` (localized).""" +def tube_line(sub, busy_only=False): + """``1 ready · 2 dry · 3 loading 40 s · 4 empty`` (localized); with + ``busy_only`` the ready tubes are left out (``None`` when all are ready).""" parts = [] for index, (state, left) in enumerate(opfor.tube_states(sub), start=1): + if busy_only and state == "flooded": + continue parts.append(message(f"uboot.tube.{state}", tube=index, seconds=_fmt(left, "{:.0f}"))) + if busy_only and not parts: + return None return raw_text(" · ".join(str(localize(part)) for part in parts)) if parts \ else raw_text("--") @@ -633,8 +657,11 @@ def _draw_weapons_page(s, game, boat, x, y, w, h) -> None: depth=_fmt(orders.torpedo_depth) if orders.torpedo_depth else message("uboot.value.auto_depth"), salvo=orders.salvo, wires=wired), (fx + half + 10, fy + 88, half, 20), config.COLOR_TEXT_DIM, size=15) - layout.blit_line(s, message("uboot.line.tubes", tubes=tube_line(sub)), - (fx, fy + 112, fw, 20), config.COLOR_TEXT, size=15) + busy = tube_line(sub, busy_only=True) + if busy is not None: + # Only tubes that are not ready; "tubes ready n/m" covers the rest. + layout.blit_line(s, message("uboot.line.tubes", tubes=busy), + (fx, fy + 112, fw, 20), config.COLOR_WARN, size=15) contacts_y = y + box_h + 10 listing = layout.box(s, (x, contacts_y, w, y + h - contacts_y), "uboot.local.contacts") lx, ly, lw, lh = listing @@ -689,12 +716,11 @@ _FOOTERS = { ("uboot_nav", "UBOOT_NAV"): (("C", "uboot.footer.course"), ("D", "uboot.footer.depth"), ("U/J/H", "uboot.footer.presets"), ("Shift+G", "uboot.footer.bottom")), + # At most four main keys per page; fire bearing, decoy and flooding are in F1. ("uboot_weapons", "UBOOT_WEAPONS"): (("↑/↓", "uboot.footer.contact"), ("help.key.uboot_fire", "uboot.footer.fire"), - ("F", "uboot.footer.fire_bearing"), - ("W", "uboot.footer.wire"), ("X", "uboot.footer.decoy"), - ("M", "uboot.footer.tube_load"), - ("Shift+M", "uboot.footer.tube_flood")), + ("W", "uboot.footer.wire"), + ("M", "uboot.footer.tube_load")), ("uboot_radio", "UBOOT_RADIO"): (("help.key.enter", "uboot.footer.radio_send"), ("P", "uboot.footer.mast"), ("Q/E", "uboot.footer.chart")), ("uboot_engine", "UBOOT_ENGINE"): (("+/-", "uboot.footer.telegraph"), @@ -764,7 +790,7 @@ def _draw_engine_page(s, game, boat, x, y, w, h) -> None: border=config.COLOR_WARN if sub.cavitating else config.COLOR_TEXT) px, py, pw, _ = plant half = (pw - 10) // 2 - layout.blit_line(s, message("bridge.line.speed", speed=f"{sub.speed:04.1f}"), + layout.blit_line(s, message("bridge.line.speed", speed=f"{sub.speed:.1f}"), (px, py, half, 34), config.COLOR_TEXT, size=28) layout.status_line(s, px, py + 36, half, "ui.target_value_short", message("bridge.line.speed", speed=f"{sub.order_speed:.1f}"), diff --git a/tests/test_less_text.py b/tests/test_less_text.py new file mode 100644 index 00000000..1a9242ea --- /dev/null +++ b/tests/test_less_text.py @@ -0,0 +1,78 @@ +"""uConsole screens carry less text: short bars, fresh-only alarms, four keys.""" + +import math +import sys +from pathlib import Path + +import pygame + +from src.core import uboot_local +from src.core.i18n import localize +from src.core.station import Station +from src.ui import map_view, uboot_view + +sys.path.insert(0, str(Path(__file__).parent)) +from test_opfor_sub import _crewed # noqa: E402 + + +def _drawn_texts(monkeypatch, module): + texts = [] + original = module.layout.blit_line + + def record(surface, text, *args, **kwargs): + texts.append(str(localize(text))) + return original(surface, text, *args, **kwargs) + + monkeypatch.setattr(module.layout, "blit_line", record) + return texts + + +def test_frigate_top_bar_names_only_station_and_clock(monkeypatch): + game, _server, _bridge = _crewed(seed=31) + game.station = Station.SONAR + texts = _drawn_texts(monkeypatch, map_view) + game.draw_top_bar() + assert texts[0].split() == ["SONAR", game.world.format_time()] + + +def test_chart_header_shows_only_the_scale(monkeypatch): + game, _server, _bridge = _crewed(seed=31) + game.station = Station.BRIDGE + texts = _drawn_texts(monkeypatch, map_view) + game.draw() + header = [text for text in texts if text.split()[1:2] == ["NM"]] + assert header and all("|" not in text and "coastal" not in text for text in header) + + +def test_stale_ping_leaves_only_the_top_bar_marker(): + game, _server, _bridge = _crewed(seed=31) + boat = game.opfor + game.local_side = "uboot" + boat.sub.crew.ping_bearing = 259.0 + boat.sub.memory["last_ping_age"] = 5.0 + rows = uboot_view.threat_rows(game, boat) + assert [fresh for text, _level, fresh in rows + if text["__u_jagd_i18n__"] == "uboot.threat.ping_bearing"] == [True] + assert uboot_view._draw_threat_bar(game.screen, game, boat, 0, 0, 400) > 0 + boat.sub.memory["last_ping_age"] = uboot_view.THREAT_FRESH_S + 10.0 + rows = uboot_view.threat_rows(game, boat) + assert rows and not any(fresh for _text, _level, fresh in rows) + # Still listed on the threat page, but no box on every station. + assert uboot_view.threats(game, boat) + assert uboot_view._draw_threat_bar(game.screen, game, boat, 0, 0, 400) == 0 + boat.sub.memory["last_ping_age"] = math.inf + assert uboot_view._draw_threat_bar(game.screen, game, boat, 0, 0, 400) == 0 + + +def test_submarine_footers_have_at_most_four_keys(): + assert max(len(specs) for specs in uboot_view._FOOTERS.values()) <= 4 + + +def test_tube_line_lists_only_tubes_that_are_not_ready(): + game, _server, _bridge = _crewed(seed=31) + sub = game.opfor.sub + assert uboot_view.tube_line(sub, busy_only=True) is None + game.local_side = "uboot" + uboot_local.set_local_station(game, "uboot_weapons") + pygame.display.set_mode((1280, 720)) + uboot_view.draw(game) diff --git a/tests/test_native_layout.py b/tests/test_native_layout.py index 2575d9ff..7b9e46b1 100644 --- a/tests/test_native_layout.py +++ b/tests/test_native_layout.py @@ -87,7 +87,7 @@ def test_weapons_panel_shows_tma_evidence_and_engagement_stages(monkeypatch): helo=NS(torps=2, buoys_left=6, airborne=False, state="HANGAR"), ) weapons_view.draw_weapons_panel(game) - assert any("TMA 145.0 deg / 7.0 kn Q72%" in line + assert any("TMA 145.0° / 7.0 kn Q72%" in line for line in lines) assert "Target ASSIGNED" in lines assert "Fix VALID" in lines diff --git a/tests/test_packaging.py b/tests/test_packaging.py index 76a911d3..b3dd6384 100644 --- a/tests/test_packaging.py +++ b/tests/test_packaging.py @@ -85,7 +85,7 @@ def test_source_and_wheel_contain_editor_templates(tmp_path): (ROOT / "data/contact_analysis" / name).read_bytes() assert any(name.endswith(".dist-info/licenses/THIRD_PARTY_NOTICES.md") for name in wheel_names) - assert any(name.endswith("-1.3.35.dist-info/METADATA") for name in wheel_names) + assert any(name.endswith("-1.3.36.dist-info/METADATA") for name in wheel_names) source = next(tmp_path.glob("u_jagd-*.tar.gz")) with tarfile.open(source) as archive: @@ -137,7 +137,7 @@ def test_source_and_wheel_contain_editor_templates(tmp_path): [sys.executable, "-c", "from importlib import resources; " "assert resources.files('data.editor_templates').joinpath('mission.json').is_file(); " - "from src.core.version import APP_VERSION; assert APP_VERSION == '1.3.35'; " + "from src.core.version import APP_VERSION; assert APP_VERSION == '1.3.36'; " "from src.commander.server import CommanderServer; " "server=CommanderServer(); server.start('127.0.0.1',0); server.stop(); " "from src.core import manual; page=manual.html_page('de'); assert 'station-sonar' in page; " diff --git a/tests/test_r15_sonar_layout.py b/tests/test_r15_sonar_layout.py index f6604454..15ea3520 100644 --- a/tests/test_r15_sonar_layout.py +++ b/tests/test_r15_sonar_layout.py @@ -109,10 +109,10 @@ def test_tabs_contacts_and_safe_actions_share_draw_hit_geometry(monkeypatch): assert sonar_view.sonar_click_target(game, (echo_rect.centerx, echo_rect.bottom)) is None action_rects = {item["title"]: item["rect"] for item in drawn if item["kind"] == "sonar-action"} + # One row of at most four main keys per page (the rest is in F1). assert set(action_rects) == { - "sonar:action:page", "sonar:action:array", "sonar:action:gain", - "sonar:action:band_filter", "sonar:action:notch", - "sonar:action:harmonic", "sonar:action:peak", "sonar:action:audio"} + "sonar:action:array", "sonar:action:gain", + "sonar:action:peak", "sonar:action:audio"} for name, rect in action_rects.items(): target = sonar_view.sonar_click_target(game, rect.center) assert target == {"action": name.rsplit(":", 1)[-1], "safe": True} diff --git a/tests/test_sonar_view.py b/tests/test_sonar_view.py index e015eef2..d222cfde 100644 --- a/tests/test_sonar_view.py +++ b/tests/test_sonar_view.py @@ -75,8 +75,8 @@ def test_broadband_interpolation_is_circular_and_preserves_real_bins(): def test_broadband_tooltip_snaps_to_two_degree_source_bin(game): game.sonar.broadband_history = [list(np.arange(180) / 180.0)] station = pygame.Rect(config.STATION_RECT) - body = pygame.Rect(station.x + 12, station.y + 69, - station.w - 24, station.h - 111) + body = pygame.Rect(station.x + 12, station.y + 43, + station.w - 24, station.h - 68) rail_w = min(350, max(240, round(body.w * .28))) main = pygame.Rect(body.x, body.y, body.w - rail_w - 12, body.h) plot = pygame.Rect(main.x + 57, main.y + 61, main.w - 83, main.h - 108) @@ -270,21 +270,22 @@ def test_station_layout_has_large_plot_and_readable_contact_window(game, monkeyp assert (contact_panels[0].h - 33) // 43 >= 3 -def test_station_header_uses_divided_status_groups_without_microtext(game, monkeypatch): +def test_station_header_has_no_status_chips_and_at_most_four_keys(game, monkeypatch): drawn = [] monkeypatch.setattr(view, "_text", lambda screen, text, rect, color=view.TEXT, size=14, align="left": drawn.append((view.localize(text), pygame.Rect(rect), size))) - view.draw_sonar_view(game) - - # Four chips share the header row; when the full wording does not fit - # they switch to the catalog abbreviations together (never clipped). - groups = [item for item in drawn if item[0].startswith( - ("ARRAY", "HMS |", "BEARING", "BRG ", "BROADBAND |", "BB ", "G "))] - assert [item[0].split()[0] for item in groups] in ( - ["ARRAY", "BEARING", "BROADBAND", "G"], ["HMS", "BRG", "BB", "G"]) - assert len({item[1].x for item in groups}) == 4 - assert min(size for _, _, size in drawn) >= 12 + for page in range(len(view.PAGES)): + drawn.clear() + game.sonar_page = page + view.draw_sonar_view(game) + # The former status chips (array, bearing/gain, filter, audio) are gone; + # the footer keeps one row of at most four main keys. + assert not [item for item in drawn if item[0].startswith( + ("ARRAY ", "HMS |", "BEARING ", "BRG ", "BROADBAND |", "BB ", "G "))] + assert len(view.sonar_geometry(game, page)["footer"]) <= 4 + if page == 0: + assert min(size for _, _, size in drawn) >= 12 def test_demon_chart_uses_actual_envelope_bins_on_hz_axis(game, monkeypatch): @@ -394,7 +395,7 @@ def test_every_sonar_page_shows_tas_payout_and_stability(game, page, monkeypatch texts.append(view.localize(text))) game.sonar_page = page view.draw_sonar_view(game) - assert any(re.search(r"TAS (DEPLOYING|DEPLOY) 42% (STABILITY|STAB) 25% PAUSE", text) + assert any(re.search(r"TAS (DEPLOYING|DEPLOY) 42% STAB 25% PAUSE", text) for text in texts) diff --git a/tests/test_startup.py b/tests/test_startup.py index af58b48a..3fe56a1d 100644 --- a/tests/test_startup.py +++ b/tests/test_startup.py @@ -14,9 +14,9 @@ from src.world.real_coast import sector_for_seed def test_release_version_and_exact_splash_text(): - assert APP_VERSION == "1.3.35" + assert APP_VERSION == "1.3.36" assert SPLASH_TEXT == ( - "Anti Sub Marine Warfare on uConsole by Dominik Bornhäußer Version 1.3.35" + "Anti Sub Marine Warfare on uConsole by Dominik Bornhäußer Version 1.3.36" ) diff --git a/tests/test_tooltips.py b/tests/test_tooltips.py index 7a2e385c..27dc7b6d 100644 --- a/tests/test_tooltips.py +++ b/tests/test_tooltips.py @@ -165,7 +165,7 @@ def test_sonar_contact_tooltip_does_not_read_truth_attributes(monkeypatch): sonar = NS(active_contacts=lambda: [contact]) fake = NS(sonar=sonar, sonar_page=0, selected_contact=contact, sim_t=100.0, station=Station.SONAR) - payload = sonar_view.sonar_hit_target(fake, (950, 380)) + payload = sonar_view.sonar_hit_target(fake, (950, 400)) assert payload["id"] == "sonar:contact:7"