mirror of
https://github.com/ppy/osu.git
synced 2026-05-21 17:30:13 +08:00
Adjust API disconnection text to be usable in more scenarios
This commit is contained in:
@@ -146,9 +146,9 @@ Click to see what's new!", version);
|
||||
public static LocalisableString FriendOffline(string info) => new TranslatableString(getKey(@"friend_offline"), @"Offline: {0}", info);
|
||||
|
||||
/// <summary>
|
||||
/// "Connection to API was lost. Can't continue with online play."
|
||||
/// "Connection to online services was interrupted. osu! will be operating with limited functionality."
|
||||
/// </summary>
|
||||
public static LocalisableString APIDisconnect => new TranslatableString(getKey(@"api_disconnect"), @"Connection to API was lost. Can't continue with online play.");
|
||||
public static LocalisableString APIConnectionInterrupted => new TranslatableString(getKey(@"api_connection_interrupted"), @"Connection to online services was interrupted. osu! will be operating with limited functionality.");
|
||||
|
||||
/// <summary>
|
||||
/// "Connection to the multiplayer server was lost. Exiting multiplayer."
|
||||
|
||||
@@ -89,7 +89,7 @@ namespace osu.Game.Online
|
||||
notificationOverlay?.Post(new SimpleErrorNotification
|
||||
{
|
||||
Icon = FontAwesome.Solid.ExclamationCircle,
|
||||
Text = NotificationsStrings.APIDisconnect,
|
||||
Text = NotificationsStrings.APIConnectionInterrupted,
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user