From bf114ac182c5d340ac6359d0754796a1cea80025 Mon Sep 17 00:00:00 2001 From: Mathieu Benoit Date: Thu, 3 Sep 2026 01:23:03 -0400 Subject: [PATCH] =?UTF-8?q?[FIX]=20script=20todo=20:=20une=20cl=C3=A9=20i1?= =?UTF-8?q?8n=20dupliqu=C3=A9e=20=C3=A9crasait=20un=20libell=C3=A9=20du=20?= =?UTF-8?q?menu?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit La section du menu des plugins prenait « Install » pour clé, déjà portée par l'entrée « 📦 Installation » du menu principal. Dans un littéral de dict Python la dernière définition gagne, sans erreur ni avertissement : le menu principal affichait donc « Installer ». La clé de la section est renommée, la première étant en place depuis longtemps. Vérifié : le menu principal retrouve « 📦 Installation », et un balayage des clés ne laisse que trois doublons, tous à valeurs identiques donc sans effet. --- EN --- The plugin menu's section used « Install » as its key, already held by the main menu's « 📦 Installation » entry. In a Python dict literal the last definition wins, with no error and no warning: the main menu therefore showed « Installer ». The section's key is renamed, the first one having been there far longer. Checked: the main menu gets « 📦 Installation » back, and a sweep of the keys leaves only three duplicates, all with identical values and so without effect. Assisted-by: Claude Opus 5 --- script/todo/todo.py | 2 +- script/todo/todo_i18n.py | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/script/todo/todo.py b/script/todo/todo.py index 512e509..8b5f2cf 100755 --- a/script/todo/todo.py +++ b/script/todo/todo.py @@ -3390,7 +3390,7 @@ class TODO( "Show a plugin detail and its token cost" ) }, - {"section": t("Install")}, + {"section": t("Install plugins")}, {"prompt_description": t("Install the ERPLibre preferred list")}, {"prompt_description": t("Install a plugin by name")}, {"prompt_description": t("Add a marketplace")}, diff --git a/script/todo/todo_i18n.py b/script/todo/todo_i18n.py index 9309156..020cb17 100644 --- a/script/todo/todo_i18n.py +++ b/script/todo/todo_i18n.py @@ -1234,9 +1234,9 @@ TRANSLATIONS = { "fr": "Afficher le détail d'un plugin et son coût en tokens", "en": "Show a plugin detail and its token cost", }, - "Install": { - "fr": "Installer", - "en": "Install", + "Install plugins": { + "fr": "Installer des plugins", + "en": "Install plugins", }, "Install the ERPLibre preferred list": { "fr": "Installer la liste préférée d'ERPLibre",