aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--frontend/src/ts/test/words-generator.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/frontend/src/ts/test/words-generator.ts b/frontend/src/ts/test/words-generator.ts
index a99fa329f..0b7237800 100644
--- a/frontend/src/ts/test/words-generator.ts
+++ b/frontend/src/ts/test/words-generator.ts
@@ -54,7 +54,7 @@ export async function punctuateWord(
word = word.replace(/I/g, "İ");
}
- if (currentLanguage === "spanish" || currentLanguage === "catalan") {
+ if (currentLanguage === "spanish") {
const rand = Math.random();
if (rand > 0.9) {
word = "¿" + word;
@@ -71,7 +71,7 @@ export async function punctuateWord(
index !== maxindex - 2) ||
index === maxindex - 1
) {
- if (currentLanguage === "spanish" || currentLanguage === "catalan") {
+ if (currentLanguage === "spanish") {
if (spanishSentenceTracker === "?" || spanishSentenceTracker === "!") {
word += spanishSentenceTracker;
spanishSentenceTracker = "";