Textsystem: Bis-Strich mit Leerzeichen (Zahl – Zahl) per Agent-Sweep
562 Ersetzungen in 50 Dateien: Halbgeviertstrich zwischen zwei Ziffern (= "bis"-Bereich) bekommt Leerzeichen davor/danach (3–4 -> 3 – 4). Regex /([0-9])\s*–\s*(?=[0-9])/ auf Rohtext (format-erhaltend, CRLF/Einrueckung unveraendert), Bindestriche in Woertern und Minuszeichen unangetastet, alle JSON weiter gueltig. Energiemanager-Zeitbloecke sind Display-Labels (kein Logik-Key) -> safe. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -322,7 +322,7 @@
|
||||
svgEl('text', { x: 450, y: 22, 'text-anchor': 'middle', 'font-size': '12', 'font-weight': '800', fill: '#1f4e5a' }, svg).textContent = 'Zusammengelegt';
|
||||
const mergedG = svgEl('g', {}, svg);
|
||||
|
||||
// Balken: Stückkosten je Gast (Skala 0–50 €, Höhe 110 px)
|
||||
// Balken: Stückkosten je Gast (Skala 0 – 50 €, Höhe 110 px)
|
||||
const BAR_BASE = 240, BAR_MAXH = 110, SCALE = 50;
|
||||
svgEl('line', { x1: 30, y1: BAR_BASE, x2: 570, y2: BAR_BASE, stroke: '#b5c9cf', 'stroke-width': '1.5' }, svg);
|
||||
// Referenzbalken links: 45 € (statisch)
|
||||
@@ -500,9 +500,9 @@
|
||||
};
|
||||
// Farbzonen
|
||||
[
|
||||
{ a1: -80, a2: -40, c: '#c85c4a' }, // 49,80–49,90
|
||||
{ a1: -40, a2: -20, c: '#e8833a' }, // 49,90–49,95
|
||||
{ a1: -20, a2: 20, c: '#5a8a5e' }, // 49,95–50,05
|
||||
{ a1: -80, a2: -40, c: '#c85c4a' }, // 49,80 – 49,90
|
||||
{ a1: -40, a2: -20, c: '#e8833a' }, // 49,90 – 49,95
|
||||
{ a1: -20, a2: 20, c: '#5a8a5e' }, // 49,95 – 50,05
|
||||
{ a1: 20, a2: 40, c: '#e8833a' },
|
||||
{ a1: 40, a2: 80, c: '#c85c4a' }
|
||||
].forEach(z => svgEl('path', { d: arcPath(z.a1, z.a2, R), stroke: z.c, 'stroke-width': '20', fill: 'none', 'stroke-linecap': 'butt', opacity: '0.9' }, svg));
|
||||
@@ -599,7 +599,7 @@
|
||||
<div class="ge-gh-pill" id="ge-ps-status" data-state="now">Das Unterbecken ist voll — pumpe Wasser hinauf!</div>
|
||||
</div>
|
||||
<p class="ge-note">Pumpspeicherkraftwerke sind bis heute der einzige großtechnische
|
||||
Stromspeicher: Aus 100 kWh Pumpstrom kommen rund 75–80 kWh wieder heraus
|
||||
Stromspeicher: Aus 100 kWh Pumpstrom kommen rund 75 – 80 kWh wieder heraus
|
||||
(Gesamtwirkungsgrad, hier gerechnet mit 78 %). Quellen: VERBUND (Malta- und
|
||||
Kaprun-Kraftwerke) · Fraunhofer ISE.</p>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user