mirror of
https://github.com/MaSzyna-EU07/StarterNG.git
synced 2026-11-01 20:34:57 +01:00
Show key descriptions with Polish letters
The game's key file has its descriptions stripped of them. Where a description is the bundled one without the letters, the bundled one is shown; the file itself is left as it is.
This commit is contained in:
10
StarterNG.Tests/KeyboardConfigTests.cs
Normal file
10
StarterNG.Tests/KeyboardConfigTests.cs
Normal file
@@ -0,0 +1,10 @@
|
||||
using StarterNG.Classes;
|
||||
|
||||
namespace StarterNG.Tests;
|
||||
|
||||
public class KeyboardConfigTests
|
||||
{
|
||||
[Fact]
|
||||
public void A_description_without_polish_letters_matches_the_bundled_one() =>
|
||||
Assert.Equal("zwiekszenie nastawnika glownego", KeyboardConfig.StripPolish("zwiększenie nastawnika głównego"));
|
||||
}
|
||||
Reference in New Issue
Block a user