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:
@@ -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} />}
|
||||
|
||||
Reference in New Issue
Block a user