mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 08:20:00 +09:00
Grouped localisation strings
This commit is contained in:
@ -19,6 +19,22 @@ namespace osu.Game.Localisation
|
||||
/// </summary>
|
||||
public static LocalisableString Connecting => new TranslatableString(getKey(@"connecting"), @"Connecting...");
|
||||
|
||||
/// <summary>
|
||||
/// "home"
|
||||
/// </summary>
|
||||
public static LocalisableString HomeHeaderTitle => new TranslatableString(getKey(@"header_title"), @"home");
|
||||
|
||||
/// <summary>
|
||||
/// "return to the main menu"
|
||||
/// </summary>
|
||||
public static LocalisableString HomeHeaderDescription => new TranslatableString(getKey(@"header_description"), @"return to the main menu");
|
||||
|
||||
/// <summary>
|
||||
/// "play some"
|
||||
/// </summary>
|
||||
|
||||
public static LocalisableString RulesetHeaderDescription => new TranslatableString(getKey(@"header_description"), @"play some");
|
||||
|
||||
private static string getKey(string key) => $@"{prefix}:{key}";
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user