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)
{
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);
}
}

View File

@ -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}");
}
}
}

View File

@ -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!");
}
}
}

View File

@ -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;

View File

@ -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!");
}
}
}