mirror of
https://github.com/ppy/osu.git
synced 2025-01-27 12:42:54 +08:00
Localise background header
This commit is contained in:
parent
76eefc7573
commit
24df23f420
@ -42,7 +42,8 @@ namespace osu.Game.Localisation
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// "If enabled, an "Are you ready? 3, 2, 1, GO!" countdown will be inserted at the beginning of the beatmap, assuming there is enough time to do so."
|
/// "If enabled, an "Are you ready? 3, 2, 1, GO!" countdown will be inserted at the beginning of the beatmap, assuming there is enough time to do so."
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public static LocalisableString CountdownDescription => new TranslatableString(getKey(@"countdown_description"), @"If enabled, an ""Are you ready? 3, 2, 1, GO!"" countdown will be inserted at the beginning of the beatmap, assuming there is enough time to do so.");
|
public static LocalisableString CountdownDescription => new TranslatableString(getKey(@"countdown_description"),
|
||||||
|
@"If enabled, an ""Are you ready? 3, 2, 1, GO!"" countdown will be inserted at the beginning of the beatmap, assuming there is enough time to do so.");
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// "Countdown speed"
|
/// "Countdown speed"
|
||||||
@ -52,7 +53,8 @@ namespace osu.Game.Localisation
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// "If the countdown sounds off-time, use this to make it appear one or more beats early."
|
/// "If the countdown sounds off-time, use this to make it appear one or more beats early."
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public static LocalisableString CountdownOffsetDescription => new TranslatableString(getKey(@"countdown_offset_description"), @"If the countdown sounds off-time, use this to make it appear one or more beats early.");
|
public static LocalisableString CountdownOffsetDescription =>
|
||||||
|
new TranslatableString(getKey(@"countdown_offset_description"), @"If the countdown sounds off-time, use this to make it appear one or more beats early.");
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// "Countdown offset"
|
/// "Countdown offset"
|
||||||
@ -67,7 +69,8 @@ namespace osu.Game.Localisation
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// "Allows storyboards to use the full screen space, rather than be confined to a 4:3 area."
|
/// "Allows storyboards to use the full screen space, rather than be confined to a 4:3 area."
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public static LocalisableString WidescreenSupportDescription => new TranslatableString(getKey(@"widescreen_support_description"), @"Allows storyboards to use the full screen space, rather than be confined to a 4:3 area.");
|
public static LocalisableString WidescreenSupportDescription =>
|
||||||
|
new TranslatableString(getKey(@"widescreen_support_description"), @"Allows storyboards to use the full screen space, rather than be confined to a 4:3 area.");
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// "Epilepsy warning"
|
/// "Epilepsy warning"
|
||||||
@ -77,7 +80,8 @@ namespace osu.Game.Localisation
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// "Recommended if the storyboard or video contain scenes with rapidly flashing colours."
|
/// "Recommended if the storyboard or video contain scenes with rapidly flashing colours."
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public static LocalisableString EpilepsyWarningDescription => new TranslatableString(getKey(@"epilepsy_warning_description"), @"Recommended if the storyboard or video contain scenes with rapidly flashing colours.");
|
public static LocalisableString EpilepsyWarningDescription =>
|
||||||
|
new TranslatableString(getKey(@"epilepsy_warning_description"), @"Recommended if the storyboard or video contain scenes with rapidly flashing colours.");
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// "Letterbox during breaks"
|
/// "Letterbox during breaks"
|
||||||
@ -87,7 +91,8 @@ namespace osu.Game.Localisation
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// "Adds horizontal letterboxing to give a cinematic look during breaks."
|
/// "Adds horizontal letterboxing to give a cinematic look during breaks."
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public static LocalisableString LetterboxDuringBreaksDescription => new TranslatableString(getKey(@"letterbox_during_breaks_description"), @"Adds horizontal letterboxing to give a cinematic look during breaks.");
|
public static LocalisableString LetterboxDuringBreaksDescription =>
|
||||||
|
new TranslatableString(getKey(@"letterbox_during_breaks_description"), @"Adds horizontal letterboxing to give a cinematic look during breaks.");
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// "Samples match playback rate"
|
/// "Samples match playback rate"
|
||||||
@ -97,7 +102,8 @@ namespace osu.Game.Localisation
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// "When enabled, all samples will speed up or slow down when rate-changing mods are enabled."
|
/// "When enabled, all samples will speed up or slow down when rate-changing mods are enabled."
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public static LocalisableString SamplesMatchPlaybackRateDescription => new TranslatableString(getKey(@"samples_match_playback_rate_description"), @"When enabled, all samples will speed up or slow down when rate-changing mods are enabled.");
|
public static LocalisableString SamplesMatchPlaybackRateDescription => new TranslatableString(getKey(@"samples_match_playback_rate_description"),
|
||||||
|
@"When enabled, all samples will speed up or slow down when rate-changing mods are enabled.");
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// "The size of all hit objects"
|
/// "The size of all hit objects"
|
||||||
@ -117,7 +123,8 @@ namespace osu.Game.Localisation
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// "The harshness of hit windows and difficulty of special objects (ie. spinners)"
|
/// "The harshness of hit windows and difficulty of special objects (ie. spinners)"
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public static LocalisableString OverallDifficultyDescription => new TranslatableString(getKey(@"overall_difficulty_description"), @"The harshness of hit windows and difficulty of special objects (ie. spinners)");
|
public static LocalisableString OverallDifficultyDescription =>
|
||||||
|
new TranslatableString(getKey(@"overall_difficulty_description"), @"The harshness of hit windows and difficulty of special objects (ie. spinners)");
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// "Metadata"
|
/// "Metadata"
|
||||||
@ -199,6 +206,11 @@ namespace osu.Game.Localisation
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
public static LocalisableString DifficultyHeader => new TranslatableString(getKey(@"difficulty_header"), @"Difficulty");
|
public static LocalisableString DifficultyHeader => new TranslatableString(getKey(@"difficulty_header"), @"Difficulty");
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// "Drag image here to set beatmap background!"
|
||||||
|
/// </summary>
|
||||||
|
public static LocalisableString DragToSetBackground => new TranslatableString(getKey(@"drag_to_set_background"), @"Drag image here to set beatmap background!");
|
||||||
|
|
||||||
private static string getKey(string key) => $@"{prefix}:{key}";
|
private static string getKey(string key) => $@"{prefix}:{key}";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -10,6 +10,7 @@ using osu.Game.Beatmaps;
|
|||||||
using osu.Game.Beatmaps.Drawables;
|
using osu.Game.Beatmaps.Drawables;
|
||||||
using osu.Game.Graphics;
|
using osu.Game.Graphics;
|
||||||
using osu.Game.Graphics.Containers;
|
using osu.Game.Graphics.Containers;
|
||||||
|
using osu.Game.Localisation;
|
||||||
|
|
||||||
namespace osu.Game.Screens.Edit.Setup
|
namespace osu.Game.Screens.Edit.Setup
|
||||||
{
|
{
|
||||||
@ -61,7 +62,7 @@ namespace osu.Game.Screens.Edit.Setup
|
|||||||
},
|
},
|
||||||
new OsuTextFlowContainer(t => t.Font = OsuFont.Default.With(size: 24))
|
new OsuTextFlowContainer(t => t.Font = OsuFont.Default.With(size: 24))
|
||||||
{
|
{
|
||||||
Text = "Drag image here to set beatmap background!",
|
Text = EditorSetupStrings.DragToSetBackground,
|
||||||
Anchor = Anchor.Centre,
|
Anchor = Anchor.Centre,
|
||||||
Origin = Anchor.Centre,
|
Origin = Anchor.Centre,
|
||||||
AutoSizeAxes = Axes.Both
|
AutoSizeAxes = Axes.Both
|
||||||
|
Loading…
Reference in New Issue
Block a user