mirror of
https://github.com/ppy/osu.git
synced 2025-01-26 18:03:11 +08:00
Use different wording
This commit is contained in:
parent
898d5ce88b
commit
ec26ab51d1
@ -137,11 +137,11 @@ namespace osu.Game.Screens.Play
|
|||||||
if (displayNotification || shouldExit)
|
if (displayNotification || shouldExit)
|
||||||
{
|
{
|
||||||
string whatWillHappen = shouldExit
|
string whatWillHappen = shouldExit
|
||||||
? "You are not able to submit a score."
|
? "Play in this state is not permitted."
|
||||||
: "The following score will not be submitted.";
|
: "Your score will not be submitted.";
|
||||||
|
|
||||||
if (string.IsNullOrEmpty(exception.Message))
|
if (string.IsNullOrEmpty(exception.Message))
|
||||||
Logger.Error(exception, $"{whatWillHappen} Failed to retrieve a score submission token.");
|
Logger.Error(exception, $"Failed to retrieve a score submission token.\n\n{whatWillHappen}");
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
switch (exception.Message)
|
switch (exception.Message)
|
||||||
@ -149,11 +149,11 @@ namespace osu.Game.Screens.Play
|
|||||||
case @"missing token header":
|
case @"missing token header":
|
||||||
case @"invalid client hash":
|
case @"invalid client hash":
|
||||||
case @"invalid verification hash":
|
case @"invalid verification hash":
|
||||||
Logger.Log($"{whatWillHappen} Please ensure that you are using the latest version of the official game releases.", level: LogLevel.Important);
|
Logger.Log($"Please ensure that you are using the latest version of the official game releases.\n\n{whatWillHappen}", level: LogLevel.Important);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case @"expired token":
|
case @"expired token":
|
||||||
Logger.Log($"{whatWillHappen} Your system clock is set incorrectly. Please check your system time, date and timezone.", level: LogLevel.Important);
|
Logger.Log($"Your system clock is set incorrectly. Please check your system time, date and timezone.\n\n{whatWillHappen}", level: LogLevel.Important);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
Loading…
Reference in New Issue
Block a user