mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
[GUI] Modernize XAML localization.
This commit is contained in:
@@ -34,9 +34,7 @@ using System.IO;
|
||||
using System.Reflection;
|
||||
using System.Windows.Input;
|
||||
using Aaru.Gui.Views.Dialogs;
|
||||
using Aaru.Localization;
|
||||
using CommunityToolkit.Mvvm.Input;
|
||||
using JetBrains.Annotations;
|
||||
|
||||
namespace Aaru.Gui.ViewModels.Dialogs;
|
||||
|
||||
@@ -60,12 +58,6 @@ public sealed class LicenseViewModel : ViewModelBase
|
||||
LicenseText = reader.ReadToEnd();
|
||||
}
|
||||
|
||||
[NotNull]
|
||||
public string Title => UI.Title_Aaru_license;
|
||||
|
||||
[NotNull]
|
||||
public string CloseLabel => UI.ButtonLabel_Close;
|
||||
|
||||
public string LicenseText { get; }
|
||||
public ICommand CloseCommand { get; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user