Move localisation string to common location

This commit is contained in:
Bartłomiej Dach
2022-07-24 23:30:52 +02:00
parent 8af9cfbe40
commit 446485f804
3 changed files with 6 additions and 20 deletions

View File

@ -24,6 +24,11 @@ namespace osu.Game.Localisation
/// </summary>
public static LocalisableString ModCustomisation => new TranslatableString(getKey(@"mod_customisation"), @"Mod Customisation");
/// <summary>
/// "Personal Presets"
/// </summary>
public static LocalisableString PersonalPresets => new TranslatableString(getKey(@"personal_presets"), @"Personal Presets");
private static string getKey(string key) => $@"{prefix}:{key}";
}
}