Make edits based on reviews

This commit is contained in:
Denis Titovets
2026-01-13 07:47:25 +03:00
parent b15b4e70a5
commit 37257a7a02
3 changed files with 6 additions and 6 deletions

View File

@@ -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."

View File

@@ -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 = () =>
{

View File

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