[X] This bug is Not related to compatability with a specific game
Summary
Newlines aren't being properly parsed from the language resources: the \r\n characters appear as normal text.
Issue exists in both master & net8. Apologies for not just committing a fix, but I'm relatively unfamiliar with Git/Github's processes / etiquette.
Steps to reproduce
Be using en-US language
Click Tools menu
Click "Mouse Cursor Visibility"
Notice that the formatting is a block of text with \r\n peppered throughout
Technical details
This can be resolved by checking for the newline characters in LanguageManager.Data() (either in an else block in the null/empty check, or after that if is closed):
data = data.Replace(@"\r\n", Environment.NewLine);
Requirements
Summary
Newlines aren't being properly parsed from the language resources: the \r\n characters appear as normal text. Issue exists in both master & net8. Apologies for not just committing a fix, but I'm relatively unfamiliar with Git/Github's processes / etiquette.
Steps to reproduce
Technical details
This can be resolved by checking for the newline characters in LanguageManager.Data() (either in an else block in the null/empty check, or after that if is closed):
data = data.Replace(@"\r\n", Environment.NewLine);
version
10.0.0.0