Prefix common strings for context

This commit is contained in:
its5Q
2022-08-10 00:35:19 +10:00
parent 9f043e725f
commit abca3d1b2a
14 changed files with 40 additions and 40 deletions

View File

@ -67,17 +67,17 @@ namespace osu.Game.Localisation
/// <summary>
/// "Always"
/// </summary>
public static LocalisableString Always => new TranslatableString(getKey(@"always"), @"Always");
public static LocalisableString AlwaysConfine => new TranslatableString(getKey(@"always"), @"Always");
/// <summary>
/// "During Gameplay"
/// </summary>
public static LocalisableString DuringGameplay => new TranslatableString(getKey(@"during_gameplay"), @"During Gameplay");
public static LocalisableString ConfineDuringGameplay => new TranslatableString(getKey(@"during_gameplay"), @"During Gameplay");
/// <summary>
/// "Never"
/// </summary>
public static LocalisableString Never => new TranslatableString(getKey(@"never"), @"Never");
public static LocalisableString NeverConfine => new TranslatableString(getKey(@"never"), @"Never");
private static string getKey(string key) => $@"{prefix}:{key}";
}