mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Move all localizable strings from Aaru.Gui project to resources.
This commit is contained in:
@@ -38,6 +38,7 @@ using System.Threading.Tasks;
|
||||
using Aaru.Decoders.CD;
|
||||
using Aaru.Decoders.SCSI.MMC;
|
||||
using Aaru.Gui.Models;
|
||||
using Aaru.Localization;
|
||||
using Avalonia.Controls;
|
||||
using ReactiveUI;
|
||||
|
||||
@@ -129,24 +130,24 @@ public sealed class CompactDiscInfoViewModel : ViewModelBase
|
||||
public ReactiveCommand<Unit, Task> SaveCdPmaCommand { get; }
|
||||
public ObservableCollection<IsrcModel> IsrcList { get; }
|
||||
|
||||
public string CdInformationLabel => "Information";
|
||||
public string SaveCdInformationLabel => "Save READ DISC INFORMATION response";
|
||||
public string CdTocLabel => "TOC";
|
||||
public string SaveCdTocLabel => "Save READ TOC response";
|
||||
public string CdFullTocLabel => "TOC (full)";
|
||||
public string SaveCdFullTocLabel => "Save READ RAW TOC response";
|
||||
public string CdSessionLabel => "Session";
|
||||
public string SaveCdSessionLabel => "Save READ SESSION response";
|
||||
public string CdTextLabel => "CD-TEXT";
|
||||
public string SaveCdTextLabel => "Save Lead-In CD-TEXT";
|
||||
public string CdAtipLabel => "ATIP";
|
||||
public string SaveCdAtipLabel => "Save READ ATIP response";
|
||||
public string MiscellaneousLabel => "Miscellaneous";
|
||||
public string McnLabel => "Media catalog number";
|
||||
public string ISRCsLabel => "ISRCs";
|
||||
public string TrackLabel => "Track";
|
||||
public string ISRCLabel => "ISRC";
|
||||
public string SaveCdPmaLabel => "Save READ PMA response";
|
||||
public string CdInformationLabel => UI.Title_Information;
|
||||
public string SaveCdInformationLabel => UI.ButtonLabel_Save_READ_DISC_INFORMATION_response;
|
||||
public string CdTocLabel => UI.Title_TOC;
|
||||
public string SaveCdTocLabel => UI.ButtonLabel_Save_READ_TOC_response;
|
||||
public string CdFullTocLabel => UI.Title_TOC_full;
|
||||
public string SaveCdFullTocLabel => UI.ButtonLabel_Save_READ_RAW_TOC_response;
|
||||
public string CdSessionLabel => Localization.Core.Title_Session;
|
||||
public string SaveCdSessionLabel => UI.ButtonLabel_Save_READ_SESSION_response;
|
||||
public string CdTextLabel => UI.Title_CD_TEXT;
|
||||
public string SaveCdTextLabel => UI.ButtonLabel_Save_Lead_In_CD_TEXT;
|
||||
public string CdAtipLabel => UI.Title_ATIP;
|
||||
public string SaveCdAtipLabel => UI.ButtonLabel_Save_READ_ATIP_response;
|
||||
public string MiscellaneousLabel => UI.Title_Miscellaneous;
|
||||
public string McnLabel => UI.Title_Media_catalog_number;
|
||||
public string ISRCsLabel => UI.Title_ISRCs;
|
||||
public string TrackLabel => Localization.Core.Title_Track;
|
||||
public string ISRCLabel => UI.Title_ISRC;
|
||||
public string SaveCdPmaLabel => UI.ButtonLabel_Save_READ_PMA_response;
|
||||
|
||||
async Task ExecuteSaveCdInformationCommand()
|
||||
{
|
||||
@@ -158,7 +159,7 @@ public sealed class CompactDiscInfoViewModel : ViewModelBase
|
||||
{
|
||||
"*.bin"
|
||||
}),
|
||||
Name = "Binary"
|
||||
Name = UI.Dialog_Binary_files
|
||||
});
|
||||
|
||||
string result = await dlgSaveBinary.ShowAsync(_view);
|
||||
@@ -182,7 +183,7 @@ public sealed class CompactDiscInfoViewModel : ViewModelBase
|
||||
{
|
||||
"*.bin"
|
||||
}),
|
||||
Name = "Binary"
|
||||
Name = UI.Dialog_Binary_files
|
||||
});
|
||||
|
||||
string result = await dlgSaveBinary.ShowAsync(_view);
|
||||
@@ -206,7 +207,7 @@ public sealed class CompactDiscInfoViewModel : ViewModelBase
|
||||
{
|
||||
"*.bin"
|
||||
}),
|
||||
Name = "Binary"
|
||||
Name = UI.Dialog_Binary_files
|
||||
});
|
||||
|
||||
string result = await dlgSaveBinary.ShowAsync(_view);
|
||||
@@ -230,7 +231,7 @@ public sealed class CompactDiscInfoViewModel : ViewModelBase
|
||||
{
|
||||
"*.bin"
|
||||
}),
|
||||
Name = "Binary"
|
||||
Name = UI.Dialog_Binary_files
|
||||
});
|
||||
|
||||
string result = await dlgSaveBinary.ShowAsync(_view);
|
||||
@@ -254,7 +255,7 @@ public sealed class CompactDiscInfoViewModel : ViewModelBase
|
||||
{
|
||||
"*.bin"
|
||||
}),
|
||||
Name = "Binary"
|
||||
Name = UI.Dialog_Binary_files
|
||||
});
|
||||
|
||||
string result = await dlgSaveBinary.ShowAsync(_view);
|
||||
@@ -278,7 +279,7 @@ public sealed class CompactDiscInfoViewModel : ViewModelBase
|
||||
{
|
||||
"*.bin"
|
||||
}),
|
||||
Name = "Binary"
|
||||
Name = UI.Dialog_Binary_files
|
||||
});
|
||||
|
||||
string result = await dlgSaveBinary.ShowAsync(_view);
|
||||
@@ -302,7 +303,7 @@ public sealed class CompactDiscInfoViewModel : ViewModelBase
|
||||
{
|
||||
"*.bin"
|
||||
}),
|
||||
Name = "Binary"
|
||||
Name = UI.Dialog_Binary_files
|
||||
});
|
||||
|
||||
string result = await dlgSaveBinary.ShowAsync(_view);
|
||||
|
||||
Reference in New Issue
Block a user