ppy / osu

rhythm is just a *click* away!
https://osu.ppy.sh
MIT License
15.26k stars 2.27k forks source link

New line (\n) doesn't work on notifications in languages other than english #29431

Closed 64ArthurAraujo closed 2 months ago

64ArthurAraujo commented 2 months ago

Type

Cosmetic

Bug description

Probably a issue with how localization strings are interpreted by notifications

Screenshots or videos

pic-selected-240815-0840-37 pic-selected-240815-0840-58 pic-selected-240815-0841-20

Version

2024.731-0

Logs

n/a

smoogipoo commented 2 months ago

These are not translated correctly in crowdin.

image

They should use newlines like the source string rather than trying to bake escape sequences into the string itself.

This is how it should look (Finnish):

image

If you're interested in helping out, check the readme: https://github.com/ppy/osu?tab=readme-ov-file#contributing