mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-12-28 19:08:32 +08:00
not lowercasing german words
This commit is contained in:
parent
d1fbc21c1e
commit
effa5035aa
1 changed files with 2 additions and 1 deletions
|
|
@ -827,7 +827,8 @@ async function getNextWord(
|
|||
if (
|
||||
Config.mode !== "custom" &&
|
||||
/[A-Z]/.test(randomWord) &&
|
||||
!Config.punctuation
|
||||
!Config.punctuation &&
|
||||
!Config.language.startsWith("german")
|
||||
) {
|
||||
randomWord = randomWord.toLowerCase();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue