Skip to content

Commit 38e37c3

Browse files
committed
ARP Table - Delete renamed to clear cache
1 parent 4c85dc1 commit 38e37c3

4 files changed

Lines changed: 7 additions & 5 deletions

File tree

Source/NETworkManager/Resources/Localization/Resources.de-DE.xaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -324,6 +324,7 @@
324324
<system:String x:Key="String_Button_Save">Speichern</system:String>
325325
<system:String x:Key="String_Button_Refresh">Aktualisieren</system:String>
326326
<system:String x:Key="String_Button_Reconnect">Wiederverbinden</system:String>
327+
<system:String x:Key="String_Button_ClearCache">Cache leeren</system:String>
327328

328329
<!-- ContextMenuItem.Header -->
329330
<system:String x:Key="String_ContextMenu_Cut">Ausschneiden</system:String>

Source/NETworkManager/Resources/Localization/Resources.en-US.xaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -324,6 +324,7 @@
324324
<system:String x:Key="String_Button_Save">Save</system:String>
325325
<system:String x:Key="String_Button_Refresh">Refresh</system:String>
326326
<system:String x:Key="String_Button_Reconnect">Reconnect</system:String>
327+
<system:String x:Key="String_Button_ClearCache">Clear cache</system:String>
327328

328329
<!-- ContextMenuItem.Header -->
329330
<system:String x:Key="String_ContextMenu_Cut">Cut</system:String>

Source/NETworkManager/ViewModels/Applications/ARPTableViewModel.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -138,12 +138,12 @@ private void RefreshAction()
138138
Refresh();
139139
}
140140

141-
public ICommand DeleteCommand
141+
public ICommand ClearCacheCommand
142142
{
143-
get { return new RelayCommand(p => DeleteAction()); }
143+
get { return new RelayCommand(p => ClearCacheAction()); }
144144
}
145145

146-
private async void DeleteAction()
146+
private async void ClearCacheAction()
147147
{
148148
DisplayStatusMessage = false;
149149

Source/NETworkManager/Views/Applications/ARPTableView.xaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
</DataGrid.Columns>
7474
</DataGrid>
7575
<StackPanel Grid.Row="4" Orientation="Horizontal" HorizontalAlignment="Right">
76-
<Button Command="{Binding DeleteCommand}" IsDefault="True" Style="{StaticResource ImageWithTextButton}">
76+
<Button Command="{Binding ClearCacheCommand}" IsDefault="True" Style="{StaticResource ImageWithTextButton}">
7777
<Button.Content>
7878
<Grid>
7979
<Grid.ColumnDefinitions>
@@ -85,7 +85,7 @@
8585
<VisualBrush Stretch="Uniform" Visual="{IconPacks:PackIconMaterial Kind=Close}" />
8686
</Rectangle.OpacityMask>
8787
</Rectangle>
88-
<TextBlock Grid.Column="1" Text="{DynamicResource String_Button_Delete}" Style="{StaticResource DefaultTextBlock}" TextAlignment="Center" Margin="10,5" />
88+
<TextBlock Grid.Column="1" Text="{DynamicResource String_Button_ClearCache}" Style="{StaticResource DefaultTextBlock}" TextAlignment="Center" Margin="10,5" />
8989
</Grid>
9090
</Button.Content>
9191
</Button>

0 commit comments

Comments
 (0)