Rename keys to match enum members

Co-authored-by: Dan Balasescu <smoogipoo@smgi.me>
This commit is contained in:
its5Q
2022-08-10 18:31:57 +10:00
committed by GitHub
parent abca3d1b2a
commit 231c331690
5 changed files with 17 additions and 17 deletions

View File

@ -72,12 +72,12 @@ namespace osu.Game.Localisation
/// <summary>
/// "Full"
/// </summary>
public static LocalisableString DiscordPresenceFull => new TranslatableString(getKey(@"full"), @"Full");
public static LocalisableString DiscordPresenceFull => new TranslatableString(getKey(@"discord_presence_full"), @"Full");
/// <summary>
/// "Off"
/// </summary>
public static LocalisableString DiscordPresenceOff => new TranslatableString(getKey(@"off"), @"Off");
public static LocalisableString DiscordPresenceOff => new TranslatableString(getKey(@"discord_presence_off"), @"Off");
private static string getKey(string key) => $"{prefix}:{key}";
}