Skip to content

Localise some more notification/updater strings#36301

Merged
peppy merged 7 commits intoppy:masterfrom
diquoks:localisation/osu-game-notifications
Jan 13, 2026
Merged

Localise some more notification/updater strings#36301
peppy merged 7 commits intoppy:masterfrom
diquoks:localisation/osu-game-notifications

Conversation

@diquoks
Copy link
Copy Markdown
Contributor

@diquoks diquoks commented Jan 11, 2026

No description provided.

@diquoks diquoks force-pushed the localisation/osu-game-notifications branch from 7621805 to 8a21c68 Compare January 11, 2026 13:53
@peppy
Copy link
Copy Markdown
Member

peppy commented Jan 12, 2026

Please combine the commits from the other two into this one.

…-notifications

# Conflicts:
#	osu.Game/Localisation/NotificationsStrings.cs
…o localisation/osu-game-notifications

# Conflicts:
#	osu.Game/Localisation/NotificationsStrings.cs
@diquoks diquoks changed the title Localise notification in OsuGame Localise notifications in OsuGame, MobileUpdateNotifier, NoActionUpdateManager & PerformFromMenuRunner Jan 12, 2026
@diquoks
Copy link
Copy Markdown
Contributor Author

diquoks commented Jan 12, 2026

Please combine the commits from the other two into this one.

a couple of months ago bdach told me to split large localisation pull requests into smaller ones, so i decided not to create big one with notifications, but apparently i got too carried away with the separation

@peppy could you tell me how best to split up pull requests so that they are easy to review and don't turn into spam?

@peppy
Copy link
Copy Markdown
Member

peppy commented Jan 13, 2026

@peppy could you tell me how best to split up pull requests so that they are easy to review and don't turn into spam?

changes to the same strings file are best grouped together, otherwise each PR merge will conflict with the next.

split PRs over 100-150 LoC change is a good ballpark.

Copy link
Copy Markdown
Member

@peppy peppy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

make keys convey meaning to the localisers

/// <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);
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

parameters could be improved, probably oldVersion newVersion.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

addressed in 37257a7

/// <summary>
/// "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");
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

UpdateAvailableManualInstall

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also missing period.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also missing period.

there was no dot before, see https://github.com/diquoks/osu/blob/master/osu.Game/Updater/MobileUpdateNotifier.cs#L61

from now on, i will fix such things

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

addressed in 37257a7

/// <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!");
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

UpdateAvailablePackageManaged

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

addressed in 37257a7

@diquoks diquoks requested a review from peppy January 13, 2026 04:48
@peppy peppy changed the title Localise notifications in OsuGame, MobileUpdateNotifier, NoActionUpdateManager & PerformFromMenuRunner Localise some more notification strings Jan 13, 2026
@peppy peppy changed the title Localise some more notification strings Localise some more notification/updater strings Jan 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants