|
1 | | -<ui:FluentWindow x:Class="MainWindow" |
| 1 | +<ui:FluentWindow x:Class="MainWindow" |
2 | 2 | xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
3 | 3 | xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
4 | 4 | xmlns:bh="http://schemas.microsoft.com/xaml/behaviors" |
|
41 | 41 | <ui:NavigationView.MenuItems> |
42 | 42 |
|
43 | 43 |
|
44 | | - <ui:NavigationViewItem Content="Home" |
| 44 | + <ui:NavigationViewItem Content="{local:Localize NameMainWindowHome}" |
| 45 | + d:Content="Home" |
45 | 46 | Margin="15,2,15,10" |
46 | 47 | NavigationCacheMode="Required" |
47 | 48 | Tag="{Binding}" |
|
52 | 53 | </ui:NavigationViewItem> |
53 | 54 |
|
54 | 55 |
|
55 | | - <ui:NavigationViewItem Content="Watcher" |
| 56 | + <ui:NavigationViewItem Content="{local:Localize NameMainWindowWatcher}" |
| 57 | + d:Content="Watcher" |
56 | 58 | Margin="15,2,15,10" |
57 | 59 | NavigationCacheMode="Required" |
58 | 60 | Tag="{Binding}" |
|
62 | 64 | </ui:NavigationViewItem.Icon> |
63 | 65 | </ui:NavigationViewItem> |
64 | 66 |
|
65 | | - <ui:NavigationViewItem Content="Compression DB" |
| 67 | + <ui:NavigationViewItem Content="{local:Localize NameMainWindowCompressionDB}" |
| 68 | + d:Content="Compression DB" |
66 | 69 | Margin="15,2,15,10" |
67 | 70 | NavigationCacheMode="Disabled" |
68 | 71 | Tag="{Binding}" |
|
231 | 234 | </Style> |
232 | 235 | </Label.Style> |
233 | 236 | <StackPanel VerticalAlignment="Center" Orientation="Horizontal"> |
234 | | - <TextBlock Text="CompactGUI" |
| 237 | + <TextBlock Text="{local:Localize TitleCompactGUI}" d:Text="CompactGUI" |
235 | 238 | Margin="0,0,20,0" VerticalAlignment="Center" |
236 | 239 | Foreground="#20FFFFFF" |
237 | 240 | Visibility="{Binding IsAdmin, Converter={StaticResource BooleanToInverseVisibilityConverter}}" /> |
238 | 241 | <Border Width="80" Height="22" |
239 | 242 | Background="#20f44336" CornerRadius="10" |
240 | 243 | Visibility="{Binding IsAdmin, Converter={StaticResource BooleanToVisibilityConverter}}"> |
241 | | - <TextBlock Text="Admin" |
| 244 | + <TextBlock Text="{local:Localize UniAdmin}" d:Text="Admin" |
242 | 245 | HorizontalAlignment="Center" VerticalAlignment="Center" |
243 | 246 | Foreground="White" /> |
244 | 247 |
|
|
0 commit comments