diff --git a/BililiveRecorder.WPF/Controls/WorkDirectorySelectorDialog.xaml b/BililiveRecorder.WPF/Controls/WorkDirectorySelectorDialog.xaml index af74e04..403833e 100644 --- a/BililiveRecorder.WPF/Controls/WorkDirectorySelectorDialog.xaml +++ b/BililiveRecorder.WPF/Controls/WorkDirectorySelectorDialog.xaml @@ -6,12 +6,15 @@ xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:ui="http://schemas.modernwpf.com/2019" xmlns:l="https://github.com/XAMLMarkupExtensions/WPFLocalizationExtension" + l:LocalizeDictionary.DesignCulture="" + l:ResxLocalizationProvider.DefaultAssembly="BililiveRecorder.WPF" + l:ResxLocalizationProvider.DefaultDictionary="Strings" xmlns:local="clr-namespace:BililiveRecorder.WPF.Controls" mc:Ignorable="d" d:DataContext="{d:DesignInstance Type=local:WorkDirectorySelectorDialog}" - PrimaryButtonText="确定" DefaultButton="Primary" - CloseButtonText="退出"> + PrimaryButtonText="{l:Loc Global_Confirm}" + CloseButtonText="{l:Loc Global_Quit}"> @@ -20,7 +23,7 @@ - + @@ -38,9 +41,9 @@ - - + +