mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2025-03-14 17:20:18 +00:00
Update locale keys
This commit is contained in:
parent
c3e34108e1
commit
2a61ddfe28
2 changed files with 16 additions and 21 deletions
|
@ -67,8 +67,6 @@ namespace Ryujinx.Ava.UI.ViewModels
|
|||
_graphicsBackendMultithreadingIndex = value;
|
||||
|
||||
if (_graphicsBackendMultithreadingIndex != (int)ConfigurationState.Instance.Graphics.BackendThreading.Value)
|
||||
{
|
||||
async void Action()
|
||||
{
|
||||
Dispatcher.UIThread.Post(async () =>
|
||||
{
|
||||
|
@ -80,9 +78,6 @@ namespace Ryujinx.Ava.UI.ViewModels
|
|||
});
|
||||
}
|
||||
|
||||
Dispatcher.UIThread.Post(Action);
|
||||
}
|
||||
|
||||
OnPropertyChanged();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -62,11 +62,11 @@ public partial class SettingsUIView : UserControl
|
|||
{
|
||||
var dialog = new OpenFileDialog()
|
||||
{
|
||||
Title = LocaleManager.Instance["SettingsSelectThemeFileDialogTitle"],
|
||||
Title = LocaleManager.Instance[LocaleKeys.SettingsSelectThemeFileDialogTitle],
|
||||
AllowMultiple = false
|
||||
};
|
||||
|
||||
dialog.Filters.Add(new FileDialogFilter() { Extensions = { "xaml" }, Name = LocaleManager.Instance["SettingsXamlThemeFile"] });
|
||||
dialog.Filters.Add(new FileDialogFilter() { Extensions = { "xaml" }, Name = LocaleManager.Instance[LocaleKeys.SettingsXamlThemeFile] });
|
||||
|
||||
if (Avalonia.Application.Current.ApplicationLifetime is IClassicDesktopStyleApplicationLifetime desktop)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue