renaming difficulty level intermediate to medium

This commit is contained in:
lila 2026-07-23 14:15:53 +02:00
parent 61fa032d6c
commit 7e02a03bda
2 changed files with 4 additions and 4 deletions

View file

@ -15,9 +15,9 @@ const LABELS: Record<string, string> = {
es: "Spanish", es: "Spanish",
noun: "Nouns", noun: "Nouns",
verb: "Verbs", verb: "Verbs",
easy: "Easy", easy: "easy",
intermediate: "Intermediate", medium: "medium",
hard: "Hard", hard: "hard",
"3": "3 rounds", "3": "3 rounds",
"10": "10 rounds", "10": "10 rounds",
}; };

View file

@ -11,7 +11,7 @@ export const CEFR_LEVELS = ["A1", "A2", "B1", "B2", "C1", "C2"] as const;
export const SUPPORTED_DECK_TYPES = ["grammar", "media"] as const; export const SUPPORTED_DECK_TYPES = ["grammar", "media"] as const;
export const DIFFICULTY_LEVELS = ["easy", "intermediate", "hard"] as const; export const DIFFICULTY_LEVELS = ["easy", "medium", "hard"] as const;
export type DifficultyLevel = (typeof DIFFICULTY_LEVELS)[number]; export type DifficultyLevel = (typeof DIFFICULTY_LEVELS)[number];
export const LOBBY_STATUSES = ["waiting", "in_progress", "finished"] as const; export const LOBBY_STATUSES = ["waiting", "in_progress", "finished"] as const;