2021-08-12 11:57:51 +08:00
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Localisation ;
namespace osu.Game.Localisation
{
public static class OnlineSettingsStrings
{
private const string prefix = @"osu.Game.Resources.Localisation.OnlineSettings" ;
/// <summary>
/// "Online"
/// </summary>
public static LocalisableString OnlineSectionHeader = > new TranslatableString ( getKey ( @"online_section_header" ) , @"Online" ) ;
/// <summary>
/// "Alerts and Privacy"
/// </summary>
public static LocalisableString AlertsAndPrivacyHeader = > new TranslatableString ( getKey ( @"alerts_and_privacy_header" ) , @"Alerts and Privacy" ) ;
/// <summary>
/// "Show a notification when someone mentions your name"
/// </summary>
public static LocalisableString NotifyOnMentioned = > new TranslatableString ( getKey ( @"notify_on_mentioned" ) , @"Show a notification when someone mentions your name" ) ;
/// <summary>
/// "Show a notification when you receive a private message"
/// </summary>
2021-08-14 11:04:38 +08:00
public static LocalisableString NotifyOnPrivateMessage = > new TranslatableString ( getKey ( @"notify_on_private_message" ) , @"Show a notification when you receive a private message" ) ;
2021-08-12 11:57:51 +08:00
/// <summary>
/// "Integrations"
/// </summary>
2021-08-14 21:52:09 +08:00
public static LocalisableString IntegrationsHeader = > new TranslatableString ( getKey ( @"integrations_header" ) , @"Integrations" ) ;
2021-08-12 11:57:51 +08:00
/// <summary>
/// "Discord Rich Presence"
/// </summary>
public static LocalisableString DiscordRichPresence = > new TranslatableString ( getKey ( @"discord_rich_presence" ) , @"Discord Rich Presence" ) ;
/// <summary>
/// "Web"
/// </summary>
public static LocalisableString WebHeader = > new TranslatableString ( getKey ( @"web_header" ) , @"Web" ) ;
/// <summary>
/// "Warn about opening external links"
/// </summary>
public static LocalisableString ExternalLinkWarning = > new TranslatableString ( getKey ( @"external_link_warning" ) , @"Warn about opening external links" ) ;
/// <summary>
/// "Prefer downloads without video"
/// </summary>
public static LocalisableString PreferNoVideo = > new TranslatableString ( getKey ( @"prefer_no_video" ) , @"Prefer downloads without video" ) ;
/// <summary>
/// "Automatically download beatmaps when spectating"
/// </summary>
2021-08-14 11:04:38 +08:00
public static LocalisableString AutomaticallyDownloadWhenSpectating = > new TranslatableString ( getKey ( @"automatically_download_when_spectating" ) , @"Automatically download beatmaps when spectating" ) ;
2021-08-12 11:57:51 +08:00
/// <summary>
/// "Show explicit content in search results"
/// </summary>
public static LocalisableString ShowExplicitContent = > new TranslatableString ( getKey ( @"show_explicit_content" ) , @"Show explicit content in search results" ) ;
2022-08-07 23:11:15 +08:00
/// <summary>
/// "Hide identifiable information"
/// </summary>
public static LocalisableString HideIdentifiableInformation = > new TranslatableString ( getKey ( @"hide_identifiable_information" ) , @"Hide identifiable information" ) ;
/// <summary>
/// "Full"
/// </summary>
2022-08-10 16:31:57 +08:00
public static LocalisableString DiscordPresenceFull = > new TranslatableString ( getKey ( @"discord_presence_full" ) , @"Full" ) ;
2022-08-07 23:11:15 +08:00
/// <summary>
/// "Off"
/// </summary>
2022-08-10 16:31:57 +08:00
public static LocalisableString DiscordPresenceOff = > new TranslatableString ( getKey ( @"discord_presence_off" ) , @"Off" ) ;
2022-08-07 23:11:15 +08:00
2021-08-12 11:57:51 +08:00
private static string getKey ( string key ) = > $"{prefix}:{key}" ;
}
}