mirror of
https://github.com/osukey/osukey.git
synced 2025-05-17 03:27:21 +09:00
Fix localisation for audio device error containing incorrect newline escaping
This commit is contained in:
parent
c0e60a0699
commit
c7003434b2
@ -50,16 +50,18 @@ namespace osu.Game.Localisation
|
|||||||
public static LocalisableString NoAutoplayMod => new TranslatableString(getKey(@"no_autoplay_mod"), @"The current ruleset doesn't have an autoplay mod available!");
|
public static LocalisableString NoAutoplayMod => new TranslatableString(getKey(@"no_autoplay_mod"), @"The current ruleset doesn't have an autoplay mod available!");
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// "osu! doesn't seem to be able to play audio correctly.\n\nPlease try changing your audio device to a working setting."
|
/// "osu! doesn't seem to be able to play audio correctly.
|
||||||
|
///
|
||||||
|
/// Please try changing your audio device to a working setting."
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public static LocalisableString AudioPlaybackIssue => new TranslatableString(getKey(@"audio_playback_issue"),
|
public static LocalisableString AudioPlaybackIssue => new TranslatableString(getKey(@"audio_playback_issue"), @"osu! doesn't seem to be able to play audio correctly.
|
||||||
@"osu! doesn't seem to be able to play audio correctly.\n\nPlease try changing your audio device to a working setting.");
|
|
||||||
|
Please try changing your audio device to a working setting.");
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// "The score overlay is currently disabled. You can toggle this by pressing {0}."
|
/// "The score overlay is currently disabled. You can toggle this by pressing {0}."
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public static LocalisableString ScoreOverlayDisabled(LocalisableString arg0) => new TranslatableString(getKey(@"score_overlay_disabled"),
|
public static LocalisableString ScoreOverlayDisabled(LocalisableString arg0) => new TranslatableString(getKey(@"score_overlay_disabled"), @"The score overlay is currently disabled. You can toggle this by pressing {0}.", arg0);
|
||||||
@"The score overlay is currently disabled. You can toggle this by pressing {0}.", arg0);
|
|
||||||
|
|
||||||
private static string getKey(string key) => $@"{prefix}:{key}";
|
private static string getKey(string key) => $@"{prefix}:{key}";
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user