diff --git a/RomRepoMgr/Resources/Localization.Designer.cs b/RomRepoMgr/Resources/Localization.Designer.cs
index 5953338..926a07d 100644
--- a/RomRepoMgr/Resources/Localization.Designer.cs
+++ b/RomRepoMgr/Resources/Localization.Designer.cs
@@ -9,8 +9,8 @@
namespace RomRepoMgr.Resources {
using System;
-
-
+
+
///
/// A strongly-typed resource class, for looking up localized strings, etc.
///
@@ -21,21 +21,21 @@ namespace RomRepoMgr.Resources {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
- internal class Localization {
-
+ public class Localization {
+
private static global::System.Resources.ResourceManager resourceMan;
-
+
private static global::System.Globalization.CultureInfo resourceCulture;
-
+
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
- internal Localization() {
+ public Localization() {
}
-
+
///
/// Returns the cached ResourceManager instance used by this class.
///
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
- internal static global::System.Resources.ResourceManager ResourceManager {
+ public static global::System.Resources.ResourceManager ResourceManager {
get {
if (object.ReferenceEquals(resourceMan, null)) {
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("RomRepoMgr.Resources.Localization", typeof(Localization).Assembly);
@@ -44,13 +44,13 @@ namespace RomRepoMgr.Resources {
return resourceMan;
}
}
-
+
///
/// Overrides the current thread's CurrentUICulture property for all
/// resource lookups using this strongly typed resource class.
///
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
- internal static global::System.Globalization.CultureInfo Culture {
+ public static global::System.Globalization.CultureInfo Culture {
get {
return resourceCulture;
}
@@ -58,1068 +58,1068 @@ namespace RomRepoMgr.Resources {
resourceCulture = value;
}
}
-
+
///
/// Looks up a localized string similar to About.
///
- internal static string AboutLabel {
+ public static string AboutLabel {
get {
return ResourceManager.GetString("AboutLabel", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to About ROM Repository Manager.
///
- internal static string AboutTitle {
+ public static string AboutTitle {
get {
return ResourceManager.GetString("AboutTitle", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to All files.
///
- internal static string AllFilesDialogLabel {
+ public static string AllFilesDialogLabel {
get {
return ResourceManager.GetString("AllFilesDialogLabel", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to Check all files..
///
- internal static string AllFilesLabel {
+ public static string AllFilesLabel {
get {
return ResourceManager.GetString("AllFilesLabel", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to Library.
///
- internal static string AssembliesLibraryText {
+ public static string AssembliesLibraryText {
get {
return ResourceManager.GetString("AssembliesLibraryText", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to Version.
///
- internal static string AssembliesVersionText {
+ public static string AssembliesVersionText {
get {
return ResourceManager.GetString("AssembliesVersionText", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to Authors.
///
- internal static string AuthorsLabel {
+ public static string AuthorsLabel {
get {
return ResourceManager.GetString("AuthorsLabel", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to Developers:
/// Natalia Portillo
///.
///
- internal static string AuthorsText {
+ public static string AuthorsText {
get {
return ResourceManager.GetString("AuthorsText", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to Calculating statistics for {0} - {1} ({2}).
///
- internal static string CalculatingStatisticsForRomSet {
+ public static string CalculatingStatisticsForRomSet {
get {
return ResourceManager.GetString("CalculatingStatisticsForRomSet", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to Cancel.
///
- internal static string CancelLabel {
+ public static string CancelLabel {
get {
return ResourceManager.GetString("CancelLabel", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to Checking The Unarchiver....
///
- internal static string CheckingUnArText {
+ public static string CheckingUnArText {
get {
return ResourceManager.GetString("CheckingUnArText", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to Choose database to open / create.
///
- internal static string ChooseDatabaseFile {
+ public static string ChooseDatabaseFile {
get {
return ResourceManager.GetString("ChooseDatabaseFile", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to Choose....
///
- internal static string ChooseLabel {
+ public static string ChooseLabel {
get {
return ResourceManager.GetString("ChooseLabel", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to Choose repository folder.
///
- internal static string ChooseRepositoryFolder {
+ public static string ChooseRepositoryFolder {
get {
return ResourceManager.GetString("ChooseRepositoryFolder", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to Choose temporary folder.
///
- internal static string ChooseTemporaryFolder {
+ public static string ChooseTemporaryFolder {
get {
return ResourceManager.GetString("ChooseTemporaryFolder", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to Choose UnArchiver executable.
///
- internal static string ChooseUnArExecutable {
+ public static string ChooseUnArExecutable {
get {
return ResourceManager.GetString("ChooseUnArExecutable", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to Close.
///
- internal static string CloseLabel {
+ public static string CloseLabel {
get {
return ResourceManager.GetString("CloseLabel", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to Complete games.
///
- internal static string CompleteMachinesLabel {
+ public static string CompleteMachinesLabel {
get {
return ResourceManager.GetString("CompleteMachinesLabel", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to An error occurred trying to delete the chosen file..
///
- internal static string DatabaseFileCannotDeleteCaption {
+ public static string DatabaseFileCannotDeleteCaption {
get {
return ResourceManager.GetString("DatabaseFileCannotDeleteCaption", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to Could not delete file.
///
- internal static string DatabaseFileCannotDeleteTitle {
+ public static string DatabaseFileCannotDeleteTitle {
get {
return ResourceManager.GetString("DatabaseFileCannotDeleteTitle", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to Do you want to delete the file?.
///
- internal static string DatabaseFileDeleteCaption {
+ public static string DatabaseFileDeleteCaption {
get {
return ResourceManager.GetString("DatabaseFileDeleteCaption", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to File exists.
///
- internal static string DatabaseFileExistsMsgBoxTitle {
+ public static string DatabaseFileExistsMsgBoxTitle {
get {
return ResourceManager.GetString("DatabaseFileExistsMsgBoxTitle", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to Database file.
///
- internal static string DatabaseFileLabel {
+ public static string DatabaseFileLabel {
get {
return ResourceManager.GetString("DatabaseFileLabel", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to Do you want to try to open the existing file as a database?.
///
- internal static string DatabaseFileMsgBoxTryOpen {
+ public static string DatabaseFileMsgBoxTryOpen {
get {
return ResourceManager.GetString("DatabaseFileMsgBoxTryOpen", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to Do you want to try to open the existing file as a database?.
///
- internal static string DatabaseFileTryOpenCaption {
+ public static string DatabaseFileTryOpenCaption {
get {
return ResourceManager.GetString("DatabaseFileTryOpenCaption", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to An error occurred trying to use the chosen file as a database.
///Do you want to delete the file?.
///
- internal static string DatabaseFileUnusableDeleteMsgBoxCaption {
+ public static string DatabaseFileUnusableDeleteMsgBoxCaption {
get {
return ResourceManager.GetString("DatabaseFileUnusableDeleteMsgBoxCaption", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to An error occurred trying to use the chosen file as a database..
///
- internal static string DatabaseFileUnusableMsgBoxCaption {
+ public static string DatabaseFileUnusableMsgBoxCaption {
get {
return ResourceManager.GetString("DatabaseFileUnusableMsgBoxCaption", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to Could not use database.
///
- internal static string DatabaseFileUnusableMsgBoxTitle {
+ public static string DatabaseFileUnusableMsgBoxTitle {
get {
return ResourceManager.GetString("DatabaseFileUnusableMsgBoxTitle", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to Database.
///
- internal static string DatabaseMenuText {
+ public static string DatabaseMenuText {
get {
return ResourceManager.GetString("DatabaseMenuText", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to Update statistics.
///
- internal static string DatabaseMenuUpdateStatsText {
+ public static string DatabaseMenuUpdateStatsText {
get {
return ResourceManager.GetString("DatabaseMenuUpdateStatsText", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to DAT files.
///
- internal static string DatFilesDialogLabel {
+ public static string DatFilesDialogLabel {
get {
return ResourceManager.GetString("DatFilesDialogLabel", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to Decompressing DAT file....
///
- internal static string DecompressingDat {
+ public static string DecompressingDat {
get {
return ResourceManager.GetString("DecompressingDat", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to Are you sure you want to delete the ROM set {0}?.
///
- internal static string DeleteRomSetMsgBoxCaption {
+ public static string DeleteRomSetMsgBoxCaption {
get {
return ResourceManager.GetString("DeleteRomSetMsgBoxCaption", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to Delete ROM set.
///
- internal static string DeleteRomSetMsgBoxTitle {
+ public static string DeleteRomSetMsgBoxTitle {
get {
return ResourceManager.GetString("DeleteRomSetMsgBoxTitle", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to Edit DAT.
///
- internal static string EditDatTitle {
+ public static string EditDatTitle {
get {
return ResourceManager.GetString("EditDatTitle", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to Error.
///
- internal static string Error {
+ public static string Error {
get {
return ResourceManager.GetString("Error", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to Exit.
///
- internal static string ExitButtonText {
+ public static string ExitButtonText {
get {
return ResourceManager.GetString("ExitButtonText", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to Exporting DAT file....
///
- internal static string ExportDatTitle {
+ public static string ExportDatTitle {
get {
return ResourceManager.GetString("ExportDatTitle", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to Export ROMs to folder....
///
- internal static string ExportRomsDialogTitle {
+ public static string ExportRomsDialogTitle {
get {
return ResourceManager.GetString("ExportRomsDialogTitle", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to Exporting ROM files to folder....
///
- internal static string ExportRomsTitle {
+ public static string ExportRomsTitle {
get {
return ResourceManager.GetString("ExportRomsTitle", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to E_xit.
///
- internal static string FileMenuExitText {
+ public static string FileMenuExitText {
get {
return ResourceManager.GetString("FileMenuExitText", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to Import DAT _file.
///
- internal static string FileMenuImportDatFileText {
+ public static string FileMenuImportDatFileText {
get {
return ResourceManager.GetString("FileMenuImportDatFileText", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to Import DAT f_older.
///
- internal static string FileMenuImportDatFolderText {
+ public static string FileMenuImportDatFolderText {
get {
return ResourceManager.GetString("FileMenuImportDatFolderText", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to _Settings.
///
- internal static string FileMenuSettingsText {
+ public static string FileMenuSettingsText {
get {
return ResourceManager.GetString("FileMenuSettingsText", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to _File.
///
- internal static string FileMenuText {
+ public static string FileMenuText {
get {
return ResourceManager.GetString("FileMenuText", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to _Mount.
///
- internal static string FilesystemMenuMountText {
+ public static string FilesystemMenuMountText {
get {
return ResourceManager.GetString("FilesystemMenuMountText", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to File_system.
///
- internal static string FilesystemMenuText {
+ public static string FilesystemMenuText {
get {
return ResourceManager.GetString("FilesystemMenuText", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to _Umount.
///
- internal static string FilesystemMenuUmountText {
+ public static string FilesystemMenuUmountText {
get {
return ResourceManager.GetString("FilesystemMenuUmountText", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to Finished.
///
- internal static string Finished {
+ public static string Finished {
get {
return ResourceManager.GetString("Finished", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to Found {0} files....
///
- internal static string FoundFiles {
+ public static string FoundFiles {
get {
return ResourceManager.GetString("FoundFiles", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to Have ROMs.
///
- internal static string HaveRomsLabel {
+ public static string HaveRomsLabel {
get {
return ResourceManager.GetString("HaveRomsLabel", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to _About.
///
- internal static string HelpMenuAboutText {
+ public static string HelpMenuAboutText {
get {
return ResourceManager.GetString("HelpMenuAboutText", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to _Help.
///
- internal static string HelpMenuText {
+ public static string HelpMenuText {
get {
return ResourceManager.GetString("HelpMenuText", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to Homepage.
///
- internal static string HomepageLabel {
+ public static string HomepageLabel {
get {
return ResourceManager.GetString("HomepageLabel", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to Import DAT file....
///
- internal static string ImportDatFileDialogTitle {
+ public static string ImportDatFileDialogTitle {
get {
return ResourceManager.GetString("ImportDatFileDialogTitle", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to Import DATs from folder....
///
- internal static string ImportDatFolderDialogTitle {
+ public static string ImportDatFolderDialogTitle {
get {
return ResourceManager.GetString("ImportDatFolderDialogTitle", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to Import DAT files from folder....
///
- internal static string ImportDatFolderTitle {
+ public static string ImportDatFolderTitle {
get {
return ResourceManager.GetString("ImportDatFolderTitle", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to Importing DAT file....
///
- internal static string ImportDatTitle {
+ public static string ImportDatTitle {
get {
return ResourceManager.GetString("ImportDatTitle", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to Importing {0}....
///
- internal static string ImportingItem {
+ public static string ImportingItem {
get {
return ResourceManager.GetString("ImportingItem", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to Import ROM files from folder....
///
- internal static string ImportRomFolderTitle {
+ public static string ImportRomFolderTitle {
get {
return ResourceManager.GetString("ImportRomFolderTitle", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to Import ROMs from folder....
///
- internal static string ImportRomsFolderDialogTitle {
+ public static string ImportRomsFolderDialogTitle {
get {
return ResourceManager.GetString("ImportRomsFolderDialogTitle", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to Incomplete games.
///
- internal static string IncompleteMachinesLabel {
+ public static string IncompleteMachinesLabel {
get {
return ResourceManager.GetString("IncompleteMachinesLabel", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to Only import known files..
///
- internal static string KnownOnlyLabel {
+ public static string KnownOnlyLabel {
get {
return ResourceManager.GetString("KnownOnlyLabel", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to Libraries.
///
- internal static string LibrariesLabel {
+ public static string LibrariesLabel {
get {
return ResourceManager.GetString("LibrariesLabel", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to License: GNU General Public License Version 3.
///
- internal static string LicenseLabel {
+ public static string LicenseLabel {
get {
return ResourceManager.GetString("LicenseLabel", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to Loading database....
///
- internal static string LoadingDatabaseText {
+ public static string LoadingDatabaseText {
get {
return ResourceManager.GetString("LoadingDatabaseText", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to Loading ROM sets....
///
- internal static string LoadingRomSetsText {
+ public static string LoadingRomSetsText {
get {
return ResourceManager.GetString("LoadingRomSetsText", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to Loading settings....
///
- internal static string LoadingSettingsText {
+ public static string LoadingSettingsText {
get {
return ResourceManager.GetString("LoadingSettingsText", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to Migrating database....
///
- internal static string MigratingDatabaseText {
+ public static string MigratingDatabaseText {
get {
return ResourceManager.GetString("MigratingDatabaseText", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to Missing ROMs.
///
- internal static string MissRomsLabel {
+ public static string MissRomsLabel {
get {
return ResourceManager.GetString("MissRomsLabel", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to OK.
///
- internal static string OK {
+ public static string OK {
get {
return ResourceManager.GetString("OK", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to Path:.
///
- internal static string PathLabel {
+ public static string PathLabel {
get {
return ResourceManager.GetString("PathLabel", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to Try to detect archives and import their contents..
///
- internal static string RecurseArchivesLabel {
+ public static string RecurseArchivesLabel {
get {
return ResourceManager.GetString("RecurseArchivesLabel", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to Recurse subfolders..
///
- internal static string RecursiveLabel {
+ public static string RecursiveLabel {
get {
return ResourceManager.GetString("RecursiveLabel", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to Removing ROM set....
///
- internal static string RemoveDatTitle {
+ public static string RemoveDatTitle {
get {
return ResourceManager.GetString("RemoveDatTitle", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to Remove files after import successful..
///
- internal static string RemoveFilesLabel {
+ public static string RemoveFilesLabel {
get {
return ResourceManager.GetString("RemoveFilesLabel", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to Removing DAT file from repo....
///
- internal static string RemovingDatFileFromRepo {
+ public static string RemovingDatFileFromRepo {
get {
return ResourceManager.GetString("RemovingDatFileFromRepo", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to Removing old statistics.
///
- internal static string RemovingOldStatistics {
+ public static string RemovingOldStatistics {
get {
return ResourceManager.GetString("RemovingOldStatistics", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to Removing ROM set from database....
///
- internal static string RemovingRomSetFromDatabase {
+ public static string RemovingRomSetFromDatabase {
get {
return ResourceManager.GetString("RemovingRomSetFromDatabase", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to Repository folder.
///
- internal static string RepositoryFolderLabel {
+ public static string RepositoryFolderLabel {
get {
return ResourceManager.GetString("RepositoryFolderLabel", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to Filename.
///
- internal static string ResultFilenameLabel {
+ public static string ResultFilenameLabel {
get {
return ResourceManager.GetString("ResultFilenameLabel", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to Status.
///
- internal static string ResultStatusLabel {
+ public static string ResultStatusLabel {
get {
return ResourceManager.GetString("ResultStatusLabel", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to Retrieving ROM set from database....
///
- internal static string RetrievingRomSetFromDatabase {
+ public static string RetrievingRomSetFromDatabase {
get {
return ResourceManager.GetString("RetrievingRomSetFromDatabase", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to Retrieving ROM sets from database....
///
- internal static string RetrievingRomSetsFromDatabase {
+ public static string RetrievingRomSetsFromDatabase {
get {
return ResourceManager.GetString("RetrievingRomSetsFromDatabase", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to Author.
///
- internal static string RomSetAuthorLabel {
+ public static string RomSetAuthorLabel {
get {
return ResourceManager.GetString("RomSetAuthorLabel", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to Category.
///
- internal static string RomSetCategoryLabel {
+ public static string RomSetCategoryLabel {
get {
return ResourceManager.GetString("RomSetCategoryLabel", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to Comment.
///
- internal static string RomSetCommentLabel {
+ public static string RomSetCommentLabel {
get {
return ResourceManager.GetString("RomSetCommentLabel", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to Complete.
///
- internal static string RomSetCompleteMachinesLabel {
+ public static string RomSetCompleteMachinesLabel {
get {
return ResourceManager.GetString("RomSetCompleteMachinesLabel", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to Date.
///
- internal static string RomSetDateLabel {
+ public static string RomSetDateLabel {
get {
return ResourceManager.GetString("RomSetDateLabel", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to Description.
///
- internal static string RomSetDescriptionLabel {
+ public static string RomSetDescriptionLabel {
get {
return ResourceManager.GetString("RomSetDescriptionLabel", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to Have.
///
- internal static string RomSetHaveRomsLabel {
+ public static string RomSetHaveRomsLabel {
get {
return ResourceManager.GetString("RomSetHaveRomsLabel", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to Incomplete.
///
- internal static string RomSetIncompleteMachinesLabel {
+ public static string RomSetIncompleteMachinesLabel {
get {
return ResourceManager.GetString("RomSetIncompleteMachinesLabel", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to Miss.
///
- internal static string RomSetMissRomsLabel {
+ public static string RomSetMissRomsLabel {
get {
return ResourceManager.GetString("RomSetMissRomsLabel", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to Name.
///
- internal static string RomSetNameLabel {
+ public static string RomSetNameLabel {
get {
return ResourceManager.GetString("RomSetNameLabel", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to ROM sets.
///
- internal static string RomSets {
+ public static string RomSets {
get {
return ResourceManager.GetString("RomSets", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to _Delete.
///
- internal static string RomSetsMenuDeleteText {
+ public static string RomSetsMenuDeleteText {
get {
return ResourceManager.GetString("RomSetsMenuDeleteText", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to _Edit.
///
- internal static string RomSetsMenuEditText {
+ public static string RomSetsMenuEditText {
get {
return ResourceManager.GetString("RomSetsMenuEditText", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to Save DAT _file.
///
- internal static string RomSetsMenuSaveDatText {
+ public static string RomSetsMenuSaveDatText {
get {
return ResourceManager.GetString("RomSetsMenuSaveDatText", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to _Save ROMs to folder.
///
- internal static string RomSetsMenuSaveRomsText {
+ public static string RomSetsMenuSaveRomsText {
get {
return ResourceManager.GetString("RomSetsMenuSaveRomsText", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to ROM _sets.
///
- internal static string RomSetsMenuText {
+ public static string RomSetsMenuText {
get {
return ResourceManager.GetString("RomSetsMenuText", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to Games.
///
- internal static string RomSetTotalMachinesLabel {
+ public static string RomSetTotalMachinesLabel {
get {
return ResourceManager.GetString("RomSetTotalMachinesLabel", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to ROMs.
///
- internal static string RomSetTotalRomsLabel {
+ public static string RomSetTotalRomsLabel {
get {
return ResourceManager.GetString("RomSetTotalRomsLabel", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to Version.
///
- internal static string RomSetVersionLabel {
+ public static string RomSetVersionLabel {
get {
return ResourceManager.GetString("RomSetVersionLabel", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to _Import folder.
///
- internal static string RomsMenuImportText {
+ public static string RomsMenuImportText {
get {
return ResourceManager.GetString("RomsMenuImportText", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to _ROMs.
///
- internal static string RomsMenuText {
+ public static string RomsMenuText {
get {
return ResourceManager.GetString("RomsMenuText", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to Save.
///
- internal static string SaveLabel {
+ public static string SaveLabel {
get {
return ResourceManager.GetString("SaveLabel", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to Saving changes to database....
///
- internal static string SavingChangesToDatabase {
+ public static string SavingChangesToDatabase {
get {
return ResourceManager.GetString("SavingChangesToDatabase", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to Searching for files....
///
- internal static string SearchingForFiles {
+ public static string SearchingForFiles {
get {
return ResourceManager.GetString("SearchingForFiles", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to Select mount point....
///
- internal static string SelectMountPointDialogTitle {
+ public static string SelectMountPointDialogTitle {
get {
return ResourceManager.GetString("SelectMountPointDialogTitle", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to Settings.
///
- internal static string SettingsTitle {
+ public static string SettingsTitle {
get {
return ResourceManager.GetString("SettingsTitle", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to Start.
///
- internal static string StartLabel {
+ public static string StartLabel {
get {
return ResourceManager.GetString("StartLabel", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to Temporary folder.
///
- internal static string TemporaryFolderLabel {
+ public static string TemporaryFolderLabel {
get {
return ResourceManager.GetString("TemporaryFolderLabel", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to The Unarchiver version {0}.
///
- internal static string TheUnarchiverVersionLabel {
+ public static string TheUnarchiverVersionLabel {
get {
return ResourceManager.GetString("TheUnarchiverVersionLabel", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to Total games.
///
- internal static string TotalMachinesLabel {
+ public static string TotalMachinesLabel {
get {
return ResourceManager.GetString("TotalMachinesLabel", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to Total ROMs.
///
- internal static string TotalRomsLabel {
+ public static string TotalRomsLabel {
get {
return ResourceManager.GetString("TotalRomsLabel", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to Path to UnAr.
///
- internal static string UnArPathLabel {
+ public static string UnArPathLabel {
get {
return ResourceManager.GetString("UnArPathLabel", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to Do you want to update ROM set statistics in database?
///This will take a long time....
///
- internal static string UpdateStatsConfirmationDialogText {
+ public static string UpdateStatsConfirmationDialogText {
get {
return ResourceManager.GetString("UpdateStatsConfirmationDialogText", resourceCulture);
}
}
-
+
///
/// Looks up a localized string similar to Updating ROM sets statistics.
///
- internal static string UpdateStatsTitle {
+ public static string UpdateStatsTitle {
get {
return ResourceManager.GetString("UpdateStatsTitle", resourceCulture);
}
diff --git a/RomRepoMgr/RomRepoMgr.csproj b/RomRepoMgr/RomRepoMgr.csproj
index 5d89643..c12f59e 100644
--- a/RomRepoMgr/RomRepoMgr.csproj
+++ b/RomRepoMgr/RomRepoMgr.csproj
@@ -6,15 +6,13 @@
%(Filename)
+
Designer
+
+
-
- True
- True
- Localization.resx
-
@@ -33,7 +31,7 @@
-
+
@@ -44,7 +42,7 @@
- ResXFileCodeGenerator
+ PublicResXFileCodeGenerator
Localization.Designer.cs
diff --git a/RomRepoMgr/ViewModels/AboutViewModel.cs b/RomRepoMgr/ViewModels/AboutViewModel.cs
index 03400d9..4ee5740 100644
--- a/RomRepoMgr/ViewModels/AboutViewModel.cs
+++ b/RomRepoMgr/ViewModels/AboutViewModel.cs
@@ -34,7 +34,6 @@ using System.Threading.Tasks;
using Avalonia.Threading;
using ReactiveUI;
using RomRepoMgr.Core.Models;
-using RomRepoMgr.Resources;
using RomRepoMgr.Views;
namespace RomRepoMgr.ViewModels;
@@ -82,23 +81,14 @@ public sealed class AboutViewModel : ViewModelBase
});
}
- public string AboutLabel => Localization.AboutLabel;
- public string LibrariesLabel => Localization.LibrariesLabel;
- public string AuthorsLabel => Localization.AuthorsLabel;
- public string Title => Localization.AboutTitle;
- public string SoftwareName => "RomRepoMgr";
- public string SuiteName => "ROM Repository Manager";
- public string Copyright => "© 2020-2024 Natalia Portillo";
- public string Website => "https://www.claunia.com";
- public string License => Localization.LicenseLabel;
- public string CloseLabel => Localization.CloseLabel;
- public string AssembliesLibraryText => Localization.AssembliesLibraryText;
- public string AssembliesVersionText => Localization.AssembliesVersionText;
- public string Authors => Localization.AuthorsText;
- public ReactiveCommand WebsiteCommand { get; }
- public ReactiveCommand LicenseCommand { get; }
- public ReactiveCommand CloseCommand { get; }
- public ObservableCollection Assemblies { get; }
+ public string SoftwareName => "RomRepoMgr";
+ public string SuiteName => "ROM Repository Manager";
+ public string Copyright => "© 2020-2024 Natalia Portillo";
+ public string Website => "https://www.claunia.com";
+ public ReactiveCommand WebsiteCommand { get; }
+ public ReactiveCommand LicenseCommand { get; }
+ public ReactiveCommand CloseCommand { get; }
+ public ObservableCollection Assemblies { get; }
public string VersionText
{
diff --git a/RomRepoMgr/ViewModels/EditDatViewModel.cs b/RomRepoMgr/ViewModels/EditDatViewModel.cs
index c77e498..e1ecf59 100644
--- a/RomRepoMgr/ViewModels/EditDatViewModel.cs
+++ b/RomRepoMgr/ViewModels/EditDatViewModel.cs
@@ -31,7 +31,6 @@ using RomRepoMgr.Core.EventArgs;
using RomRepoMgr.Core.Models;
using RomRepoMgr.Database;
using RomRepoMgr.Database.Models;
-using RomRepoMgr.Resources;
using RomRepoMgr.Views;
namespace RomRepoMgr.ViewModels;
@@ -67,25 +66,6 @@ public class EditDatViewModel : ViewModelBase
CloseCommand = ReactiveCommand.Create(ExecuteCloseCommand);
}
- public string NameLabel => Localization.RomSetNameLabel;
- public string VersionLabel => Localization.RomSetVersionLabel;
- public string AuthorLabel => Localization.RomSetAuthorLabel;
- public string CategoryLabel => Localization.RomSetCategoryLabel;
- public string CommentLabel => Localization.RomSetCommentLabel;
- public string DateLabel => Localization.RomSetDateLabel;
- public string DescriptionLabel => Localization.RomSetDescriptionLabel;
- public string HomepageLabel => Localization.HomepageLabel;
- public string TotalMachinesLabel => Localization.TotalMachinesLabel;
- public string CompleteMachinesLabel => Localization.CompleteMachinesLabel;
- public string IncompleteMachinesLabel => Localization.IncompleteMachinesLabel;
- public string TotalRomsLabel => Localization.TotalRomsLabel;
- public string HaveRomsLabel => Localization.HaveRomsLabel;
- public string MissRomsLabel => Localization.MissRomsLabel;
- public string Title => Localization.EditDatTitle;
- public string SaveLabel => Localization.SaveLabel;
- public string CancelLabel => Localization.CancelLabel;
- public string CloseLabel => Localization.CloseLabel;
-
public ReactiveCommand SaveCommand { get; }
public ReactiveCommand CancelCommand { get; }
public ReactiveCommand CloseCommand { get; }
diff --git a/RomRepoMgr/ViewModels/ExportDatViewModel.cs b/RomRepoMgr/ViewModels/ExportDatViewModel.cs
index 7a6a2dc..6bc311f 100644
--- a/RomRepoMgr/ViewModels/ExportDatViewModel.cs
+++ b/RomRepoMgr/ViewModels/ExportDatViewModel.cs
@@ -62,8 +62,6 @@ public sealed class ExportDatViewModel : ViewModelBase
_worker.FailedWithText += OnWorkerOnFailedWithText;
}
- public string Title => Localization.ExportDatTitle;
-
public string StatusMessage
{
get => _statusMessage;
@@ -94,7 +92,6 @@ public sealed class ExportDatViewModel : ViewModelBase
set => this.RaiseAndSetIfChanged(ref _canClose, value);
}
- public string CloseLabel => Localization.CloseLabel;
public ReactiveCommand CloseCommand { get; }
void OnWorkerOnFinishedWithText(object sender, MessageEventArgs args) => Dispatcher.UIThread.Post(() =>
diff --git a/RomRepoMgr/ViewModels/ExportRomsViewModel.cs b/RomRepoMgr/ViewModels/ExportRomsViewModel.cs
index 75ec125..49dc92d 100644
--- a/RomRepoMgr/ViewModels/ExportRomsViewModel.cs
+++ b/RomRepoMgr/ViewModels/ExportRomsViewModel.cs
@@ -30,7 +30,6 @@ using Avalonia.Threading;
using ReactiveUI;
using RomRepoMgr.Core.EventArgs;
using RomRepoMgr.Core.Workers;
-using RomRepoMgr.Resources;
using RomRepoMgr.Views;
namespace RomRepoMgr.ViewModels;
@@ -68,7 +67,6 @@ public sealed class ExportRomsViewModel : ViewModelBase
CanClose = false;
}
- public string PathLabel => Localization.PathLabel;
public string FolderPath { get; }
public bool ProgressVisible
@@ -179,9 +177,6 @@ public sealed class ExportRomsViewModel : ViewModelBase
set => this.RaiseAndSetIfChanged(ref _progress3IsIndeterminate, value);
}
- public string Title => Localization.ExportRomsTitle;
- public string CloseLabel => Localization.CloseLabel;
-
public bool CanClose
{
get => _canClose;
diff --git a/RomRepoMgr/ViewModels/ImportDatFolderViewModel.cs b/RomRepoMgr/ViewModels/ImportDatFolderViewModel.cs
index 4d22d2d..02bcbcb 100644
--- a/RomRepoMgr/ViewModels/ImportDatFolderViewModel.cs
+++ b/RomRepoMgr/ViewModels/ImportDatFolderViewModel.cs
@@ -75,11 +75,7 @@ public sealed class ImportDatFolderViewModel : ViewModelBase
StartCommand = ReactiveCommand.Create(ExecuteStartCommand);
}
- public string PathLabel => Localization.PathLabel;
- public string CategoryLabel => Localization.RomSetCategoryLabel;
- public string FolderPath { get; }
- public string AllFilesLabel => Localization.AllFilesLabel;
- public string RecursiveLabel => Localization.RecursiveLabel;
+ public string FolderPath { get; }
public bool AllFilesChecked
{
@@ -191,13 +187,7 @@ public sealed class ImportDatFolderViewModel : ViewModelBase
set => this.RaiseAndSetIfChanged(ref _category, value);
}
- public string Title => Localization.ImportDatFolderTitle;
-
- public ObservableCollection ImportResults { get; }
- public string ResultFilenameLabel => Localization.ResultFilenameLabel;
- public string ResultStatusLabel => Localization.ResultStatusLabel;
- public string CloseLabel => Localization.CloseLabel;
- public string StartLabel => Localization.StartLabel;
+ public ObservableCollection ImportResults { get; }
public bool CanClose
{
diff --git a/RomRepoMgr/ViewModels/ImportDatViewModel.cs b/RomRepoMgr/ViewModels/ImportDatViewModel.cs
index 0b5f225..4301a55 100644
--- a/RomRepoMgr/ViewModels/ImportDatViewModel.cs
+++ b/RomRepoMgr/ViewModels/ImportDatViewModel.cs
@@ -30,7 +30,6 @@ using Avalonia.Threading;
using ReactiveUI;
using RomRepoMgr.Core.EventArgs;
using RomRepoMgr.Core.Workers;
-using RomRepoMgr.Resources;
using RomRepoMgr.Views;
namespace RomRepoMgr.ViewModels;
@@ -65,8 +64,6 @@ public sealed class ImportDatViewModel : ViewModelBase
_worker.WorkFinished += OnWorkerOnWorkFinished;
}
- public string Title => Localization.ImportDatTitle;
-
public string StatusMessage
{
get => _statusMessage;
@@ -121,7 +118,6 @@ public sealed class ImportDatViewModel : ViewModelBase
set => this.RaiseAndSetIfChanged(ref _canClose, value);
}
- public string CloseLabel => Localization.CloseLabel;
public ReactiveCommand CloseCommand { get; }
void OnWorkerOnWorkFinished(object sender, MessageEventArgs args) => Dispatcher.UIThread.Post(() =>
diff --git a/RomRepoMgr/ViewModels/ImportRomFolderViewModel.cs b/RomRepoMgr/ViewModels/ImportRomFolderViewModel.cs
index 4114953..4cb76a4 100644
--- a/RomRepoMgr/ViewModels/ImportRomFolderViewModel.cs
+++ b/RomRepoMgr/ViewModels/ImportRomFolderViewModel.cs
@@ -77,11 +77,7 @@ public sealed class ImportRomFolderViewModel : ViewModelBase
_removeFilesEnabled = false;
}
- public string PathLabel => Localization.PathLabel;
public string FolderPath { get; }
- public string RemoveFilesLabel => Localization.RemoveFilesLabel;
- public string KnownOnlyLabel => Localization.KnownOnlyLabel;
- public string RecurseArchivesLabel => Localization.RecurseArchivesLabel;
public bool RecurseArchivesEnabled => Settings.Settings.UnArUsable;
public bool RemoveFilesChecked
@@ -198,13 +194,7 @@ public sealed class ImportRomFolderViewModel : ViewModelBase
set => this.RaiseAndSetIfChanged(ref _isImporting, value);
}
- public string Title => Localization.ImportRomFolderTitle;
-
- public ObservableCollection ImportResults { get; }
- public string ResultFilenameLabel => Localization.ResultFilenameLabel;
- public string ResultStatusLabel => Localization.ResultStatusLabel;
- public string CloseLabel => Localization.CloseLabel;
- public string StartLabel => Localization.StartLabel;
+ public ObservableCollection ImportResults { get; }
public bool CanClose
{
diff --git a/RomRepoMgr/ViewModels/MainWindowViewModel.cs b/RomRepoMgr/ViewModels/MainWindowViewModel.cs
index 0e02777..4102a5d 100644
--- a/RomRepoMgr/ViewModels/MainWindowViewModel.cs
+++ b/RomRepoMgr/ViewModels/MainWindowViewModel.cs
@@ -71,41 +71,8 @@ public class MainWindowViewModel : ViewModelBase
RomSets = new ObservableCollection(romSets);
}
- public ObservableCollection RomSets { get; }
- public string RomSetLabel => Localization.RomSets;
- public string RomSetNameLabel => Localization.RomSetNameLabel;
- public string RomSetVersionLabel => Localization.RomSetVersionLabel;
- public string RomSetAuthorLabel => Localization.RomSetAuthorLabel;
- public string RomSetCategoryLabel => Localization.RomSetCategoryLabel;
- public string RomSetDateLabel => Localization.RomSetDateLabel;
- public string RomSetDescriptionLabel => Localization.RomSetDescriptionLabel;
- public string RomSetCommentLabel => Localization.RomSetCommentLabel;
- public string RomSetTotalMachinesLabel => Localization.RomSetTotalMachinesLabel;
- public string RomSetCompleteMachinesLabel => Localization.RomSetCompleteMachinesLabel;
- public string RomSetIncompleteMachinesLabel => Localization.RomSetIncompleteMachinesLabel;
- public string RomSetTotalRomsLabel => Localization.RomSetTotalRomsLabel;
- public string RomSetHaveRomsLabel => Localization.RomSetHaveRomsLabel;
- public string RomSetMissRomsLabel => Localization.RomSetMissRomsLabel;
- public bool IsVfsAvailable => Vfs.IsAvailable;
- public string FileMenuText => Localization.FileMenuText;
- public string FileMenuImportDatFileText => Localization.FileMenuImportDatFileText;
- public string FileMenuImportDatFolderText => Localization.FileMenuImportDatFolderText;
- public string FileMenuSettingsText => Localization.FileMenuSettingsText;
- public string FileMenuExitText => Localization.FileMenuExitText;
- public string FilesystemMenuText => Localization.FilesystemMenuText;
- public string FilesystemMenuMountText => Localization.FilesystemMenuMountText;
- public string RomsMenuText => Localization.RomsMenuText;
- public string RomsMenuImportText => Localization.RomsMenuImportText;
- public string RomSetsMenuText => Localization.RomSetsMenuText;
- public string RomSetsMenuSaveRomsText => Localization.RomSetsMenuSaveRomsText;
- public string RomSetsMenuSaveDatText => Localization.RomSetsMenuSaveDatText;
- public string RomSetsMenuEditText => Localization.RomSetsMenuEditText;
- public string RomSetsMenuDeleteText => Localization.RomSetsMenuDeleteText;
- public string HelpMenuText => Localization.HelpMenuText;
- public string HelpMenuAboutText => Localization.HelpMenuAboutText;
- public string FilesystemMenuUmountText => Localization.FilesystemMenuUmountText;
- public string DatabaseMenuText => Localization.DatabaseMenuText;
- public string DatabaseMenuUpdateStatsText => Localization.DatabaseMenuUpdateStatsText;
+ public ObservableCollection RomSets { get; }
+ public bool IsVfsAvailable => Vfs.IsAvailable;
public bool NativeMenuSupported =>
NativeMenu.GetIsNativeMenuExported((Application.Current.ApplicationLifetime as
@@ -159,18 +126,9 @@ public class MainWindowViewModel : ViewModelBase
{
var datFileType = new FilePickerFileType(Localization.DatFilesDialogLabel)
{
- Patterns =
- [
- "*.dat", "*.xml"
- ],
- AppleUniformTypeIdentifiers =
- [
- "public.xml", "public.json"
- ],
- MimeTypes =
- [
- "application/xml", "text/*"
- ]
+ Patterns = ["*.dat", "*.xml"],
+ AppleUniformTypeIdentifiers = ["public.xml", "public.json"],
+ MimeTypes = ["application/xml", "text/*"]
};
IReadOnlyList result = await _view.StorageProvider.OpenFilePickerAsync(new FilePickerOpenOptions
diff --git a/RomRepoMgr/ViewModels/RemoveDatViewModel.cs b/RomRepoMgr/ViewModels/RemoveDatViewModel.cs
index a41d4df..6dc93e3 100644
--- a/RomRepoMgr/ViewModels/RemoveDatViewModel.cs
+++ b/RomRepoMgr/ViewModels/RemoveDatViewModel.cs
@@ -39,8 +39,6 @@ public sealed class RemoveDatViewModel(RemoveDat view, long romSetId) : ViewMode
{
string _statusMessage;
- public string Title => Localization.RemoveDatTitle;
-
public string StatusMessage
{
get => _statusMessage;
diff --git a/RomRepoMgr/ViewModels/SettingsViewModel.cs b/RomRepoMgr/ViewModels/SettingsViewModel.cs
index e9beadc..50084b0 100644
--- a/RomRepoMgr/ViewModels/SettingsViewModel.cs
+++ b/RomRepoMgr/ViewModels/SettingsViewModel.cs
@@ -79,14 +79,6 @@ public sealed class SettingsViewModel : ViewModelBase
if(!string.IsNullOrWhiteSpace(UnArPath)) CheckUnAr();
}
- public string ChooseLabel => Localization.ChooseLabel;
- public string Title => Localization.SettingsTitle;
- public string CloseLabel => Localization.CloseLabel;
- public string DatabaseLabel => Localization.DatabaseFileLabel;
- public string RepositoryLabel => Localization.RepositoryFolderLabel;
- public string TemporaryLabel => Localization.TemporaryFolderLabel;
- public string UnArPathLabel => Localization.UnArPathLabel;
-
public ReactiveCommand UnArCommand { get; }
public ReactiveCommand TemporaryCommand { get; }
public ReactiveCommand RepositoryCommand { get; }
@@ -138,8 +130,6 @@ public sealed class SettingsViewModel : ViewModelBase
set => this.RaiseAndSetIfChanged(ref _unArVersion, value);
}
- public string SaveLabel => Localization.SaveLabel;
-
void CheckUnAr()
{
var worker = new Compression();
@@ -155,7 +145,7 @@ public sealed class SettingsViewModel : ViewModelBase
UnArVersion = "";
UnArPath = "";
- _ = MessageBoxManager.GetMessageBoxStandard(Localization.Error, $"{args.Message}", ButtonEnum.Ok, Icon.Error)
+ _ = MessageBoxManager.GetMessageBoxStandard(Localization.Error, args.Message, ButtonEnum.Ok, Icon.Error)
.ShowWindowDialogAsync(_view);
}
diff --git a/RomRepoMgr/ViewModels/SplashWindowViewModel.cs b/RomRepoMgr/ViewModels/SplashWindowViewModel.cs
index 2cfddb2..3af0044 100644
--- a/RomRepoMgr/ViewModels/SplashWindowViewModel.cs
+++ b/RomRepoMgr/ViewModels/SplashWindowViewModel.cs
@@ -37,7 +37,6 @@ using RomRepoMgr.Core.EventArgs;
using RomRepoMgr.Core.Models;
using RomRepoMgr.Core.Workers;
using RomRepoMgr.Database;
-using RomRepoMgr.Resources;
namespace RomRepoMgr.ViewModels;
@@ -180,13 +179,7 @@ public sealed class SplashWindowViewModel : ViewModelBase
set => this.RaiseAndSetIfChanged(ref _loadingRomSetsUnknown, value);
}
- public string LoadingText => "ROM Repository Manager";
- public string LoadingSettingsText => Localization.LoadingSettingsText;
- public string CheckingUnArText => Localization.CheckingUnArText;
- public string LoadingDatabaseText => Localization.LoadingDatabaseText;
- public string MigratingDatabaseText => Localization.MigratingDatabaseText;
- public string LoadingRomSetsText => Localization.LoadingRomSetsText;
- public string ExitButtonText => Localization.ExitButtonText;
+ public string LoadingText => "ROM Repository Manager";
void ExecuteExitCommand() =>
(Application.Current.ApplicationLifetime as ClassicDesktopStyleApplicationLifetime)?.Shutdown();
diff --git a/RomRepoMgr/ViewModels/UpdateStatsViewModel.cs b/RomRepoMgr/ViewModels/UpdateStatsViewModel.cs
index e87b2ba..632fc68 100644
--- a/RomRepoMgr/ViewModels/UpdateStatsViewModel.cs
+++ b/RomRepoMgr/ViewModels/UpdateStatsViewModel.cs
@@ -60,21 +60,6 @@ public sealed class UpdateStatsViewModel : ViewModelBase
RomSets = [];
}
- public string Title => Localization.UpdateStatsTitle;
- public string RomSetNameLabel => Localization.RomSetNameLabel;
- public string RomSetVersionLabel => Localization.RomSetVersionLabel;
- public string RomSetAuthorLabel => Localization.RomSetAuthorLabel;
- public string RomSetCategoryLabel => Localization.RomSetCategoryLabel;
- public string RomSetDateLabel => Localization.RomSetDateLabel;
- public string RomSetDescriptionLabel => Localization.RomSetDescriptionLabel;
- public string RomSetCommentLabel => Localization.RomSetCommentLabel;
- public string RomSetTotalMachinesLabel => Localization.RomSetTotalMachinesLabel;
- public string RomSetCompleteMachinesLabel => Localization.RomSetCompleteMachinesLabel;
- public string RomSetIncompleteMachinesLabel => Localization.RomSetIncompleteMachinesLabel;
- public string RomSetTotalRomsLabel => Localization.RomSetTotalRomsLabel;
- public string RomSetHaveRomsLabel => Localization.RomSetHaveRomsLabel;
- public string RomSetMissRomsLabel => Localization.RomSetMissRomsLabel;
-
public string StatusMessage
{
get => _statusMessage;
@@ -125,7 +110,6 @@ public sealed class UpdateStatsViewModel : ViewModelBase
public ObservableCollection RomSets { get; }
- public string CloseLabel => Localization.CloseLabel;
public ReactiveCommand CloseCommand { get; }
internal void OnOpened()
diff --git a/RomRepoMgr/Views/About.xaml b/RomRepoMgr/Views/About.xaml
index 27fd9e3..93846f6 100644
--- a/RomRepoMgr/Views/About.xaml
+++ b/RomRepoMgr/Views/About.xaml
@@ -29,6 +29,7 @@
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:vm="clr-namespace:RomRepoMgr.ViewModels;assembly=RomRepoMgr"
+ xmlns:resources="clr-namespace:RomRepoMgr.Resources"
mc:Ignorable="d"
d:DesignWidth="800"
d:DesignHeight="450"
@@ -37,7 +38,7 @@
x:Class="RomRepoMgr.Views.About"
Icon="/Assets/avalonia-logo.ico"
CanResize="False"
- Title="{Binding Title}">
+ Title="{x:Static resources:Localization.AboutTitle}">
@@ -79,15 +80,9 @@
VerticalAlignment="Stretch">
-
+
-
-
-
-
-
-
-
+
-
-
+
@@ -127,14 +122,14 @@
Width="Auto"
IsReadOnly="True">
-
+
-
+
@@ -142,17 +137,17 @@
-
+
+ Text="{x:Static resources:Localization.AuthorsText}" />
diff --git a/RomRepoMgr/Views/EditDat.xaml b/RomRepoMgr/Views/EditDat.xaml
index add32b0..54ec86a 100644
--- a/RomRepoMgr/Views/EditDat.xaml
+++ b/RomRepoMgr/Views/EditDat.xaml
@@ -29,6 +29,7 @@
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:vm="clr-namespace:RomRepoMgr.ViewModels;assembly=RomRepoMgr"
+ xmlns:resources="clr-namespace:RomRepoMgr.Resources"
mc:Ignorable="d"
d:DesignWidth="800"
d:DesignHeight="450"
@@ -37,7 +38,7 @@
x:Class="RomRepoMgr.Views.EditDat"
Icon="/Assets/avalonia-logo.ico"
CanResize="False"
- Title="{Binding Title}"
+ Title="{x:Static resources:Localization.EditDatTitle}"
WindowStartupLocation="CenterScreen">
@@ -58,7 +59,7 @@
-
+
diff --git a/RomRepoMgr/Views/ExportDat.xaml b/RomRepoMgr/Views/ExportDat.xaml
index 1b74555..7622dc6 100644
--- a/RomRepoMgr/Views/ExportDat.xaml
+++ b/RomRepoMgr/Views/ExportDat.xaml
@@ -29,6 +29,7 @@
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:vm="clr-namespace:RomRepoMgr.ViewModels;assembly=RomRepoMgr"
+ xmlns:resources="clr-namespace:RomRepoMgr.Resources"
mc:Ignorable="d"
d:DesignWidth="800"
d:DesignHeight="450"
@@ -37,7 +38,7 @@
x:Class="RomRepoMgr.Views.ExportDat"
Icon="/Assets/avalonia-logo.ico"
CanResize="False"
- Title="{Binding Title}"
+ Title="{x:Static resources:Localization.ExportDatTitle}"
WindowStartupLocation="CenterOwner">
@@ -65,7 +66,7 @@
VerticalAlignment="Center"
IsEnabled="{Binding CanClose}"
Command="{Binding CloseCommand}">
-
+
diff --git a/RomRepoMgr/Views/ExportRoms.xaml b/RomRepoMgr/Views/ExportRoms.xaml
index e5ad32d..bb42a4b 100644
--- a/RomRepoMgr/Views/ExportRoms.xaml
+++ b/RomRepoMgr/Views/ExportRoms.xaml
@@ -29,6 +29,7 @@
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:vm="clr-namespace:RomRepoMgr.ViewModels;assembly=RomRepoMgr"
+ xmlns:resources="clr-namespace:RomRepoMgr.Resources"
mc:Ignorable="d"
d:DesignWidth="800"
d:DesignHeight="450"
@@ -37,7 +38,7 @@
x:Class="RomRepoMgr.Views.ExportRoms"
Icon="/Assets/avalonia-logo.ico"
CanResize="False"
- Title="{Binding Title}"
+ Title="{x:Static resources:Localization.ExportRomsTitle}"
WindowStartupLocation="CenterOwner">
@@ -52,7 +53,7 @@
-
@@ -87,7 +88,7 @@
VerticalAlignment="Center"
IsEnabled="{Binding CanClose}"
Command="{Binding CloseCommand}">
-
+
diff --git a/RomRepoMgr/Views/ImportDat.xaml b/RomRepoMgr/Views/ImportDat.xaml
index 9aefd66..6686b69 100644
--- a/RomRepoMgr/Views/ImportDat.xaml
+++ b/RomRepoMgr/Views/ImportDat.xaml
@@ -29,6 +29,7 @@
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:vm="clr-namespace:RomRepoMgr.ViewModels;assembly=RomRepoMgr"
+ xmlns:resources="clr-namespace:RomRepoMgr.Resources"
mc:Ignorable="d"
d:DesignWidth="800"
d:DesignHeight="450"
@@ -37,7 +38,7 @@
x:Class="RomRepoMgr.Views.ImportDat"
Icon="/Assets/avalonia-logo.ico"
CanResize="False"
- Title="{Binding Title}"
+ Title="{x:Static resources:Localization.ImportDatTitle}"
WindowStartupLocation="CenterOwner">
@@ -68,7 +69,7 @@
VerticalAlignment="Center"
IsEnabled="{Binding CanClose}"
Command="{Binding CloseCommand}">
-
+
diff --git a/RomRepoMgr/Views/ImportDatFolder.xaml b/RomRepoMgr/Views/ImportDatFolder.xaml
index ba48137..d8157b7 100644
--- a/RomRepoMgr/Views/ImportDatFolder.xaml
+++ b/RomRepoMgr/Views/ImportDatFolder.xaml
@@ -29,6 +29,7 @@
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:vm="clr-namespace:RomRepoMgr.ViewModels;assembly=RomRepoMgr"
+ xmlns:resources="clr-namespace:RomRepoMgr.Resources"
mc:Ignorable="d"
d:DesignWidth="800"
d:DesignHeight="450"
@@ -37,7 +38,7 @@
x:Class="RomRepoMgr.Views.ImportDatFolder"
Icon="/Assets/avalonia-logo.ico"
CanResize="False"
- Title="{Binding Title}"
+ Title="{x:Static resources:Localization.ImportDatFolderTitle}"
WindowStartupLocation="CenterOwner">
@@ -52,7 +53,7 @@
-
@@ -63,7 +64,7 @@
-
+
-
+
-
+
-
+
@@ -133,13 +134,13 @@
VerticalAlignment="Center"
IsEnabled="{Binding CanClose}"
Command="{Binding CloseCommand}">
-
+
diff --git a/RomRepoMgr/Views/ImportRomFolder.xaml b/RomRepoMgr/Views/ImportRomFolder.xaml
index 1d572da..214f9e2 100644
--- a/RomRepoMgr/Views/ImportRomFolder.xaml
+++ b/RomRepoMgr/Views/ImportRomFolder.xaml
@@ -29,6 +29,7 @@
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:vm="clr-namespace:RomRepoMgr.ViewModels;assembly=RomRepoMgr"
+ xmlns:resources="clr-namespace:RomRepoMgr.Resources"
mc:Ignorable="d"
d:DesignWidth="800"
d:DesignHeight="450"
@@ -37,7 +38,7 @@
x:Class="RomRepoMgr.Views.ImportRomFolder"
Icon="/Assets/avalonia-logo.ico"
CanResize="False"
- Title="{Binding Title}"
+ Title="{x:Static resources:Localization.ImportRomFolderTitle}"
WindowStartupLocation="CenterOwner">
@@ -52,7 +53,7 @@
-
@@ -61,14 +62,14 @@
IsEnabled="{Binding RemoveFilesEnabled}"
IsVisible="{Binding IsReady}">
-
+
-
+
-
+
-
+
-
+
@@ -125,13 +126,13 @@
VerticalAlignment="Center"
IsEnabled="{Binding CanClose}"
Command="{Binding CloseCommand}">
-
+
diff --git a/RomRepoMgr/Views/MainWindow.xaml b/RomRepoMgr/Views/MainWindow.xaml
index af3df42..d008126 100644
--- a/RomRepoMgr/Views/MainWindow.xaml
+++ b/RomRepoMgr/Views/MainWindow.xaml
@@ -3,6 +3,7 @@
xmlns:vm="clr-namespace:RomRepoMgr.ViewModels;assembly=RomRepoMgr"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
+ xmlns:resources="clr-namespace:RomRepoMgr.Resources"
mc:Ignorable="d"
d:DesignWidth="800"
d:DesignHeight="450"
@@ -14,59 +15,58 @@