From a178cbd8b71171cfe3915cb851295294a2eabb60 Mon Sep 17 00:00:00 2001 From: Michiel Scholten Date: Mon, 4 Nov 2024 17:09:12 +0100 Subject: [PATCH] Translation --- src/alfagok/main.py | 1 + src/alfagok/templates/index.html | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/alfagok/main.py b/src/alfagok/main.py index beea9cb..1697bc0 100644 --- a/src/alfagok/main.py +++ b/src/alfagok/main.py @@ -58,6 +58,7 @@ def get_game_id(): def is_valid_dictionary_word(word: str) -> bool: """Verify if `word` is in the dictionary provided.""" + # Either we: [ ] strip all the endlines during file load, or [x] use the endline to search here return f'{word}\n' in dictionary diff --git a/src/alfagok/templates/index.html b/src/alfagok/templates/index.html index 0ffc82e..61d7764 100644 --- a/src/alfagok/templates/index.html +++ b/src/alfagok/templates/index.html @@ -38,7 +38,7 @@

-

Guess the word of the day. Each guess reveals where the word sits alphabetically.

+

Raad het woord van de dag. Elke gok geeft een hint over waar het woord zich in het alfabet bevindt.