PowerToys Settings and OOBE title localization (#10054)

This commit is contained in:
Seraphima Zykova
2021-03-05 13:51:34 +03:00
committed by GitHub
parent 22429b2407
commit 11c622afca
5 changed files with 14 additions and 2 deletions

View File

@@ -8,6 +8,7 @@ using interop;
using Microsoft.PowerToys.Settings.UI.Helpers;
using Microsoft.PowerToys.Settings.UI.OOBE.Views;
using Microsoft.Toolkit.Wpf.UI.XamlHost;
using Windows.ApplicationModel.Resources;
namespace PowerToys.Settings
{
@@ -31,6 +32,9 @@ namespace PowerToys.Settings
{
InitializeComponent();
Utils.FitToScreen(this);
ResourceLoader loader = ResourceLoader.GetForViewIndependentUse();
Title = loader.GetString("OobeWindow_Title");
}
private void Window_Closed(object sender, EventArgs e)