Add missing localisation for settings enums

This commit is contained in:
its5Q
2022-08-08 01:11:15 +10:00
parent 0e232d3926
commit 5080d62e77
19 changed files with 201 additions and 17 deletions

View File

@ -64,6 +64,21 @@ namespace osu.Game.Localisation
/// </summary>
public static LocalisableString ShowExplicitContent => new TranslatableString(getKey(@"show_explicit_content"), @"Show explicit content in search results");
/// <summary>
/// "Hide identifiable information"
/// </summary>
public static LocalisableString HideIdentifiableInformation => new TranslatableString(getKey(@"hide_identifiable_information"), @"Hide identifiable information");
/// <summary>
/// "Full"
/// </summary>
public static LocalisableString Full => new TranslatableString(getKey(@"full"), @"Full");
/// <summary>
/// "Off"
/// </summary>
public static LocalisableString Off => new TranslatableString(getKey(@"off"), @"Off");
private static string getKey(string key) => $"{prefix}:{key}";
}
}