From 58d94449de09bea32af5d3692cf921d9982cbd2c Mon Sep 17 00:00:00 2001 From: deusyv <26556244+deusyv@users.noreply.github.com> Date: Sat, 24 Oct 2026 15:32:24 +0000 Subject: [PATCH 1/2] =?UTF-8?q?docs(#67):=20relecture=20compl=C3=A8te=20du?= =?UTF-8?q?=20.po=20en=5FUS=20par=20IA,=20.mo=20r=C3=A9g=C3=A9n=C3=A9r?= =?UTF-8?q?=C3=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 23 traductions reformulées (clarté, anglais idiomatique, terminologie Comware : filter-mode acl, QoS, tunnel mode), Last-Translator « relu par IA (issue #67) ». .mo recompilé (msgfmt.py de CPython 3.13.0), 145 entrées, aucune clé perdue, variables {ip}/{dir}/{count} conservées. --- CLAUDE.md | 6 +- .../en_US/LC_MESSAGES/switch-capture.mo | Bin 24642 -> 23935 bytes .../en_US/LC_MESSAGES/switch-capture.po | 93 +++++++++--------- 3 files changed, 50 insertions(+), 49 deletions(-) diff --git a/CLAUDE.md b/CLAUDE.md index c1aca8c..58bc3b9 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -180,8 +180,10 @@ seul à traiter à la fois) : réel HPE confirmé pour 5130/5140 (`"5130-28-HI"`) — nécessite un exemple réel de sortie `display version` pour un 5510/5520 avant de corriger à l'aveugle (aucun disponible dans ce dépôt à ce jour). -3. Relecture linguistique du `.po` en_US par une personne anglophone - native — tâche non automatisable, en attente depuis la session 33. +3. Relecture linguistique du `.po` en_US : faite par IA le 24/10/2026 + (issue #67, accord de Mathilde du 13/10 faute d'anglophone natif), + mention « relu par IA » dans `Last-Translator`. Une relecture native + reste bienvenue si l'occasion se présente. 4. Poursuivre l'audit de couverture (session 51-52-53-54-58-61-62) sur les lignes restantes de `switch_capture_core.py` (**88 %, 177 lignes non couvertes** depuis la session 64). Le **triage par fonction**, jamais fait avant la session diff --git a/src/locale/en_US/LC_MESSAGES/switch-capture.mo b/src/locale/en_US/LC_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V@dH4n1z*$eFe&5IQ3~?^8P!BwX zdcyZnmue1oqe~ORT-=3Pl!tK>UO*FPZA@kA1=Jh<5!T{~jpSc9{F4n@tv7HSW^)y- z{+ZZ>_1J(1a4Eirn(EA_Q<-`aix}_3Dfkj<=H9|b@Eq#WUdGAz_w?A)MgDbWx#VjS zPRAKoj|JF`r}0@Nvr?CF*K^M#_=%7n;$B-7PxlU{ zEy2yi9wI{M&21$rh;I-<;$9 zJF%0{r5GUg68i{kVM1#|8}%jI2+AY*u7G6w8lU>8-D`z(G>gv>y9uooZHtH{L{tZ~ zP5S(6`zE35JXHs@VML5*CyEGdT3Blc9^>S1MjKMEvW0ktxYu^jp}@sTZxn9%Ap2#0u{SV|lqrV(=pZFX45m=#EP7rZ*m<8`kr^1Id5m2SAYEF)}20?F@= zS0D6bnf{Q`9Sp@R#~Zc-mb-lMoavP{HPz*O)EL%If2c2D1xjT0gF6l`j(8u~R%+P2 zv7j9>LnTI|9o}I&ma)x_8ohQX={30<=!;s8VbgPV1fv$0 zwW3BareB4lR%p8wEpe}P&P@!p+r8s`1Wswitch SSH/SCP traffic from the capture (excluded " -"by default, in addition to the --capture-filter if any). No effect in --" -"output-mode rpcap" +"Includes the tool<->switch SSH/SCP traffic in the capture (excluded by " +"default, on top of --capture-filter if set). No effect in --output-mode rpcap" #: switch_capture_cli.py:462 msgid "" @@ -222,7 +220,7 @@ msgstr "" #: switch_capture_cli.py:503 msgid "Orchestrateur de capture packet-capture pour switches HPE Comware" -msgstr "packet-capture orchestrator for HPE Comware switches" +msgstr "Orchestrator for the packet-capture feature of HPE Comware switches" #: switch_capture_cli.py:509 msgid "Lance une capture (bloquant, Ctrl+C pour arrêter)" @@ -247,9 +245,9 @@ msgid "" "utiliser en cron/systemd : la commande attendrait une entrée standard qui " "n'arrivera jamais." msgstr "" -"Asks to retype --switch-ip interactively before proceeding (extra safeguard " -"for a manual production run). Do not use in cron/systemd: the command would " -"wait for standard input that will never arrive." +"Prompts you to retype --switch-ip interactively before proceeding (extra " +"safeguard for a manual production run). Do not use in cron/systemd: the " +"command would wait for standard input that will never arrive." #: switch_capture_cli.py:534 msgid "" @@ -274,8 +272,8 @@ msgid "" "deb, .rpm, install.sh)." msgstr "" "Target folder (default: /etc/switch-capture/feature-bin if it already " -"exists, otherwise ./feature-bin). Identical regardless of the installation " -"method (.deb, .rpm, install.sh)." +"exists, otherwise ./feature-bin). The same for every installation method " +"(.deb, .rpm, install.sh)." #: switch_capture_cli.py:553 msgid "" @@ -295,11 +293,11 @@ msgid "" "physique — combinaison non officiellement documentée par H3C, imposée par " "retour d'expérience direct de l'utilisateur (voir features.md)" msgstr "" -"'local': SPAN, direct cable to the capture host. 'gre': ERSPAN tunnel-mode " -"to a remote collector. 'vxlan': mirroring to a probe VLAN (--remote-probe-" -"vlan), carried over L2 VXLAN extension instead of a physical trunk — " -"combination not officially documented by H3C, mandated based on the user's " -"direct field experience (see features.md)" +"'local': SPAN, direct cable to the capture host. 'gre': ERSPAN tunnel mode " +"to a remote collector. 'vxlan': mirroring to a probe VLAN " +"(--remote-probe-vlan), carried over an L2 VXLAN extension instead of a " +"physical trunk — a combination not officially documented by H3C, required " +"here based on the user's direct field experience (see features.md)" #: switch_capture_cli.py:574 msgid "Interface source à mirrorer (répétable pour en mirrorer plusieurs)" @@ -384,14 +382,14 @@ msgstr "" msgid "" "(filter-mode acl) numéro d'ACL avancée Comware (3000-3999, 3998/3999 exclus)" msgstr "" -"(acl filter-mode) Comware advanced ACL number (3000-3999, 3998/3999 excluded)" +"(filter-mode acl) Comware advanced ACL number (3000-3999, except 3998/3999)" #: switch_capture_cli.py:641 msgid "" "(filter-mode acl, obligatoire) règle ACL avancée complète, ex. 'rule 0 " "permit ip source 10.0.0.5 0' (répétable pour en définir plusieurs)" msgstr "" -"(acl filter-mode, required) full advanced ACL rule, e.g. 'rule 0 permit ip " +"(filter-mode acl, required) full advanced ACL rule, e.g. 'rule 0 permit ip " "source 10.0.0.5 0' (repeatable to define several)" #: switch_capture_cli.py:647 @@ -399,32 +397,32 @@ msgid "" "(filter-mode acl, optionnel) nom du traffic classifier Comware — déduit de --" "group-id si omis" msgstr "" -"(acl filter-mode, optional) Comware traffic classifier name — derived from --" -"group-id if omitted" +"(filter-mode acl, optional) Comware traffic classifier name — derived from " +"--group-id if omitted" #: switch_capture_cli.py:651 msgid "" "(filter-mode acl, optionnel) nom du traffic behavior Comware — déduit de --" "group-id si omis" msgstr "" -"(acl filter-mode, optional) Comware traffic behavior name — derived from --" -"group-id if omitted" +"(filter-mode acl, optional) Comware traffic behavior name — derived from " +"--group-id if omitted" #: switch_capture_cli.py:655 msgid "" "(filter-mode acl, optionnel) nom de la qos policy Comware — déduit de --" "group-id si omis" msgstr "" -"(acl filter-mode, optional) Comware qos policy name — derived from --group-" -"id if omitted" +"(filter-mode acl, optional) Comware QoS policy name — derived from " +"--group-id if omitted" #: switch_capture_cli.py:659 msgid "" "Retire la configuration au lieu de la pousser (undo mirroring-group/policy " "ACL + tunnel éventuel)" msgstr "" -"Removes the configuration instead of pushing it (undoes mirroring-group/ACL " -"policy + tunnel if any)" +"Removes the configuration instead of pushing it (undo mirroring-group/ACL " +"policy, and the tunnel if any)" #: switch_capture_cli.py:665 msgid "" @@ -440,7 +438,7 @@ msgid "" "Mémorise le mot de passe SSH utilisé dans le trousseau système (voir " "'capture --help')." msgstr "" -"Remembers the SSH password used in the system keyring (see 'capture --help')." +"Stores the SSH password used in the system keyring (see 'capture --help')." #: switch_capture_cli.py:693 msgid "" @@ -479,12 +477,13 @@ msgid "" "Analyse les écarts inter-trames d'un .pcap déjà rapatrié, pour choisir une " "valeur de --tap-pace-max-gap (voir features.md, section « Pas fait »)" msgstr "" -"Analyzes the inter-frame gaps of an already-retrieved .pcap file, to help " -"choose a --tap-pace-max-gap value (see features.md, \"Not done\" section)" +"Analyzes the inter-frame gaps of an already retrieved .pcap file, to help " +"choose a --tap-pace-max-gap value (see features.md, \"Pas fait\" (not done) " +"section)" #: switch_capture_cli.py:726 msgid "Fichier .pcap classique (pas pcapng) déjà rapatrié à analyser" -msgstr "Classic .pcap file (not pcapng) already retrieved, to analyze" +msgstr "Already retrieved classic .pcap file (not pcapng) to analyze" #: switch_capture_cli.py:734 msgid "" @@ -605,7 +604,7 @@ msgstr "See the log for details." msgid "" "pour modifier une capture : supprimez-la puis recréez-la avec le formulaire " "ci-dessous" -msgstr "to edit a capture: delete it then recreate it with the form below" +msgstr "to edit a capture: delete it, then recreate it with the form below" #: switch_capture_gtk.py:977 msgid "" @@ -679,11 +678,11 @@ msgstr "Failed to configure mirroring" #: switch_capture_gtk.py:1475 msgid "Échec de la mémorisation" -msgstr "Failed to remember password" +msgstr "Failed to remember the password" #: switch_capture_gtk.py:1484 msgid "Mémorisation impossible" -msgstr "Cannot remember password" +msgstr "Cannot remember the password" #: switch_capture_gtk.py:1486 msgid "" @@ -699,7 +698,7 @@ msgstr "" #: switch_capture_gtk.py:1500 msgid "Échec de la mémorisation (KeePass)" -msgstr "Failed to remember password (KeePass)" +msgstr "Failed to remember the password (KeePass)" #: switch_capture_gtk.py:1606 msgid "Aucune capture ajoutée pour l'instant." @@ -817,7 +816,7 @@ msgstr "Nothing to install" #: switch_capture_gtk.py:2063 msgid "Toutes les captures sont déjà prêtes (ou la liste est vide)." -msgstr "All captures are already ready (or the list is empty)." +msgstr "All captures are already prepared (or the list is empty)." #: switch_capture_gtk.py:2098 msgid "" From 7d42e7314d84160cf5757dcbc4a736b726a838ea Mon Sep 17 00:00:00 2001 From: deusyv Date: Tue, 27 Oct 2026 20:39:49 +0000 Subject: [PATCH 2/2] docs: ajouter le bloc Mission (CLAUDE.md) vers MISSION.md --- CLAUDE.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/CLAUDE.md b/CLAUDE.md index 58bc3b9..a2858d5 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -1,5 +1,14 @@ # switch_capture — orchestrateur de capture réseau HPE Comware + +## Mission + +Avant toute intervention autonome sur ce dépôt : lire et appliquer la +mission d'équipe : +https://github.com/Mathilde-Team/.github/blob/dev/MISSION.md +(le socle qualité, SOCLE.md, prime sur la mission en cas de conflit ; si +le fichier est absent sur `dev`, le chercher sur `main`). + Automatise, sur un switch HPE Comware 7, 4 méthodes de capture réseau (packet-capture local, packet-capture remote/RPCAP, port mirroring SPAN/ERSPAN, mirroring distant VLAN+VXLAN L2) ainsi que la désinstallation