double whoops (and also some localization)

This commit is contained in:
vulppine
2022-08-19 00:29:18 -07:00
parent 7f76d49ea8
commit bf215350a7
2 changed files with 13 additions and 7 deletions

View File

@@ -3,12 +3,18 @@
<Collapsible Orientation="Vertical">
<CollapsibleHeading Name="SensorAddress" />
<CollapsibleBody>
<BoxContainer>
<RichTextLabel Name="PressureLabel"></RichTextLabel>
<RichTextLabel Name="TemperatureLabel"></RichTextLabel>
<RichTextLabel Name="TotalMolesLabel" />
<RichTextLabel Name="AlarmStateLabel" />
<BoxContainer Name="GasContainer" />
<BoxContainer Orientation="Vertical">
<BoxContainer Orientation="Vertical" Margin="0 0 2 0" HorizontalExpand="True">
<Label Text="{Loc 'air-alarm-ui-window-pressure-label'}" />
<Label Text="{Loc 'air-alarm-ui-window-temperature-label'}" />
<Label Text="{Loc 'air-alarm-ui-window-alarm-state-label'}" />
</BoxContainer>
<BoxContainer Orientation="Vertical" HorizontalExpand="True">
<RichTextLabel Name="PressureLabel" />
<RichTextLabel Name="TemperatureLabel" />
<RichTextLabel Name="AlarmStateLabel" />
</BoxContainer>
<BoxContainer Name="GasContainer" Margin="0 0 2 0"/>
<Collapsible Orientation="Vertical" Margin="2">
<CollapsibleHeading Title="{Loc 'air-alarm-ui-sensor-thresholds'}" />
<CollapsibleBody>

View File

@@ -21,7 +21,7 @@ air-alarm-ui-window-alarm-state = {$state}
air-alarm-ui-window-tab-gas = Gases
air-alarm-ui-window-tab-vents = Vents
air-alarm-ui-window-tab-scrubbers = Scrubbers
air-alarm-ui-window-tab-thresholds = Thresholds
air-alarm-ui-sensor-thresholds = Thresholds
air-alarm-ui-gases = {$gas}: {$amount} mol ({$percentage}%)