mirror of
https://github.com/osukey/osukey.git
synced 2025-08-02 14:17:06 +09:00
Use existing web localisation for most hardcoded strings
This commit is contained in:
@ -13,6 +13,7 @@ using osu.Game.Graphics.Containers;
|
||||
using osu.Game.Graphics.UserInterface;
|
||||
using osu.Game.Online.API;
|
||||
using osu.Game.Overlays.Settings;
|
||||
using osu.Game.Resources.Localisation.Web;
|
||||
using osuTK;
|
||||
|
||||
namespace osu.Game.Overlays.Login
|
||||
@ -50,14 +51,14 @@ namespace osu.Game.Overlays.Login
|
||||
{
|
||||
username = new OsuTextBox
|
||||
{
|
||||
PlaceholderText = "username",
|
||||
PlaceholderText = UsersStrings.LoginUsername,
|
||||
RelativeSizeAxes = Axes.X,
|
||||
Text = api?.ProvidedUsername ?? string.Empty,
|
||||
TabbableContentContainer = this
|
||||
},
|
||||
password = new OsuPasswordTextBox
|
||||
{
|
||||
PlaceholderText = "password",
|
||||
PlaceholderText = UsersStrings.LoginPassword,
|
||||
RelativeSizeAxes = Axes.X,
|
||||
TabbableContentContainer = this,
|
||||
},
|
||||
@ -88,7 +89,7 @@ namespace osu.Game.Overlays.Login
|
||||
AutoSizeAxes = Axes.Y,
|
||||
Child = new SettingsButton
|
||||
{
|
||||
Text = "Sign in",
|
||||
Text = UsersStrings.LoginButton,
|
||||
Action = performLogin
|
||||
},
|
||||
}
|
||||
|
Reference in New Issue
Block a user