We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b92121f commit 1a33271Copy full SHA for 1a33271
frontend/src/ts/test/words-generator.ts
@@ -918,7 +918,6 @@ export async function getNextWord(
918
randomWord = randomWord.replace(/ +/gm, " ");
919
randomWord = randomWord.replace(/(^ )|( $)/gm, "");
920
randomWord = applyLazyModeToWord(randomWord, currentLanguage);
921
- randomWord = await applyBritishEnglishToWord(randomWord, previousWordRaw);
922
923
if (Config.language.startsWith("swiss_german")) {
924
randomWord = randomWord.replace(/ß/g, "ss");
@@ -936,6 +935,9 @@ export async function getNextWord(
936
935
wordsBound,
937
);
938
}
+
939
+ randomWord = await applyBritishEnglishToWord(randomWord, previousWordRaw);
940
941
if (Config.numbers) {
942
if (random() < 0.1) {
943
randomWord = GetText.getNumbers(4);
0 commit comments