diff --git a/FoliCon/App.xaml.cs b/FoliCon/App.xaml.cs index ecc4788..908a4c8 100644 --- a/FoliCon/App.xaml.cs +++ b/FoliCon/App.xaml.cs @@ -37,7 +37,7 @@ protected override void RegisterTypes(IContainerRegistry containerRegistry) containerRegistry.RegisterDialog("ApiConfig"); containerRegistry.RegisterDialog("CustomIcon"); containerRegistry.RegisterDialog("PosterIconConfig"); - containerRegistry.RegisterDialog("SubfolderProcessingConfig"); + containerRegistry.RegisterDialog("SubfolderProcessingConfig"); containerRegistry.RegisterDialog("AboutBox"); containerRegistry.RegisterDialog("PosterPicker"); containerRegistry.RegisterDialog("Previewer"); diff --git a/FoliCon/ViewModels/PatternsViewModel.cs b/FoliCon/ViewModels/SubfolderProcessingViewModel.cs similarity index 93% rename from FoliCon/ViewModels/PatternsViewModel.cs rename to FoliCon/ViewModels/SubfolderProcessingViewModel.cs index ab7094f..e998eb6 100644 --- a/FoliCon/ViewModels/PatternsViewModel.cs +++ b/FoliCon/ViewModels/SubfolderProcessingViewModel.cs @@ -6,13 +6,13 @@ namespace FoliCon.ViewModels; -public class PatternsViewModel : BindableBase, IDialogAware +public class SubfolderProcessingViewModel : BindableBase, IDialogAware { #region Variables private static readonly NLog.Logger Logger = LogManager.GetCurrentClassLogger(); - public string Title => LangProvider.GetLang("Patterns"); + public string Title => LangProvider.GetLang("SubfolderProcessing"); private ObservableCollection _patterns; private bool _subfolderProcessingEnabled; @@ -37,7 +37,7 @@ public bool SubfolderProcessingEnabled public DelegateCommand RemoveCommand { get; } #endregion - public PatternsViewModel() + public SubfolderProcessingViewModel() { AddCommand = new DelegateCommand(AddPattern); RemoveCommand = new DelegateCommand(RemovePattern); diff --git a/FoliCon/Views/Patterns.xaml b/FoliCon/Views/SubfolderProcessing.xaml similarity index 97% rename from FoliCon/Views/Patterns.xaml rename to FoliCon/Views/SubfolderProcessing.xaml index 005fc09..3492ff4 100644 --- a/FoliCon/Views/Patterns.xaml +++ b/FoliCon/Views/SubfolderProcessing.xaml @@ -1,4 +1,4 @@ - + d:DataContext="{d:DesignInstance viewModels:SubfolderProcessingViewModel}"> diff --git a/FoliCon/Views/Patterns.xaml.cs b/FoliCon/Views/SubfolderProcessing.xaml.cs similarity index 71% rename from FoliCon/Views/Patterns.xaml.cs rename to FoliCon/Views/SubfolderProcessing.xaml.cs index b83dc66..8a798e2 100644 --- a/FoliCon/Views/Patterns.xaml.cs +++ b/FoliCon/Views/SubfolderProcessing.xaml.cs @@ -5,9 +5,9 @@ namespace FoliCon.Views /// /// Interaction logic for Patterns /// - public partial class Patterns + public partial class SubfolderProcessing { - public Patterns() + public SubfolderProcessing() { InitializeComponent(); }