CnCNet / xna-cncnet-client

XNA / MonoGame based client for playing classic Command & Conquer games both online and offline with a CnCNet game spawner.
Other
228 stars 91 forks source link

Fix my mistake in literal string translation #305

Closed SadPencil closed 2 years ago

SadPencil commented 2 years ago

There are four strings in the source code that contains the semi-colon(;) character. When generating the stub file, this character is written to the .ini file. But when the .ini file be loaded again, everything behind this character is regarded as a comment, i.e. be ignored. (P.S. it seems that most C# library that handles .ini file would not throw an exception if some special characters are in the value. It should throws.)

In this PR I replace the ; with . for these four strings.

Besides, some label name contains space or does not have the expected prefix (although it still works). These names are now get corrected.

github-actions[bot] commented 2 years ago

Nightly build for this pull request: