From da5d3d21f3ca7a1d4e3b8e840149206675033e64 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 2 Sep 2022 10:08:51 +0000 Subject: [PATCH 1/2] Bump ppy.osu.Game from 2022.810.2 to 2022.902.2 Bumps [ppy.osu.Game](https://github.com/ppy/osu) from 2022.810.2 to 2022.902.2. - [Release notes](https://github.com/ppy/osu/releases) - [Commits](https://github.com/ppy/osu/compare/2022.810.2...2022.902.2) --- updated-dependencies: - dependency-name: ppy.osu.Game dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- osu.Game.Rulesets.Soyokaze/osu.Game.Rulesets.Soyokaze.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osu.Game.Rulesets.Soyokaze/osu.Game.Rulesets.Soyokaze.csproj b/osu.Game.Rulesets.Soyokaze/osu.Game.Rulesets.Soyokaze.csproj index e308a9b..e7df49b 100644 --- a/osu.Game.Rulesets.Soyokaze/osu.Game.Rulesets.Soyokaze.csproj +++ b/osu.Game.Rulesets.Soyokaze/osu.Game.Rulesets.Soyokaze.csproj @@ -10,7 +10,7 @@ - + From 09744cafe0f457ad84100e4c87a18368c3b1ca3f Mon Sep 17 00:00:00 2001 From: Alden Wu Date: Wed, 7 Sep 2022 12:54:26 -0700 Subject: [PATCH 2/2] Mods: Switch `Description` to `LocalisableString` from `string` --- osu.Game.Rulesets.Soyokaze/Mods/SoyokazeModEasy.cs | 3 ++- osu.Game.Rulesets.Soyokaze/Mods/SoyokazeModHidden.cs | 3 ++- osu.Game.Rulesets.Soyokaze/Mods/SoyokazeModHolds.cs | 3 ++- osu.Game.Rulesets.Soyokaze/Mods/SoyokazeModRandom.cs | 3 ++- osu.Game.Rulesets.Soyokaze/Mods/SoyokazeModStaccato.cs | 3 ++- 5 files changed, 10 insertions(+), 5 deletions(-) diff --git a/osu.Game.Rulesets.Soyokaze/Mods/SoyokazeModEasy.cs b/osu.Game.Rulesets.Soyokaze/Mods/SoyokazeModEasy.cs index 4062ff5..80b7369 100644 --- a/osu.Game.Rulesets.Soyokaze/Mods/SoyokazeModEasy.cs +++ b/osu.Game.Rulesets.Soyokaze/Mods/SoyokazeModEasy.cs @@ -1,6 +1,7 @@ // Copyright (c) Alden Wu . Licensed under the MIT Licence. // See the LICENSE file in the repository root for full licence text. +using osu.Framework.Localisation; using osu.Game.Rulesets.Mods; namespace osu.Game.Rulesets.Soyokaze.Mods @@ -9,6 +10,6 @@ public class SoyokazeModEasy : ModEasyWithExtraLives { public override double ScoreMultiplier => 0.85; - public override string Description => "Larger circles, more forgiving HP drain, less accuracy required, and multiple lives. As a bonus, it makes the map impossible to read!"; + public override LocalisableString Description => "Larger circles, more forgiving HP drain, less accuracy required, and multiple lives. As a bonus, it makes the map impossible to read!"; } } diff --git a/osu.Game.Rulesets.Soyokaze/Mods/SoyokazeModHidden.cs b/osu.Game.Rulesets.Soyokaze/Mods/SoyokazeModHidden.cs index dc835a1..ef901bf 100644 --- a/osu.Game.Rulesets.Soyokaze/Mods/SoyokazeModHidden.cs +++ b/osu.Game.Rulesets.Soyokaze/Mods/SoyokazeModHidden.cs @@ -4,6 +4,7 @@ using System.Linq; using osu.Framework.Bindables; using osu.Framework.Graphics; +using osu.Framework.Localisation; using osu.Game.Beatmaps; using osu.Game.Configuration; using osu.Game.Rulesets.Mods; @@ -19,7 +20,7 @@ public class SoyokazeModHidden : ModHidden public Bindable FadingApproachCircle { get; } = new BindableBool(true); public override double ScoreMultiplier => 1.06; - public override string Description => "Play with fading circles."; + public override LocalisableString Description => "Play with fading circles."; private const double fade_in_fraction = 0.4; private const double fade_out_fraction = 0.3; diff --git a/osu.Game.Rulesets.Soyokaze/Mods/SoyokazeModHolds.cs b/osu.Game.Rulesets.Soyokaze/Mods/SoyokazeModHolds.cs index c37e7cf..2cf602a 100644 --- a/osu.Game.Rulesets.Soyokaze/Mods/SoyokazeModHolds.cs +++ b/osu.Game.Rulesets.Soyokaze/Mods/SoyokazeModHolds.cs @@ -2,6 +2,7 @@ // See the LICENSE file in the repository root for full licence text. using osu.Framework.Graphics.Sprites; +using osu.Framework.Localisation; using osu.Game.Rulesets.Mods; namespace osu.Game.Rulesets.Soyokaze.Mods @@ -10,7 +11,7 @@ public class SoyokazeModHolds : Mod { public override string Name => "Holds [Obsolete]"; public override string Acronym => "HO"; - public override string Description => string.Empty; + public override LocalisableString Description => string.Empty; public override double ScoreMultiplier => 1.0; public override IconUsage? Icon => FontAwesome.Solid.Fingerprint; } diff --git a/osu.Game.Rulesets.Soyokaze/Mods/SoyokazeModRandom.cs b/osu.Game.Rulesets.Soyokaze/Mods/SoyokazeModRandom.cs index f263237..907a4f1 100644 --- a/osu.Game.Rulesets.Soyokaze/Mods/SoyokazeModRandom.cs +++ b/osu.Game.Rulesets.Soyokaze/Mods/SoyokazeModRandom.cs @@ -1,6 +1,7 @@ // Copyright (c) Alden Wu . Licensed under the MIT Licence. // See the LICENSE file in the repository root for full licence text. +using osu.Framework.Localisation; using osu.Framework.Utils; using osu.Game.Beatmaps; using osu.Game.Rulesets.Mods; @@ -11,7 +12,7 @@ namespace osu.Game.Rulesets.Soyokaze.Mods { public class SoyokazeModRandom : ModRandom, IApplicableToBeatmap { - public override string Description => @"Shuffle around the notes!"; + public override LocalisableString Description => @"Shuffle around the notes!"; public void ApplyToBeatmap(IBeatmap beatmap) { diff --git a/osu.Game.Rulesets.Soyokaze/Mods/SoyokazeModStaccato.cs b/osu.Game.Rulesets.Soyokaze/Mods/SoyokazeModStaccato.cs index 1c13a55..49b226f 100644 --- a/osu.Game.Rulesets.Soyokaze/Mods/SoyokazeModStaccato.cs +++ b/osu.Game.Rulesets.Soyokaze/Mods/SoyokazeModStaccato.cs @@ -2,6 +2,7 @@ // See the LICENSE file in the repository root for full licence text. using osu.Framework.Graphics.Sprites; +using osu.Framework.Localisation; using osu.Game.Beatmaps; using osu.Game.Rulesets.Mods; using osu.Game.Rulesets.Soyokaze.Beatmaps; @@ -12,7 +13,7 @@ public class SoyokazeModStaccato : Mod, IApplicableToBeatmapConverter { public override string Name => "Staccato"; public override string Acronym => "ST"; - public override string Description => "We hate hold notes!"; + public override LocalisableString Description => "We hate hold notes!"; public override double ScoreMultiplier => 0.86; public override IconUsage? Icon => FontAwesome.Regular.DotCircle; public override ModType Type => ModType.DifficultyReduction;