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
This commit is contained in:
VocalFan 2021-03-18 18:44:39 -04:00 committed by GitHub
parent a56423802c
commit ca848d6359
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 15 additions and 15 deletions

View file

@ -452,7 +452,7 @@ namespace Ryujinx.Ui
{ {
if (_gameLoaded) 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 else
{ {
@ -559,14 +559,14 @@ namespace Ryujinx.Ui
_emulationContext.LoadNsp(path); _emulationContext.LoadNsp(path);
break; break;
default: default:
Logger.Info?.Print(LogClass.Application, "Loading as homebrew."); Logger.Info?.Print(LogClass.Application, "Loading as Homebrew.");
try try
{ {
_emulationContext.LoadProgram(path); _emulationContext.LoadProgram(path);
} }
catch (ArgumentOutOfRangeException) 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; break;
} }
@ -1230,7 +1230,7 @@ namespace Ryujinx.Ui
{ {
Updater.BeginParse(this, true).ContinueWith(task => 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); }, TaskContinuationOptions.OnlyOnFaulted);
} }
} }

View file

@ -259,11 +259,11 @@ namespace Ryujinx.Ui.Widgets
if (mainNca == null) 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 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; return;
@ -314,7 +314,7 @@ namespace Ryujinx.Ui.Widgets
{ {
Title = "Ryujinx - NCA Section Extractor", Title = "Ryujinx - NCA Section Extractor",
Icon = new Gdk.Pixbuf(Assembly.GetExecutingAssembly(), "Ryujinx.Ui.Resources.Logo_Ryujinx.png"), Icon = new Gdk.Pixbuf(Assembly.GetExecutingAssembly(), "Ryujinx.Ui.Resources.Logo_Ryujinx.png"),
SecondaryText = "Extraction has completed successfully.", SecondaryText = "Extraction completed successfully.",
WindowPosition = WindowPosition.Center WindowPosition = WindowPosition.Center
}; };
@ -572,7 +572,7 @@ namespace Ryujinx.Ui.Widgets
} }
catch (Exception e) catch (Exception e)
{ {
GtkDialog.CreateErrorDialog($"Error purging shader cache {directory.Name}: {e}"); GtkDialog.CreateErrorDialog($"Error purging shader cache at {directory.Name}: {e}");
} }
} }
} }

View file

@ -78,7 +78,7 @@ namespace Ryujinx.Ui.Widgets
internal static bool CreateExitDialog() 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!");
} }
} }
} }

View file

@ -579,7 +579,7 @@ namespace Ryujinx.Ui.Windows
if (!_inputDevice.ActiveId.StartsWith("disabled")) 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; return null;

View file

@ -160,7 +160,7 @@ namespace Ryujinx.Ui.Windows
if (!containsDlc) 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!");
} }
} }
} }