From 0f6861d493b3ee6594ba82f3e96b753044b51933 Mon Sep 17 00:00:00 2001 From: Jeanot Zubler <95655762+Jeanot-Zubler@users.noreply.github.com> Date: Wed, 13 Mar 2024 00:31:08 +0100 Subject: [PATCH] =?UTF-8?q?impr:=20replace=20=C3=9F=20in=20all=20variation?= =?UTF-8?q?s=20of=20swiss=20german=20(Jeanot-Zubler)=20(#5224)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/ts/test/words-generator.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/ts/test/words-generator.ts b/frontend/src/ts/test/words-generator.ts index 665017bd35e0..5ce420c80f32 100644 --- a/frontend/src/ts/test/words-generator.ts +++ b/frontend/src/ts/test/words-generator.ts @@ -780,7 +780,7 @@ export async function getNextWord( randomWord = applyLazyModeToWord(randomWord, language); randomWord = await applyBritishEnglishToWord(randomWord, previousWordRaw); - if (Config.language === "swiss_german") { + if (Config.language.startsWith("swiss_german")) { randomWord = randomWord.replace(/ß/g, "ss"); }