mirror of
https://github.com/ppy/osu.git
synced 2025-01-18 08:32:54 +08:00
Localise text
This commit is contained in:
parent
da85517036
commit
2cd86cbf91
@ -59,6 +59,25 @@ namespace osu.Game.Localisation
|
||||
/// </summary>
|
||||
public static LocalisableString DailyChallenge => new TranslatableString(getKey(@"daily_challenge"), @"daily challenge");
|
||||
|
||||
/// <summary>
|
||||
/// "A few important words from your dev team!"
|
||||
/// </summary>
|
||||
public static LocalisableString MobileDisclaimerHeader => new TranslatableString(getKey(@"mobile_disclaimer_header"), @"A few important words from your dev team!");
|
||||
|
||||
/// <summary>
|
||||
/// "While we have released osu! on mobile platforms to maximise the number of people that can enjoy the game, our focus is still on the PC version.
|
||||
///
|
||||
/// Your experience will not be perfect, and may even feel subpar compared to games which are made mobile-first.
|
||||
///
|
||||
/// Please bear with us as we continue to improve the game for you!"
|
||||
/// </summary>
|
||||
public static LocalisableString MobileDisclaimerBody => new TranslatableString(getKey(@"mobile_disclaimer_body"),
|
||||
@"While we have released osu! on mobile platforms to maximise the number of people that can enjoy the game, our focus is still on the PC version.
|
||||
|
||||
Your experience will not be perfect, and may even feel subpar compared to games which are made mobile-first.
|
||||
|
||||
Please bear with us as we continue to improve the game for you!");
|
||||
|
||||
private static string getKey(string key) => $@"{prefix}:{key}";
|
||||
}
|
||||
}
|
||||
|
@ -41,6 +41,7 @@ using osu.Game.Screens.Select;
|
||||
using osu.Game.Seasonal;
|
||||
using osuTK;
|
||||
using osuTK.Graphics;
|
||||
using osu.Game.Localisation;
|
||||
|
||||
namespace osu.Game.Screens.Menu
|
||||
{
|
||||
@ -470,11 +471,10 @@ namespace osu.Game.Screens.Menu
|
||||
{
|
||||
public MobileDisclaimerDialog(Action confirmed)
|
||||
{
|
||||
HeaderText = "A few important words from your dev team!";
|
||||
BodyText =
|
||||
"While we have released osu! on mobile platforms to maximise the number of people that can enjoy the game, our focus is still on the PC version.\n\nYour experience will not be perfect, and may even feel subpar compared to games which are made mobile-first.\n\nPlease bear with us as we continue to improve the game for you!";
|
||||
HeaderText = ButtonSystemStrings.MobileDisclaimerHeader;
|
||||
BodyText = ButtonSystemStrings.MobileDisclaimerBody;
|
||||
|
||||
Icon = FontAwesome.Solid.Mobile;
|
||||
Icon = FontAwesome.Solid.SmileBeam;
|
||||
|
||||
Buttons = new PopupDialogButton[]
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user