Translate WindInputs to Latvian on Faktiskā, remove dead CSS

Found by a fresh-eyes review after today's design pass: WindInputs
had no productionTemplate branching, so it kept showing "Wind
direction"/"Wind speed"/"Gusts" in English right under the freshly-
translated "Temperatūra un vējš" heading. Threaded the same
productionTemplate flag MapView.tsx already uses for its other
labels. Also removed .assignedSymbol, an unreferenced CSS rule the
same review flagged as dead.
This commit is contained in:
b0txec
2026-08-23 13:41:02 +03:00
parent 90f65d76e6
commit d7439a2bd5
3 changed files with 11 additions and 11 deletions
+1 -1
View File
@@ -125,7 +125,7 @@ export const MapView: Component<{ type: MapResolution, data: () => ResultKeyVal[
/>
<span>{productionTemplate ? "Noapaļot temperatūras" : "Round temperatures"}</span>
</label>
{ props.showWind && <WindInputs signals={windSignals} /> }
{ props.showWind && <WindInputs signals={windSignals} productionTemplate={productionTemplate} /> }
</div>
</section>
{mode === "faktiska" && <IconInputs cities={data().map(([city]) => city)} weatherIconsSignal={weatherIconsSignal} />}