From ca848d635930928df96f0adcdb8f46abf1c2231a Mon Sep 17 00:00:00 2001 From: VocalFan <45863583+Mou-Ikkai@users.noreply.github.com> Date: Thu, 18 Mar 2021 18:44:39 -0400 Subject: [PATCH] Minor wording fixes... Except I'm doing it for all of Ryujinx. (#2078) * Minor wording fixes * Exit dialogue. * Update MainWindow.cs * Update DlcWindow.cs * I found an actual typo for once. * There we go. * Fix * Update MainWindow.cs * MainWindow is done * Update ControllerWindow.cs --- Ryujinx/Ui/MainWindow.cs | 8 ++++---- Ryujinx/Ui/Widgets/GameTableContextMenu.cs | 10 +++++----- Ryujinx/Ui/Widgets/GtkDialog.cs | 4 ++-- Ryujinx/Ui/Windows/ControllerWindow.cs | 4 ++-- Ryujinx/Ui/Windows/DlcWindow.cs | 4 ++-- 5 files changed, 15 insertions(+), 15 deletions(-) diff --git a/Ryujinx/Ui/MainWindow.cs b/Ryujinx/Ui/MainWindow.cs index 634a17816..56a426a50 100644 --- a/Ryujinx/Ui/MainWindow.cs +++ b/Ryujinx/Ui/MainWindow.cs @@ -452,7 +452,7 @@ namespace Ryujinx.Ui { if (_gameLoaded) { - GtkDialog.CreateInfoDialog("A game has already been loaded", "Please close it first and try again."); + GtkDialog.CreateInfoDialog("A game has already been loaded", "Please stop emulation or close the emulator before launching another game."); } else { @@ -559,14 +559,14 @@ namespace Ryujinx.Ui _emulationContext.LoadNsp(path); break; default: - Logger.Info?.Print(LogClass.Application, "Loading as homebrew."); + Logger.Info?.Print(LogClass.Application, "Loading as Homebrew."); try { _emulationContext.LoadProgram(path); } catch (ArgumentOutOfRangeException) { - Logger.Error?.Print(LogClass.Application, "The file which you have specified is unsupported by Ryujinx."); + Logger.Error?.Print(LogClass.Application, "The specified file is not supported by Ryujinx."); } break; } @@ -1230,7 +1230,7 @@ namespace Ryujinx.Ui { Updater.BeginParse(this, true).ContinueWith(task => { - Logger.Error?.Print(LogClass.Application, $"Updater Error: {task.Exception}"); + Logger.Error?.Print(LogClass.Application, $"Updater error: {task.Exception}"); }, TaskContinuationOptions.OnlyOnFaulted); } } diff --git a/Ryujinx/Ui/Widgets/GameTableContextMenu.cs b/Ryujinx/Ui/Widgets/GameTableContextMenu.cs index 79cda5ae0..487433c2b 100644 --- a/Ryujinx/Ui/Widgets/GameTableContextMenu.cs +++ b/Ryujinx/Ui/Widgets/GameTableContextMenu.cs @@ -259,11 +259,11 @@ namespace Ryujinx.Ui.Widgets if (mainNca == null) { - Logger.Error?.Print(LogClass.Application, "Extraction failed. The main NCA was not present in the selected file."); + Logger.Error?.Print(LogClass.Application, "Extraction failure. The main NCA is not present in the selected file."); Gtk.Application.Invoke(delegate { - GtkDialog.CreateErrorDialog("Extraction failed. The main NCA was not present in the selected file."); + GtkDialog.CreateErrorDialog("Extraction failure. The main NCA is not present in the selected file."); }); return; @@ -314,7 +314,7 @@ namespace Ryujinx.Ui.Widgets { Title = "Ryujinx - NCA Section Extractor", Icon = new Gdk.Pixbuf(Assembly.GetExecutingAssembly(), "Ryujinx.Ui.Resources.Logo_Ryujinx.png"), - SecondaryText = "Extraction has completed successfully.", + SecondaryText = "Extraction completed successfully.", WindowPosition = WindowPosition.Center }; @@ -572,7 +572,7 @@ namespace Ryujinx.Ui.Widgets } catch (Exception e) { - GtkDialog.CreateErrorDialog($"Error purging shader cache {directory.Name}: {e}"); + GtkDialog.CreateErrorDialog($"Error purging shader cache at {directory.Name}: {e}"); } } } @@ -580,4 +580,4 @@ namespace Ryujinx.Ui.Widgets warningDialog.Dispose(); } } -} \ No newline at end of file +} diff --git a/Ryujinx/Ui/Widgets/GtkDialog.cs b/Ryujinx/Ui/Widgets/GtkDialog.cs index d8bad60f2..3d19724d6 100644 --- a/Ryujinx/Ui/Widgets/GtkDialog.cs +++ b/Ryujinx/Ui/Widgets/GtkDialog.cs @@ -78,7 +78,7 @@ namespace Ryujinx.Ui.Widgets internal static bool CreateExitDialog() { - return CreateChoiceDialog("Ryujinx - Exit", "Are you sure you want to stop emulation?", "All unsaved data will be lost!"); + return CreateChoiceDialog("Ryujinx - Exit", "Are you sure you want to close Ryujinx?", "All unsaved data will be lost!"); } } -} \ No newline at end of file +} diff --git a/Ryujinx/Ui/Windows/ControllerWindow.cs b/Ryujinx/Ui/Windows/ControllerWindow.cs index 67c02a0b1..8654fc6f7 100644 --- a/Ryujinx/Ui/Windows/ControllerWindow.cs +++ b/Ryujinx/Ui/Windows/ControllerWindow.cs @@ -579,7 +579,7 @@ namespace Ryujinx.Ui.Windows if (!_inputDevice.ActiveId.StartsWith("disabled")) { - GtkDialog.CreateErrorDialog("Some fields entered where invalid and therefore your config was not saved."); + GtkDialog.CreateErrorDialog("Invalid data detected in one or more fields; the configuration was not saved."); } return null; @@ -959,4 +959,4 @@ namespace Ryujinx.Ui.Windows Dispose(); } } -} \ No newline at end of file +} diff --git a/Ryujinx/Ui/Windows/DlcWindow.cs b/Ryujinx/Ui/Windows/DlcWindow.cs index 13a63088b..458b09000 100644 --- a/Ryujinx/Ui/Windows/DlcWindow.cs +++ b/Ryujinx/Ui/Windows/DlcWindow.cs @@ -160,7 +160,7 @@ namespace Ryujinx.Ui.Windows if (!containsDlc) { - GtkDialog.CreateErrorDialog("The specified file does not contain a DLC for the selected title!"); + GtkDialog.CreateErrorDialog("The specified file does not contain DLC for the selected title!"); } } } @@ -250,4 +250,4 @@ namespace Ryujinx.Ui.Windows Dispose(); } } -} \ No newline at end of file +}