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:
maj00r
2026-10-04 19:41:47 +02:00
parent 4da5991c13
commit dcbd6078b9
3 changed files with 68 additions and 2 deletions

View 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"));
}