Skip to content

Commit 186cd54

Browse files
committed
Fixed last checked label
1 parent c2c8369 commit 186cd54

File tree

2 files changed

+6
-16
lines changed

2 files changed

+6
-16
lines changed

SecureFolderFS.WinUI/Views/Settings/GeneralSettingsPage.xaml

+4-12
Original file line numberDiff line numberDiff line change
@@ -34,19 +34,11 @@
3434
FontSize="18"
3535
FontWeight="SemiBold"
3636
Text="{x:Bind ViewModel.BannerViewModel.UpdateText, Mode=OneWay}" />
37-
<StackPanel
37+
<TextBlock
3838
VerticalAlignment="Center"
39-
Orientation="Horizontal"
40-
Spacing="2">
41-
<TextBlock
42-
FontSize="11"
43-
Opacity="0.8"
44-
Text="{l:ResourceString Name=LastChecked}" />
45-
<TextBlock
46-
FontSize="11"
47-
Opacity="0.8"
48-
Text="{x:Bind ViewModel.BannerViewModel.LastChecked, Mode=OneWay, Converter={StaticResource DateTimeToStringConverter}}" />
49-
</StackPanel>
39+
FontSize="11"
40+
Opacity="0.8"
41+
Text="{x:Bind ViewModel.BannerViewModel.LastChecked, Mode=OneWay, Converter={StaticResource DateTimeToStringConverter}, ConverterParameter='LOCALIZE|LastChecked'}" />
5042
</StackPanel>
5143
</uc:BannerControl.LeftSide>
5244
<uc:BannerControl.RightSide>

SecureFolderFS.WinUI/Views/Settings/PreferencesSettingsPage.xaml

+2-4
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
<HyperlinkButton
3030
Margin="0,-16,0,0"
3131
HorizontalAlignment="Right"
32-
Content="Open website"
32+
Content="{l:ResourceString Name=Website}"
3333
NavigateUri="https://github.com/dokan-dev/dokany/releases/tag/v2.0.5.1000" />
3434
</Grid>
3535
</InfoBar.Content>
@@ -65,9 +65,7 @@
6565
</DataTemplate>
6666
</Page.Resources>
6767

68-
<Grid
69-
Loaded="Root_Loaded"
70-
RowSpacing="12">
68+
<Grid Loaded="Root_Loaded" RowSpacing="12">
7169
<Grid.RowDefinitions>
7270
<!-- Banner -->
7371
<RowDefinition Height="Auto" />

0 commit comments

Comments
 (0)