Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove localisation of "hide" string to fix incorrect case #17958

Merged
merged 2 commits into from
Apr 24, 2022

Conversation

peppy
Copy link
Member

@peppy peppy commented Apr 24, 2022

No description provided.

@Joehuu
Copy link
Member

Joehuu commented Apr 24, 2022

I found two more cases after looking again at my changes. Should be ToLower().

image

Verified

This commit was signed with the committer’s verified signature.
jeevatkm Jeevanandam M.
@peppy peppy merged commit c5e8f1d into ppy:master Apr 24, 2022
@peppy peppy deleted the fix-hide-case branch April 24, 2022 18:13
@smoogipoo
Copy link
Contributor

smoogipoo commented Apr 26, 2022

Is this some language-specific nuance? Curious why hide was reverted but not "edit", which was changed alongside it in the breaking PR.

@smoogipoo
Copy link
Contributor

Oh... It's just about title casing? We already have LocalisableString.ToTitle(), is there a reason that wasn't used?

@frenzibyte
Copy link
Member

Because sentence casing is preferred over title casing in some cases, or at least that's why I think ppy/osu-framework#5127 was opened.

@smoogipoo
Copy link
Contributor

Ah. Then the original question still remains for why "edit" wasn't reverted.

@peppy
Copy link
Member Author

peppy commented Apr 26, 2022

Edit seems to be the correct case already in the localisation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants