Skip to content

Commit 9fbbc16

Browse files
authored
Chore: Rename some settings (#2034)
1 parent f60e341 commit 9fbbc16

File tree

3 files changed

+11
-23
lines changed

3 files changed

+11
-23
lines changed

Source/NETworkManager.Localization/Resources/Strings.Designer.cs

Lines changed: 6 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Source/NETworkManager.Localization/Resources/Strings.resx

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3308,16 +3308,13 @@ Changes to this value will take effect after the application is restarted. Wheth
33083308
<data name="PingDetails" xml:space="preserve">
33093309
<value>Ping details</value>
33103310
</data>
3311-
<data name="CommonPorts" xml:space="preserve">
3312-
<value>Common ports</value>
3313-
</data>
3314-
<data name="ScanCommonPorts" xml:space="preserve">
3315-
<value>Scan common ports</value>
3316-
</data>
33173311
<data name="NoOpenPortsFound" xml:space="preserve">
33183312
<value>No open ports found!</value>
33193313
</data>
33203314
<data name="PortScanIsDisabled" xml:space="preserve">
33213315
<value>Port scan is disabled!</value>
33223316
</data>
3317+
<data name="ScanPorts" xml:space="preserve">
3318+
<value>Scan ports</value>
3319+
</data>
33233320
</root>

Source/NETworkManager/Views/IPScannerSettingsView.xaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@
2626
<mah:ToggleSwitch Header="{x:Static localization:Strings.ResolveHostname}" IsOn="{Binding ResolveHostname}" Margin="0,0,0,10"/>
2727
<mah:ToggleSwitch Header="{x:Static localization:Strings.ShowErrorMessage}" IsOn="{Binding DNSShowErrorMessage}" Margin="0,0,0,20" />
2828
<TextBlock Text="{x:Static localization:Strings.PortScanner}" Style="{StaticResource HeaderTextBlock}" />
29-
<mah:ToggleSwitch Header="{x:Static localization:Strings.ScanCommonPorts}" IsOn="{Binding PortScanEnabled}" Margin="0,0,0,10"/>
30-
<TextBlock Text="{x:Static localization:Strings.CommonPorts}" Style="{StaticResource DefaultTextBlock}" Margin="0,0,0,10" />
29+
<mah:ToggleSwitch Header="{x:Static localization:Strings.ScanPorts}" IsOn="{Binding PortScanEnabled}" Margin="0,0,0,10"/>
30+
<TextBlock Text="{x:Static localization:Strings.Ports}" Style="{StaticResource DefaultTextBlock}" Margin="0,0,0,10" />
3131
<TextBox mah:TextBoxHelper.Watermark="{x:Static localization:StaticStrings.ExamplePortScanRange}" Width="250" HorizontalAlignment="Left" Margin="0,0,0,10">
3232
<TextBox.Text>
3333
<Binding Path="PortScanPorts" Mode="TwoWay" UpdateSourceTrigger="PropertyChanged">

0 commit comments

Comments
 (0)