[IMP] todo: icons on the language chooser, accent on Français
The language chooser was the only TODO screen without icons, and it spelled Francais without its accent. The first-launch prompt and the one reached from Configuration now open on a globe and mark each language with its flag; the label reads Français in both. Checked: both prompts displayed; test_todo and i18n tests, 108, pass. --- FR --- [IMP] todo : icônes au choix de la langue, accent sur Français Le choix de la langue était le seul écran de TODO sans icône, et il écrivait Francais sans accent. L'invite du premier lancement et celle de Configuration s'ouvrent désormais sur un globe et marquent chaque langue de son drapeau ; le libellé se lit Français dans les deux. Vérifié : les deux invites affichées ; test_todo et tests i18n, 108, passent. Assisted-by: Claude Opus 5.5
This commit is contained in:
parent
087445c578
commit
7c1f8c4e71
2 changed files with 7 additions and 7 deletions
|
|
@ -215,9 +215,9 @@ class TODO(
|
|||
def _ask_language(self):
|
||||
if not lang_is_configured():
|
||||
print()
|
||||
print("Choisir la langue / Choose language:")
|
||||
print("[1] Francais")
|
||||
print("[2] English")
|
||||
print("🌍 Choisir la langue / Choose language:")
|
||||
print("[1] 🇫🇷 Français")
|
||||
print("[2] 🇬🇧 English")
|
||||
choice = ""
|
||||
while choice not in ("1", "2"):
|
||||
choice = input("Select / Choisir : ").strip()
|
||||
|
|
@ -228,9 +228,9 @@ class TODO(
|
|||
|
||||
def _change_language(self):
|
||||
print()
|
||||
print(t("Choose language / Choisir la langue") + ":")
|
||||
print(f"[1] {t('French')}")
|
||||
print(f"[2] {t('English')}")
|
||||
print("🌍 " + t("Choose language / Choisir la langue") + ":")
|
||||
print(f"[1] 🇫🇷 {t('French')}")
|
||||
print(f"[2] 🇬🇧 {t('English')}")
|
||||
print(f"[0] {t('Back')}")
|
||||
choice = ""
|
||||
while choice not in ("0", "1", "2"):
|
||||
|
|
|
|||
|
|
@ -1192,7 +1192,7 @@ TRANSLATIONS = {
|
|||
"en": "Choose language / Choisir la langue",
|
||||
},
|
||||
"French": {
|
||||
"fr": "Francais",
|
||||
"fr": "Français",
|
||||
"en": "French",
|
||||
},
|
||||
"English": {
|
||||
|
|
|
|||
Loading…
Reference in a new issue