mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09:00
Prefix common strings for context
This commit is contained in:
@ -17,17 +17,17 @@ namespace osu.Game.Localisation
|
||||
/// <summary>
|
||||
/// "None"
|
||||
/// </summary>
|
||||
public static LocalisableString None => new TranslatableString(getKey(@"none"), @"None");
|
||||
public static LocalisableString BorderNone => new TranslatableString(getKey(@"none"), @"None");
|
||||
|
||||
/// <summary>
|
||||
/// "Corners"
|
||||
/// </summary>
|
||||
public static LocalisableString Corners => new TranslatableString(getKey(@"corners"), @"Corners");
|
||||
public static LocalisableString BorderCorners => new TranslatableString(getKey(@"corners"), @"Corners");
|
||||
|
||||
/// <summary>
|
||||
/// "Full"
|
||||
/// </summary>
|
||||
public static LocalisableString Full => new TranslatableString(getKey(@"full"), @"Full");
|
||||
public static LocalisableString BorderFull => new TranslatableString(getKey(@"full"), @"Full");
|
||||
|
||||
private static string getKey(string key) => $@"{prefix}:{key}";
|
||||
}
|
||||
|
Reference in New Issue
Block a user