* Add localization to the air alarms, wire panels, network configurator list menu and loadout window * delete unused * redo gas localization, delete unused * removed the extra key * Moved and renamed air-alarm-ui-thresholds-gas-name * Moved localization to the XAML * Use existing strings for gas names * it just works * Rename _atmosphereSystem in ScrubberControl.xaml.cs _atmosphereSystem -> atmosphereSystem * Rename _atmosphereSystem in SensorInfo.xaml.cs _atmosphereSystem -> atmosphereSystem
45 lines
2.6 KiB
XML
45 lines
2.6 KiB
XML
<BoxContainer xmlns="https://spacestation14.io"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
Orientation="Vertical" Margin="2 0 2 4">
|
|
<Collapsible>
|
|
<CollapsibleHeading Name="CAddress" />
|
|
<CollapsibleBody Margin="20 0 0 0">
|
|
<BoxContainer Orientation="Vertical">
|
|
<BoxContainer Orientation="Horizontal" Margin="0 0 0 2">
|
|
<CheckBox Name="CEnableDevice" Text="{Loc 'air-alarm-ui-widget-enable'}" />
|
|
</BoxContainer>
|
|
<!-- Upper row: toggle, direction, volume rate, widenet, copy settings -->
|
|
<BoxContainer Orientation="Horizontal" Margin="0 0 0 2" HorizontalExpand="True">
|
|
<BoxContainer Orientation="Vertical" HorizontalExpand="True">
|
|
<Label Text="{Loc 'air-alarm-ui-scrubber-pump-direction-label'}" Margin="0 0 0 1"/>
|
|
<OptionButton Name="CPumpDirection" HorizontalExpand="True" />
|
|
</BoxContainer>
|
|
<BoxContainer Orientation="Vertical" HorizontalExpand="True">
|
|
<Label Text="{Loc 'air-alarm-ui-scrubber-volume-rate-label'}" Margin="0 0 0 1" />
|
|
<FloatSpinBox Name="CVolumeRate" HorizontalExpand="True" />
|
|
</BoxContainer>
|
|
</BoxContainer>
|
|
<BoxContainer>
|
|
<CheckBox Name="CWideNet" Text="{Loc 'air-alarm-ui-scrubber-wide-net-label'}" />
|
|
</BoxContainer>
|
|
<BoxContainer Orientation="Horizontal" Margin ="0 0 0 2">
|
|
<Button Name="CCopySettings" Text="{Loc 'air-alarm-ui-widget-copy'}" ToolTip="{Loc 'air-alarm-ui-widget-copy-tooltip'}" />
|
|
</BoxContainer>
|
|
<!-- Lower row: every single gas -->
|
|
<Collapsible Margin="2 2 2 2">
|
|
<CollapsibleHeading Title="{Loc 'air-alarm-ui-widget-gas-filters'}" />
|
|
<CollapsibleBody Margin="20 0 0 0">
|
|
<BoxContainer Orientation="Vertical">
|
|
<BoxContainer Margin="2">
|
|
<Button Name="CSelectAll" Text="{Loc 'air-alarm-ui-scrubber-select-all-gases-label'}" />
|
|
<Button Name="CDeselectAll" Text="{Loc 'air-alarm-ui-scrubber-deselect-all-gases-label'}" />
|
|
</BoxContainer>
|
|
<GridContainer Name="CGasContainer" Columns="3" />
|
|
</BoxContainer>
|
|
</CollapsibleBody>
|
|
</Collapsible>
|
|
</BoxContainer>
|
|
</CollapsibleBody>
|
|
</Collapsible>
|
|
</BoxContainer>
|