[GUI] Modernize XAML localization.

This commit is contained in:
2025-10-25 12:53:52 +01:00
parent 3add9f9264
commit 2cee66a08d
66 changed files with 615 additions and 1181 deletions

View File

@@ -35,7 +35,6 @@ using System.IO;
using System.Threading.Tasks;
using System.Windows.Input;
using Aaru.Decoders.DVD;
using Aaru.Localization;
using Avalonia.Controls;
using Avalonia.Platform.Storage;
using CommunityToolkit.Mvvm.Input;
@@ -117,13 +116,6 @@ public sealed class DvdInfoViewModel
public bool SaveDvdBcaVisible { get; }
public bool SaveDvdAacsVisible { get; }
public string SaveDvdPfiLabel => UI.ButtonLabel_Save_Physical_Format_Information;
public string SaveDvdDmiLabel => UI.ButtonLabel_Save_Disc_Manufacturer_Information;
public string SaveDvdCmiLabel => UI.ButtonLabel_Save_Copyright_Management_Information;
public string SaveHdDvdCmiLabel => UI.ButtonLabel_Save_Copyright_Management_Information;
public string SaveDvdBcaLabel => UI.ButtonLabel_Save_Burst_Cutting_Area;
public string SaveDvdAacsLabel => UI.ButtonLabel_Save_AACS_Information;
async Task SaveElementAsync(byte[] data)
{
IStorageFile result = await _view.StorageProvider.SaveFilePickerAsync(new FilePickerSaveOptions