Skip to content

Commit

Permalink
impr: replace ß in all variations of swiss german (Jeanot-Zubler) (#5224
Browse files Browse the repository at this point in the history
)
  • Loading branch information
Jeanot-Zubler authored Mar 12, 2024
1 parent 04e2774 commit 0f6861d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/ts/test/words-generator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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");
}

Expand Down

0 comments on commit 0f6861d

Please sign in to comment.