mirror of
https://github.com/ppy/osu.git
synced 2024-12-13 04:32:57 +08:00
Normalise source strings to sentence case
The casing of the "caps lock" tooltip wasn't changed in code, as tooltips should be ideally sentence-cased, see https://github.com/ppy/osu/pull/21765#issuecomment-1552378930.
This commit is contained in:
parent
e4af1df663
commit
b54f3a2cba
@ -10,14 +10,14 @@ namespace osu.Game.Localisation
|
||||
private const string prefix = @"osu.Game.Resources.Localisation.AccountCreation";
|
||||
|
||||
/// <summary>
|
||||
/// "New Player Registration"
|
||||
/// "New player registration"
|
||||
/// </summary>
|
||||
public static LocalisableString NewPlayerRegistration => new TranslatableString(getKey(@"new_player_registration"), @"New Player Registration");
|
||||
public static LocalisableString NewPlayerRegistration => new TranslatableString(getKey(@"new_player_registration"), @"New player registration");
|
||||
|
||||
/// <summary>
|
||||
/// "let's get you started"
|
||||
/// "Let's get you started"
|
||||
/// </summary>
|
||||
public static LocalisableString LetsGetYouStarted => new TranslatableString(getKey(@"lets_get_you_started"), @"let's get you started");
|
||||
public static LocalisableString LetsGetYouStarted => new TranslatableString(getKey(@"lets_get_you_started"), @"Let's get you started");
|
||||
|
||||
/// <summary>
|
||||
/// "Let's create an account!"
|
||||
|
@ -155,9 +155,9 @@ namespace osu.Game.Localisation
|
||||
public static LocalisableString Exit => new TranslatableString(getKey(@"exit"), @"Exit");
|
||||
|
||||
/// <summary>
|
||||
/// "caps lock is active"
|
||||
/// "Caps lock is active"
|
||||
/// </summary>
|
||||
public static LocalisableString CapsLockIsActive => new TranslatableString(getKey(@"caps_lock_is_active"), @"caps lock is active");
|
||||
public static LocalisableString CapsLockIsActive => new TranslatableString(getKey(@"caps_lock_is_active"), @"Caps lock is active");
|
||||
|
||||
/// <summary>
|
||||
/// "Revert to default"
|
||||
|
@ -25,9 +25,9 @@ namespace osu.Game.Localisation
|
||||
public static LocalisableString SignedIn => new TranslatableString(getKey(@"signed_in"), @"Signed in");
|
||||
|
||||
/// <summary>
|
||||
/// "ACCOUNT"
|
||||
/// "Account"
|
||||
/// </summary>
|
||||
public static LocalisableString Account => new TranslatableString(getKey(@"account"), @"ACCOUNT");
|
||||
public static LocalisableString Account => new TranslatableString(getKey(@"account"), @"Account");
|
||||
|
||||
/// <summary>
|
||||
/// "Remember username"
|
||||
|
@ -2,6 +2,7 @@
|
||||
// See the LICENCE file in the repository root for full licence text.
|
||||
|
||||
using osu.Framework.Allocation;
|
||||
using osu.Framework.Extensions.LocalisationExtensions;
|
||||
using osu.Framework.Graphics;
|
||||
using osu.Framework.Graphics.Containers;
|
||||
using osu.Framework.Screens;
|
||||
@ -45,14 +46,14 @@ namespace osu.Game.Overlays.AccountCreation
|
||||
Anchor = Anchor.TopCentre,
|
||||
Origin = Anchor.TopCentre,
|
||||
Font = OsuFont.GetFont(size: 24, weight: FontWeight.Light),
|
||||
Text = AccountCreationStrings.NewPlayerRegistration,
|
||||
Text = AccountCreationStrings.NewPlayerRegistration.ToTitle(),
|
||||
},
|
||||
new OsuSpriteText
|
||||
{
|
||||
Anchor = Anchor.TopCentre,
|
||||
Origin = Anchor.TopCentre,
|
||||
Font = OsuFont.GetFont(size: 12),
|
||||
Text = AccountCreationStrings.LetsGetYouStarted,
|
||||
Text = AccountCreationStrings.LetsGetYouStarted.ToLower(),
|
||||
},
|
||||
new SettingsButton
|
||||
{
|
||||
|
@ -82,7 +82,7 @@ namespace osu.Game.Overlays.Login
|
||||
{
|
||||
new OsuSpriteText
|
||||
{
|
||||
Text = LoginPanelStrings.Account,
|
||||
Text = LoginPanelStrings.Account.ToUpper(),
|
||||
Margin = new MarginPadding { Bottom = 5 },
|
||||
Font = OsuFont.GetFont(weight: FontWeight.Bold),
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user