mirror of
https://github.com/SK-la/Ez2Lazer.git
synced 2026-03-13 11:20:28 +00:00
Make edits based on reviews
This commit is contained in:
@@ -198,17 +198,17 @@ Click to see what's new!", version);
|
||||
/// <summary>
|
||||
/// "A newer release of osu! has been found ({0} → {1})."
|
||||
/// </summary>
|
||||
public static LocalisableString UpdateAvailable(string version, string latestTagName) => new TranslatableString(getKey(@"update_available"), @"A newer release of osu! has been found ({0} → {1}).", version, latestTagName);
|
||||
public static LocalisableString UpdateAvailable(string oldVersion, string newVersion) => new TranslatableString(getKey(@"update_available"), @"A newer release of osu! has been found ({0} → {1}).", oldVersion, newVersion);
|
||||
|
||||
/// <summary>
|
||||
/// "Click here to download the new version, which can be installed over the top of your existing installation"
|
||||
/// "Click here to download the new version, which can be installed over the top of your existing installation."
|
||||
/// </summary>
|
||||
public static LocalisableString UpdateMobile => new TranslatableString(getKey(@"update_mobile"), @"Click here to download the new version, which can be installed over the top of your existing installation");
|
||||
public static LocalisableString UpdateAvailableManualInstall => new TranslatableString(getKey(@"update_available_manual_install"), @"Click here to download the new version, which can be installed over the top of your existing installation.");
|
||||
|
||||
/// <summary>
|
||||
/// "Check with your package manager / provider to bring osu! up-to-date!"
|
||||
/// </summary>
|
||||
public static LocalisableString UpdateNoAction => new TranslatableString(getKey(@"update_no_action"), @"Check with your package manager / provider to bring osu! up-to-date!");
|
||||
public static LocalisableString UpdateAvailablePackageManaged => new TranslatableString(getKey(@"update_available_package_managed"), @"Check with your package manager / provider to bring osu! up-to-date!");
|
||||
|
||||
/// <summary>
|
||||
/// "An action was interrupted due to a dialog being displayed."
|
||||
|
||||
@@ -59,7 +59,7 @@ namespace osu.Game.Updater
|
||||
{
|
||||
Notifications.Post(new UpdateAvailableNotification(cancellationToken)
|
||||
{
|
||||
Text = LocalisableString.Interpolate($"{NotificationsStrings.UpdateAvailable(version, latestTagName)}\n\n{NotificationsStrings.UpdateMobile}"),
|
||||
Text = LocalisableString.Interpolate($"{NotificationsStrings.UpdateAvailable(version, latestTagName)}\n\n{NotificationsStrings.UpdateAvailableManualInstall}"),
|
||||
Icon = FontAwesome.Solid.Download,
|
||||
Activated = () =>
|
||||
{
|
||||
|
||||
@@ -53,7 +53,7 @@ namespace osu.Game.Updater
|
||||
{
|
||||
Notifications.Post(new UpdateAvailableNotification(cancellationToken)
|
||||
{
|
||||
Text = LocalisableString.Interpolate($"{NotificationsStrings.UpdateAvailable(version, latestTagName)}\n\n{NotificationsStrings.UpdateNoAction}"),
|
||||
Text = LocalisableString.Interpolate($"{NotificationsStrings.UpdateAvailable(version, latestTagName)}\n\n{NotificationsStrings.UpdateAvailablePackageManaged}"),
|
||||
});
|
||||
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user