2021-08-11 09:10:08 +00: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 AudioSettingsStrings
{
private const string prefix = @"osu.Game.Resources.Localisation.AudioSettings" ;
/// <summary>
/// "Audio"
/// </summary>
public static LocalisableString AudioSectionHeader = > new TranslatableString ( getKey ( @"audio_section_header" ) , @"Audio" ) ;
/// <summary>
/// "Devices"
/// </summary>
public static LocalisableString AudioDevicesHeader = > new TranslatableString ( getKey ( @"audio_devices_header" ) , @"Devices" ) ;
/// <summary>
/// "Volume"
/// </summary>
public static LocalisableString VolumeHeader = > new TranslatableString ( getKey ( @"volume_header" ) , @"Volume" ) ;
2021-10-12 05:42:22 +00:00
/// <summary>
/// "Output device"
/// </summary>
public static LocalisableString OutputDevice = > new TranslatableString ( getKey ( @"output_device" ) , @"Output device" ) ;
2021-08-11 09:10:08 +00:00
/// <summary>
2022-06-07 02:54:31 +00:00
/// "Hitsound stereo separation"
2021-08-11 09:10:08 +00:00
/// </summary>
2021-12-17 12:16:06 +00:00
public static LocalisableString PositionalLevel = > new TranslatableString ( getKey ( @"positional_hitsound_audio_level" ) , @"Hitsound stereo separation" ) ;
2021-11-28 01:58:08 +00:00
/// <summary>
2022-06-07 02:54:31 +00:00
/// "Master"
2021-11-28 01:58:08 +00:00
/// </summary>
2021-08-11 09:10:08 +00:00
public static LocalisableString MasterVolume = > new TranslatableString ( getKey ( @"master_volume" ) , @"Master" ) ;
/// <summary>
/// "Master (window inactive)"
/// </summary>
public static LocalisableString MasterVolumeInactive = > new TranslatableString ( getKey ( @"master_volume_inactive" ) , @"Master (window inactive)" ) ;
/// <summary>
/// "Effect"
/// </summary>
public static LocalisableString EffectVolume = > new TranslatableString ( getKey ( @"effect_volume" ) , @"Effect" ) ;
/// <summary>
/// "Music"
/// </summary>
public static LocalisableString MusicVolume = > new TranslatableString ( getKey ( @"music_volume" ) , @"Music" ) ;
/// <summary>
/// "Offset Adjustment"
/// </summary>
public static LocalisableString OffsetHeader = > new TranslatableString ( getKey ( @"offset_header" ) , @"Offset Adjustment" ) ;
/// <summary>
/// "Audio offset"
/// </summary>
public static LocalisableString AudioOffset = > new TranslatableString ( getKey ( @"audio_offset" ) , @"Audio offset" ) ;
2024-02-02 21:08:36 +00:00
/// <summary>
/// "Play a few beatmaps to receive a suggested offset!"
/// </summary>
public static LocalisableString SuggestedOffsetNote = > new TranslatableString ( getKey ( @"suggested_offset_note" ) , @"Play a few beatmaps to receive a suggested offset!" ) ;
/// <summary>
2024-02-05 15:45:32 +00:00
/// "Based on the last {0} play(s), the suggested offset is {1} ms."
2024-02-02 21:08:36 +00:00
/// </summary>
2024-02-05 17:06:51 +00:00
public static LocalisableString SuggestedOffsetValueReceived ( int plays , LocalisableString value ) = > new TranslatableString ( getKey ( @"suggested_offset_value_received" ) , @"Based on the last {0} play(s), the suggested offset is {1} ms." , plays , value ) ;
2024-02-02 21:08:36 +00:00
/// <summary>
/// "Apply suggested offset"
/// </summary>
public static LocalisableString ApplySuggestedOffset = > new TranslatableString ( getKey ( @"apply_suggested_offset" ) , @"Apply suggested offset" ) ;
2021-08-11 09:10:08 +00:00
/// <summary>
/// "Offset wizard"
/// </summary>
public static LocalisableString OffsetWizard = > new TranslatableString ( getKey ( @"offset_wizard" ) , @"Offset wizard" ) ;
2022-06-07 02:54:31 +00:00
private static string getKey ( string key ) = > $@"{prefix}:{key}" ;
2021-08-11 09:10:08 +00:00
}
}