mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 16:29:58 +09:00
Prefix common strings for context
This commit is contained in:
@ -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}";
|
||||
}
|
||||
|
Reference in New Issue
Block a user