diff --git a/script/todo/todo.py b/script/todo/todo.py index afbf324..2ec3215 100755 --- a/script/todo/todo.py +++ b/script/todo/todo.py @@ -1573,9 +1573,11 @@ class TODO: self._virt_manager_set_label(uri, label) added = self._virt_manager_add(uris) if added: - # virt-manager réécrit ses réglages en quittant : s'il tourne, il - # écraserait ce qu'on vient d'ajouter. - print(f" ⚠ {t('Restart virt-manager if it is open.')}") + # Le NOM est relu à chaud (virt-manager écoute /pretty-name), + # mais la liste des connexions est lue au démarrage : une + # nouvelle entrée n'apparaît qu'au prochain lancement. + note = t("Restart virt-manager to see the new connections") + print(f" ℹ️ {note} ({t('the names apply live')})") def _qemu_ssh_probe_remote(self, alias): """Sonde `alias` : (libvirt_présent, [(nom, ip)]), ou None si diff --git a/script/todo/todo_i18n.py b/script/todo/todo_i18n.py index effa2e4..11936aa 100644 --- a/script/todo/todo_i18n.py +++ b/script/todo/todo_i18n.py @@ -1504,9 +1504,13 @@ TRANSLATIONS = { "en": "Add the missing connections to virt-manager? " "(Y/n, default: yes): ", }, - "Restart virt-manager if it is open.": { - "fr": "Redémarrer virt-manager s'il est ouvert.", - "en": "Restart virt-manager if it is open.", + "Restart virt-manager to see the new connections": { + "fr": "Redémarrer virt-manager pour voir les nouvelles connexions", + "en": "Restart virt-manager to see the new connections", + }, + "the names apply live": { + "fr": "les noms s'appliquent à chaud", + "en": "the names apply live", }, "SSH hosts written": { "fr": "Hôtes SSH écrits",