重命名和补回i18n

This commit is contained in:
PrefacedCorg
2026-04-05 17:27:00 +08:00
parent 04a8224484
commit ceb99cea2b
6 changed files with 21 additions and 9 deletions
@@ -1,4 +1,4 @@
<Page x:Class="Ink_Canvas.Windows.SettingsViews2.Pages.NewSettingStartup"
<Page x:Class="Ink_Canvas.Windows.SettingsViews2.Pages.StartupPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
@@ -126,4 +126,4 @@
</ikw:SimpleStackPanel>
</Grid>
</ScrollViewer>
</Page>
</Page>
@@ -5,19 +5,19 @@ using System.Windows.Controls;
namespace Ink_Canvas.Windows.SettingsViews2.Pages
{
/// <summary>
/// NewSettingStartup.xaml 的交互逻辑
/// StartupPage.xaml 的交互逻辑
/// </summary>
public partial class NewSettingStartup : Page
public partial class StartupPage : Page
{
private bool _isLoaded = false;
public NewSettingStartup()
public StartupPage()
{
InitializeComponent();
Loaded += NewSettingStartup_Loaded;
Loaded += StartupPage_Loaded;
}
private void NewSettingStartup_Loaded(object sender, RoutedEventArgs e)
private void StartupPage_Loaded(object sender, RoutedEventArgs e)
{
LoadSettings();
_isLoaded = true;
@@ -136,7 +136,7 @@
</ui:NavigationViewItem.Icon>
<ui:NavigationViewItem.MenuItems>
<ui:NavigationViewItem
x:Name="NewSettingStartupItem"
x:Name="StartupPageItem"
Content="启动"
Tag="StartupPage"
ToolTipService.ToolTip="启动设置">
@@ -58,7 +58,7 @@ namespace Ink_Canvas.Windows.SettingsViews2
{ "ThemePage", typeof(ThemePage) },
{ "ColorsPage", typeof(ColorsPage) },
{ "FontsPage", typeof(FontsPage) },
{ "StartupPage", typeof(NewSettingStartup) },
{ "StartupPage", typeof(StartupPage) },
{ "AboutPage", typeof(AboutPage) },
{ "Settings", typeof(SettingsPage) }
};