mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 08:20:00 +09:00
Add localisation support for remaining input settings sections
This commit is contained in:
@ -14,6 +14,21 @@ namespace osu.Game.Localisation
|
||||
/// </summary>
|
||||
public static LocalisableString Cancel => new TranslatableString(getKey(@"cancel"), @"Cancel");
|
||||
|
||||
/// <summary>
|
||||
/// "Enabled"
|
||||
/// </summary>
|
||||
public static LocalisableString Enabled => new TranslatableString(getKey(@"enabled"), @"Enabled");
|
||||
|
||||
/// <summary>
|
||||
/// "Width"
|
||||
/// </summary>
|
||||
public static LocalisableString Width => new TranslatableString(getKey(@"width"), @"Width");
|
||||
|
||||
/// <summary>
|
||||
/// "Height"
|
||||
/// </summary>
|
||||
public static LocalisableString Height => new TranslatableString(getKey(@"height"), @"Height");
|
||||
|
||||
private static string getKey(string key) => $@"{prefix}:{key}";
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user