1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-15 14:13:01 +08:00
Files
osu-lazer/osu.Game/Localisation/DefaultRankDisplayStrings.cs
T
Bartłomiej Dach 6835d7659d Add toggle for rank change sound playback to default rank display
Because some people don't seem to like it. Defaults to on still.
2025-06-06 12:51:56 +02:00

19 lines
702 B
C#

// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Localisation;
namespace osu.Game.Localisation
{
public static class DefaultRankDisplayStrings
{
private const string prefix = @"osu.Game.Resources.Localisation.DefaultRankDisplay";
/// <summary>
/// "Play samples on rank change"
/// </summary>
public static LocalisableString PlaySamplesOnRankChange => new TranslatableString(getKey(@"play_samples_on_rank_change"), @"Play samples on rank change");
private static string getKey(string key) => $@"{prefix}:{key}";
}
}