diff --git a/.github/branch-protection/dev.json b/.github/branch-protection/dev.json new file mode 100644 index 0000000..6557961 --- /dev/null +++ b/.github/branch-protection/dev.json @@ -0,0 +1,15 @@ +{ + "required_status_checks": { + "strict": true, + "checks": [ + { "context": "Qualité (lint, format, tests)", "app_id": 15368 } + ] + }, + "enforce_admins": true, + "required_pull_request_reviews": null, + "restrictions": null, + "required_linear_history": false, + "allow_force_pushes": false, + "allow_deletions": false, + "required_conversation_resolution": false +} diff --git a/.github/branch-protection/main.json b/.github/branch-protection/main.json new file mode 100644 index 0000000..cb37ce0 --- /dev/null +++ b/.github/branch-protection/main.json @@ -0,0 +1,20 @@ +{ + "required_status_checks": { + "strict": false, + "checks": [ + { "context": "Garde : PR vers main doit venir de dev", "app_id": 15368 }, + { "context": "Qualité (lint, format, tests)", "app_id": 15368 } + ] + }, + "enforce_admins": true, + "required_pull_request_reviews": { + "dismiss_stale_reviews": false, + "require_code_owner_reviews": false, + "required_approving_review_count": 0 + }, + "restrictions": null, + "required_linear_history": false, + "allow_force_pushes": false, + "allow_deletions": false, + "required_conversation_resolution": false +} diff --git a/lang/ar_AR.po b/lang/ar_AR.po index 86669dd..002c53a 100644 --- a/lang/ar_AR.po +++ b/lang/ar_AR.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: RsysLogstach\n" "Report-Msgid-Bugs-To: https://github.com/Mathilde-Team/RsysLogstach/issues\n" -"POT-Creation-Date: 2026-11-03 16:17+0000\n" +"POT-Creation-Date: 2026-11-03 21:58+0000\n" "PO-Revision-Date: 2026-10-24 17:02+0000\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" @@ -18,6 +18,7 @@ msgstr "" "Plural-Forms: nplurals=6; plural=(n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5);\n" #: src/pystashtemplate/filters.py +#, python-brace-format msgid "base geoip illisible : {} ({})" msgstr "" @@ -27,30 +28,37 @@ msgid "date : fuseau {name} devenu inconnu, UTC retenu erreur={error}" msgstr "" #: src/pystashtemplate/filters.py +#, python-brace-format msgid "dictionnaire translate illisible : {} ({})" msgstr "" #: src/pystashtemplate/filters.py +#, python-brace-format msgid "exception pendant l'application du filtre mutate, opérations restantes ignorées : {}" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "dissect : conversion impossible de {} en {}" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "dissect : type {} inconnu pour convert_datatype" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "dissect : échec sur le champ {}" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "fingerprint ignoré : {}" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "json : analyse impossible du champ {} : {}" msgstr "" @@ -62,27 +70,48 @@ msgstr "" msgid "json ignoré : option source manquante" msgstr "" +#: src/pystashtemplate/outputs/__init__.py +#, python-brace-format +msgid "sortie « {} » déjà inscrite au registre" +msgstr "" + +#: src/pystashtemplate/outputs/__init__.py +#, python-brace-format +msgid "sortie « {} » inconnue — sorties disponibles : {}" +msgstr "" + +#: src/pystashtemplate/outputs/base.py +#, python-brace-format +msgid "action « {} » non supportée par cette sortie (supportées : {})" +msgstr "" + #: src/pystashtemplate/simples.py +#, python-brace-format msgid "cidr : lecture impossible de {} : {}" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "cidr : réseau invalide ignoré : {}" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "csv : analyse impossible du champ {} : {}" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "csv : conversion impossible de {} en {}" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "csv : type {} inconnu pour convert" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "syslog_pri : valeur invalide {}" msgstr "" @@ -91,6 +120,7 @@ msgid "truncate ignoré : length_bytes doit être un entier positif" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "urldecode : décodage impossible : {}" msgstr "" diff --git a/lang/bn_BD.po b/lang/bn_BD.po index a8d46f8..9f70bcb 100644 --- a/lang/bn_BD.po +++ b/lang/bn_BD.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: RsysLogstach\n" "Report-Msgid-Bugs-To: https://github.com/Mathilde-Team/RsysLogstach/issues\n" -"POT-Creation-Date: 2026-11-03 16:17+0000\n" +"POT-Creation-Date: 2026-11-03 21:58+0000\n" "PO-Revision-Date: 2026-10-24 17:02+0000\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" @@ -18,6 +18,7 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: src/pystashtemplate/filters.py +#, python-brace-format msgid "base geoip illisible : {} ({})" msgstr "" @@ -27,30 +28,37 @@ msgid "date : fuseau {name} devenu inconnu, UTC retenu erreur={error}" msgstr "" #: src/pystashtemplate/filters.py +#, python-brace-format msgid "dictionnaire translate illisible : {} ({})" msgstr "" #: src/pystashtemplate/filters.py +#, python-brace-format msgid "exception pendant l'application du filtre mutate, opérations restantes ignorées : {}" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "dissect : conversion impossible de {} en {}" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "dissect : type {} inconnu pour convert_datatype" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "dissect : échec sur le champ {}" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "fingerprint ignoré : {}" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "json : analyse impossible du champ {} : {}" msgstr "" @@ -62,27 +70,48 @@ msgstr "" msgid "json ignoré : option source manquante" msgstr "" +#: src/pystashtemplate/outputs/__init__.py +#, python-brace-format +msgid "sortie « {} » déjà inscrite au registre" +msgstr "" + +#: src/pystashtemplate/outputs/__init__.py +#, python-brace-format +msgid "sortie « {} » inconnue — sorties disponibles : {}" +msgstr "" + +#: src/pystashtemplate/outputs/base.py +#, python-brace-format +msgid "action « {} » non supportée par cette sortie (supportées : {})" +msgstr "" + #: src/pystashtemplate/simples.py +#, python-brace-format msgid "cidr : lecture impossible de {} : {}" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "cidr : réseau invalide ignoré : {}" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "csv : analyse impossible du champ {} : {}" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "csv : conversion impossible de {} en {}" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "csv : type {} inconnu pour convert" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "syslog_pri : valeur invalide {}" msgstr "" @@ -91,6 +120,7 @@ msgid "truncate ignoré : length_bytes doit être un entier positif" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "urldecode : décodage impossible : {}" msgstr "" diff --git a/lang/cs_CZ.po b/lang/cs_CZ.po index 476e9fe..4dc4426 100644 --- a/lang/cs_CZ.po +++ b/lang/cs_CZ.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: RsysLogstach\n" "Report-Msgid-Bugs-To: https://github.com/Mathilde-Team/RsysLogstach/issues\n" -"POT-Creation-Date: 2026-11-03 16:17+0000\n" +"POT-Creation-Date: 2026-11-03 21:58+0000\n" "PO-Revision-Date: 2026-10-24 17:02+0000\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" @@ -18,6 +18,7 @@ msgstr "" "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" #: src/pystashtemplate/filters.py +#, python-brace-format msgid "base geoip illisible : {} ({})" msgstr "" @@ -27,30 +28,37 @@ msgid "date : fuseau {name} devenu inconnu, UTC retenu erreur={error}" msgstr "" #: src/pystashtemplate/filters.py +#, python-brace-format msgid "dictionnaire translate illisible : {} ({})" msgstr "" #: src/pystashtemplate/filters.py +#, python-brace-format msgid "exception pendant l'application du filtre mutate, opérations restantes ignorées : {}" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "dissect : conversion impossible de {} en {}" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "dissect : type {} inconnu pour convert_datatype" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "dissect : échec sur le champ {}" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "fingerprint ignoré : {}" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "json : analyse impossible du champ {} : {}" msgstr "" @@ -62,27 +70,48 @@ msgstr "" msgid "json ignoré : option source manquante" msgstr "" +#: src/pystashtemplate/outputs/__init__.py +#, python-brace-format +msgid "sortie « {} » déjà inscrite au registre" +msgstr "" + +#: src/pystashtemplate/outputs/__init__.py +#, python-brace-format +msgid "sortie « {} » inconnue — sorties disponibles : {}" +msgstr "" + +#: src/pystashtemplate/outputs/base.py +#, python-brace-format +msgid "action « {} » non supportée par cette sortie (supportées : {})" +msgstr "" + #: src/pystashtemplate/simples.py +#, python-brace-format msgid "cidr : lecture impossible de {} : {}" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "cidr : réseau invalide ignoré : {}" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "csv : analyse impossible du champ {} : {}" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "csv : conversion impossible de {} en {}" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "csv : type {} inconnu pour convert" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "syslog_pri : valeur invalide {}" msgstr "" @@ -91,6 +120,7 @@ msgid "truncate ignoré : length_bytes doit être un entier positif" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "urldecode : décodage impossible : {}" msgstr "" diff --git a/lang/da_DK.po b/lang/da_DK.po index bbd7c0e..91e0d7a 100644 --- a/lang/da_DK.po +++ b/lang/da_DK.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: RsysLogstach\n" "Report-Msgid-Bugs-To: https://github.com/Mathilde-Team/RsysLogstach/issues\n" -"POT-Creation-Date: 2026-11-03 16:17+0000\n" +"POT-Creation-Date: 2026-11-03 21:58+0000\n" "PO-Revision-Date: 2026-10-24 17:02+0000\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" @@ -18,6 +18,7 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: src/pystashtemplate/filters.py +#, python-brace-format msgid "base geoip illisible : {} ({})" msgstr "" @@ -27,30 +28,37 @@ msgid "date : fuseau {name} devenu inconnu, UTC retenu erreur={error}" msgstr "" #: src/pystashtemplate/filters.py +#, python-brace-format msgid "dictionnaire translate illisible : {} ({})" msgstr "" #: src/pystashtemplate/filters.py +#, python-brace-format msgid "exception pendant l'application du filtre mutate, opérations restantes ignorées : {}" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "dissect : conversion impossible de {} en {}" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "dissect : type {} inconnu pour convert_datatype" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "dissect : échec sur le champ {}" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "fingerprint ignoré : {}" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "json : analyse impossible du champ {} : {}" msgstr "" @@ -62,27 +70,48 @@ msgstr "" msgid "json ignoré : option source manquante" msgstr "" +#: src/pystashtemplate/outputs/__init__.py +#, python-brace-format +msgid "sortie « {} » déjà inscrite au registre" +msgstr "" + +#: src/pystashtemplate/outputs/__init__.py +#, python-brace-format +msgid "sortie « {} » inconnue — sorties disponibles : {}" +msgstr "" + +#: src/pystashtemplate/outputs/base.py +#, python-brace-format +msgid "action « {} » non supportée par cette sortie (supportées : {})" +msgstr "" + #: src/pystashtemplate/simples.py +#, python-brace-format msgid "cidr : lecture impossible de {} : {}" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "cidr : réseau invalide ignoré : {}" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "csv : analyse impossible du champ {} : {}" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "csv : conversion impossible de {} en {}" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "csv : type {} inconnu pour convert" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "syslog_pri : valeur invalide {}" msgstr "" @@ -91,6 +120,7 @@ msgid "truncate ignoré : length_bytes doit être un entier positif" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "urldecode : décodage impossible : {}" msgstr "" diff --git a/lang/de_DE.po b/lang/de_DE.po index ecc38ea..62a962a 100644 --- a/lang/de_DE.po +++ b/lang/de_DE.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: RsysLogstach\n" "Report-Msgid-Bugs-To: https://github.com/Mathilde-Team/RsysLogstach/issues\n" -"POT-Creation-Date: 2026-11-03 16:17+0000\n" +"POT-Creation-Date: 2026-11-03 21:58+0000\n" "PO-Revision-Date: 2026-10-24 17:02+0000\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" @@ -18,6 +18,7 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: src/pystashtemplate/filters.py +#, python-brace-format msgid "base geoip illisible : {} ({})" msgstr "" @@ -27,30 +28,37 @@ msgid "date : fuseau {name} devenu inconnu, UTC retenu erreur={error}" msgstr "" #: src/pystashtemplate/filters.py +#, python-brace-format msgid "dictionnaire translate illisible : {} ({})" msgstr "" #: src/pystashtemplate/filters.py +#, python-brace-format msgid "exception pendant l'application du filtre mutate, opérations restantes ignorées : {}" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "dissect : conversion impossible de {} en {}" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "dissect : type {} inconnu pour convert_datatype" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "dissect : échec sur le champ {}" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "fingerprint ignoré : {}" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "json : analyse impossible du champ {} : {}" msgstr "" @@ -62,27 +70,48 @@ msgstr "" msgid "json ignoré : option source manquante" msgstr "" +#: src/pystashtemplate/outputs/__init__.py +#, python-brace-format +msgid "sortie « {} » déjà inscrite au registre" +msgstr "" + +#: src/pystashtemplate/outputs/__init__.py +#, python-brace-format +msgid "sortie « {} » inconnue — sorties disponibles : {}" +msgstr "" + +#: src/pystashtemplate/outputs/base.py +#, python-brace-format +msgid "action « {} » non supportée par cette sortie (supportées : {})" +msgstr "" + #: src/pystashtemplate/simples.py +#, python-brace-format msgid "cidr : lecture impossible de {} : {}" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "cidr : réseau invalide ignoré : {}" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "csv : analyse impossible du champ {} : {}" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "csv : conversion impossible de {} en {}" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "csv : type {} inconnu pour convert" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "syslog_pri : valeur invalide {}" msgstr "" @@ -91,6 +120,7 @@ msgid "truncate ignoré : length_bytes doit être un entier positif" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "urldecode : décodage impossible : {}" msgstr "" diff --git a/lang/el_GR.po b/lang/el_GR.po index 7b19927..d784ffb 100644 --- a/lang/el_GR.po +++ b/lang/el_GR.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: RsysLogstach\n" "Report-Msgid-Bugs-To: https://github.com/Mathilde-Team/RsysLogstach/issues\n" -"POT-Creation-Date: 2026-11-03 16:17+0000\n" +"POT-Creation-Date: 2026-11-03 21:58+0000\n" "PO-Revision-Date: 2026-10-24 17:02+0000\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" @@ -18,6 +18,7 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: src/pystashtemplate/filters.py +#, python-brace-format msgid "base geoip illisible : {} ({})" msgstr "" @@ -27,30 +28,37 @@ msgid "date : fuseau {name} devenu inconnu, UTC retenu erreur={error}" msgstr "" #: src/pystashtemplate/filters.py +#, python-brace-format msgid "dictionnaire translate illisible : {} ({})" msgstr "" #: src/pystashtemplate/filters.py +#, python-brace-format msgid "exception pendant l'application du filtre mutate, opérations restantes ignorées : {}" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "dissect : conversion impossible de {} en {}" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "dissect : type {} inconnu pour convert_datatype" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "dissect : échec sur le champ {}" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "fingerprint ignoré : {}" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "json : analyse impossible du champ {} : {}" msgstr "" @@ -62,27 +70,48 @@ msgstr "" msgid "json ignoré : option source manquante" msgstr "" +#: src/pystashtemplate/outputs/__init__.py +#, python-brace-format +msgid "sortie « {} » déjà inscrite au registre" +msgstr "" + +#: src/pystashtemplate/outputs/__init__.py +#, python-brace-format +msgid "sortie « {} » inconnue — sorties disponibles : {}" +msgstr "" + +#: src/pystashtemplate/outputs/base.py +#, python-brace-format +msgid "action « {} » non supportée par cette sortie (supportées : {})" +msgstr "" + #: src/pystashtemplate/simples.py +#, python-brace-format msgid "cidr : lecture impossible de {} : {}" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "cidr : réseau invalide ignoré : {}" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "csv : analyse impossible du champ {} : {}" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "csv : conversion impossible de {} en {}" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "csv : type {} inconnu pour convert" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "syslog_pri : valeur invalide {}" msgstr "" @@ -91,6 +120,7 @@ msgid "truncate ignoré : length_bytes doit être un entier positif" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "urldecode : décodage impossible : {}" msgstr "" diff --git a/lang/en_US.po b/lang/en_US.po index adc4274..4882de7 100644 --- a/lang/en_US.po +++ b/lang/en_US.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: RsysLogstach\n" "Report-Msgid-Bugs-To: https://github.com/Mathilde-Team/RsysLogstach/issues\n" -"POT-Creation-Date: 2026-11-03 16:17+0000\n" +"POT-Creation-Date: 2026-11-03 21:58+0000\n" "PO-Revision-Date: 2026-10-24 17:02+0000\n" "Last-Translator: deusyv\n" "Language-Team: English\n" @@ -18,6 +18,7 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: src/pystashtemplate/filters.py +#, python-brace-format msgid "base geoip illisible : {} ({})" msgstr "unreadable geoip database: {} ({})" @@ -27,31 +28,38 @@ msgid "date : fuseau {name} devenu inconnu, UTC retenu erreur={error}" msgstr "date: timezone {name} no longer known, falling back to UTC error={error}" #: src/pystashtemplate/filters.py +#, python-brace-format msgid "dictionnaire translate illisible : {} ({})" msgstr "unreadable translate dictionary: {} ({})" #: src/pystashtemplate/filters.py +#, python-brace-format msgid "exception pendant l'application du filtre mutate, opérations restantes ignorées : {}" msgstr "exception while applying the mutate filter, remaining operations skipped: {}" # #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "dissect : conversion impossible de {} en {}" msgstr "dissect: cannot convert {} to {}" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "dissect : type {} inconnu pour convert_datatype" msgstr "dissect: unknown type {} for convert_datatype" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "dissect : échec sur le champ {}" msgstr "dissect: failure on field {}" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "fingerprint ignoré : {}" msgstr "fingerprint ignored: {}" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "json : analyse impossible du champ {} : {}" msgstr "json: cannot parse field {}: {}" @@ -63,34 +71,55 @@ msgstr "json: a non-object JSON requires the target option" msgid "json ignoré : option source manquante" msgstr "json ignored: missing source option" +#: src/pystashtemplate/outputs/__init__.py +#, python-brace-format +msgid "sortie « {} » déjà inscrite au registre" +msgstr "output \"{}\" already registered" + +#: src/pystashtemplate/outputs/__init__.py +#, python-brace-format +msgid "sortie « {} » inconnue — sorties disponibles : {}" +msgstr "unknown output \"{}\" — available outputs: {}" + +#: src/pystashtemplate/outputs/base.py +#, python-brace-format +msgid "action « {} » non supportée par cette sortie (supportées : {})" +msgstr "action \"{}\" not supported by this output (supported: {})" + # # #: src/pystashtemplate/simples.py +#, python-brace-format msgid "cidr : lecture impossible de {} : {}" msgstr "cidr: cannot read {}: {}" # #: src/pystashtemplate/simples.py +#, python-brace-format msgid "cidr : réseau invalide ignoré : {}" msgstr "cidr: invalid network ignored: {}" # #: src/pystashtemplate/simples.py +#, python-brace-format msgid "csv : analyse impossible du champ {} : {}" msgstr "csv: cannot parse field {}: {}" # # #: src/pystashtemplate/simples.py +#, python-brace-format msgid "csv : conversion impossible de {} en {}" msgstr "csv: cannot convert {} to {}" # #: src/pystashtemplate/simples.py +#, python-brace-format msgid "csv : type {} inconnu pour convert" msgstr "csv: unknown type {} for convert" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "syslog_pri : valeur invalide {}" msgstr "syslog_pri: invalid value {}" @@ -101,6 +130,7 @@ msgstr "truncate ignored: length_bytes must be a positive integer" # # #: src/pystashtemplate/simples.py +#, python-brace-format msgid "urldecode : décodage impossible : {}" msgstr "urldecode: cannot decode: {}" diff --git a/lang/fa_IR.po b/lang/fa_IR.po index 4e90513..4a1a850 100644 --- a/lang/fa_IR.po +++ b/lang/fa_IR.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: RsysLogstach\n" "Report-Msgid-Bugs-To: https://github.com/Mathilde-Team/RsysLogstach/issues\n" -"POT-Creation-Date: 2026-11-03 16:17+0000\n" +"POT-Creation-Date: 2026-11-03 21:58+0000\n" "PO-Revision-Date: 2026-10-24 17:02+0000\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" @@ -18,6 +18,7 @@ msgstr "" "Plural-Forms: nplurals=1; plural=0;\n" #: src/pystashtemplate/filters.py +#, python-brace-format msgid "base geoip illisible : {} ({})" msgstr "" @@ -27,30 +28,37 @@ msgid "date : fuseau {name} devenu inconnu, UTC retenu erreur={error}" msgstr "" #: src/pystashtemplate/filters.py +#, python-brace-format msgid "dictionnaire translate illisible : {} ({})" msgstr "" #: src/pystashtemplate/filters.py +#, python-brace-format msgid "exception pendant l'application du filtre mutate, opérations restantes ignorées : {}" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "dissect : conversion impossible de {} en {}" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "dissect : type {} inconnu pour convert_datatype" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "dissect : échec sur le champ {}" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "fingerprint ignoré : {}" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "json : analyse impossible du champ {} : {}" msgstr "" @@ -62,27 +70,48 @@ msgstr "" msgid "json ignoré : option source manquante" msgstr "" +#: src/pystashtemplate/outputs/__init__.py +#, python-brace-format +msgid "sortie « {} » déjà inscrite au registre" +msgstr "" + +#: src/pystashtemplate/outputs/__init__.py +#, python-brace-format +msgid "sortie « {} » inconnue — sorties disponibles : {}" +msgstr "" + +#: src/pystashtemplate/outputs/base.py +#, python-brace-format +msgid "action « {} » non supportée par cette sortie (supportées : {})" +msgstr "" + #: src/pystashtemplate/simples.py +#, python-brace-format msgid "cidr : lecture impossible de {} : {}" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "cidr : réseau invalide ignoré : {}" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "csv : analyse impossible du champ {} : {}" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "csv : conversion impossible de {} en {}" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "csv : type {} inconnu pour convert" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "syslog_pri : valeur invalide {}" msgstr "" @@ -91,6 +120,7 @@ msgid "truncate ignoré : length_bytes doit être un entier positif" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "urldecode : décodage impossible : {}" msgstr "" diff --git a/lang/fi_FI.po b/lang/fi_FI.po index 55ff0c9..cf42e83 100644 --- a/lang/fi_FI.po +++ b/lang/fi_FI.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: RsysLogstach\n" "Report-Msgid-Bugs-To: https://github.com/Mathilde-Team/RsysLogstach/issues\n" -"POT-Creation-Date: 2026-11-03 16:17+0000\n" +"POT-Creation-Date: 2026-11-03 21:58+0000\n" "PO-Revision-Date: 2026-10-24 17:02+0000\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" @@ -18,6 +18,7 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: src/pystashtemplate/filters.py +#, python-brace-format msgid "base geoip illisible : {} ({})" msgstr "" @@ -27,30 +28,37 @@ msgid "date : fuseau {name} devenu inconnu, UTC retenu erreur={error}" msgstr "" #: src/pystashtemplate/filters.py +#, python-brace-format msgid "dictionnaire translate illisible : {} ({})" msgstr "" #: src/pystashtemplate/filters.py +#, python-brace-format msgid "exception pendant l'application du filtre mutate, opérations restantes ignorées : {}" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "dissect : conversion impossible de {} en {}" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "dissect : type {} inconnu pour convert_datatype" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "dissect : échec sur le champ {}" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "fingerprint ignoré : {}" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "json : analyse impossible du champ {} : {}" msgstr "" @@ -62,27 +70,48 @@ msgstr "" msgid "json ignoré : option source manquante" msgstr "" +#: src/pystashtemplate/outputs/__init__.py +#, python-brace-format +msgid "sortie « {} » déjà inscrite au registre" +msgstr "" + +#: src/pystashtemplate/outputs/__init__.py +#, python-brace-format +msgid "sortie « {} » inconnue — sorties disponibles : {}" +msgstr "" + +#: src/pystashtemplate/outputs/base.py +#, python-brace-format +msgid "action « {} » non supportée par cette sortie (supportées : {})" +msgstr "" + #: src/pystashtemplate/simples.py +#, python-brace-format msgid "cidr : lecture impossible de {} : {}" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "cidr : réseau invalide ignoré : {}" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "csv : analyse impossible du champ {} : {}" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "csv : conversion impossible de {} en {}" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "csv : type {} inconnu pour convert" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "syslog_pri : valeur invalide {}" msgstr "" @@ -91,6 +120,7 @@ msgid "truncate ignoré : length_bytes doit être un entier positif" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "urldecode : décodage impossible : {}" msgstr "" diff --git a/lang/fr_FR.po b/lang/fr_FR.po index 505fcd3..46bf7e9 100644 --- a/lang/fr_FR.po +++ b/lang/fr_FR.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: RsysLogstach\n" "Report-Msgid-Bugs-To: https://github.com/Mathilde-Team/RsysLogstach/issues\n" -"POT-Creation-Date: 2026-11-03 16:17+0000\n" +"POT-Creation-Date: 2026-11-03 21:58+0000\n" "PO-Revision-Date: 2026-10-24 17:02+0000\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" @@ -18,6 +18,7 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #: src/pystashtemplate/filters.py +#, python-brace-format msgid "base geoip illisible : {} ({})" msgstr "" @@ -27,30 +28,37 @@ msgid "date : fuseau {name} devenu inconnu, UTC retenu erreur={error}" msgstr "" #: src/pystashtemplate/filters.py +#, python-brace-format msgid "dictionnaire translate illisible : {} ({})" msgstr "" #: src/pystashtemplate/filters.py +#, python-brace-format msgid "exception pendant l'application du filtre mutate, opérations restantes ignorées : {}" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "dissect : conversion impossible de {} en {}" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "dissect : type {} inconnu pour convert_datatype" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "dissect : échec sur le champ {}" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "fingerprint ignoré : {}" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "json : analyse impossible du champ {} : {}" msgstr "" @@ -62,27 +70,48 @@ msgstr "" msgid "json ignoré : option source manquante" msgstr "" +#: src/pystashtemplate/outputs/__init__.py +#, python-brace-format +msgid "sortie « {} » déjà inscrite au registre" +msgstr "" + +#: src/pystashtemplate/outputs/__init__.py +#, python-brace-format +msgid "sortie « {} » inconnue — sorties disponibles : {}" +msgstr "" + +#: src/pystashtemplate/outputs/base.py +#, python-brace-format +msgid "action « {} » non supportée par cette sortie (supportées : {})" +msgstr "" + #: src/pystashtemplate/simples.py +#, python-brace-format msgid "cidr : lecture impossible de {} : {}" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "cidr : réseau invalide ignoré : {}" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "csv : analyse impossible du champ {} : {}" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "csv : conversion impossible de {} en {}" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "csv : type {} inconnu pour convert" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "syslog_pri : valeur invalide {}" msgstr "" @@ -91,6 +120,7 @@ msgid "truncate ignoré : length_bytes doit être un entier positif" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "urldecode : décodage impossible : {}" msgstr "" diff --git a/lang/he_IL.po b/lang/he_IL.po index 06c1e5e..3b05a60 100644 --- a/lang/he_IL.po +++ b/lang/he_IL.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: RsysLogstach\n" "Report-Msgid-Bugs-To: https://github.com/Mathilde-Team/RsysLogstach/issues\n" -"POT-Creation-Date: 2026-11-03 16:17+0000\n" +"POT-Creation-Date: 2026-11-03 21:58+0000\n" "PO-Revision-Date: 2026-10-24 17:02+0000\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" @@ -18,6 +18,7 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: src/pystashtemplate/filters.py +#, python-brace-format msgid "base geoip illisible : {} ({})" msgstr "" @@ -27,30 +28,37 @@ msgid "date : fuseau {name} devenu inconnu, UTC retenu erreur={error}" msgstr "" #: src/pystashtemplate/filters.py +#, python-brace-format msgid "dictionnaire translate illisible : {} ({})" msgstr "" #: src/pystashtemplate/filters.py +#, python-brace-format msgid "exception pendant l'application du filtre mutate, opérations restantes ignorées : {}" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "dissect : conversion impossible de {} en {}" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "dissect : type {} inconnu pour convert_datatype" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "dissect : échec sur le champ {}" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "fingerprint ignoré : {}" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "json : analyse impossible du champ {} : {}" msgstr "" @@ -62,27 +70,48 @@ msgstr "" msgid "json ignoré : option source manquante" msgstr "" +#: src/pystashtemplate/outputs/__init__.py +#, python-brace-format +msgid "sortie « {} » déjà inscrite au registre" +msgstr "" + +#: src/pystashtemplate/outputs/__init__.py +#, python-brace-format +msgid "sortie « {} » inconnue — sorties disponibles : {}" +msgstr "" + +#: src/pystashtemplate/outputs/base.py +#, python-brace-format +msgid "action « {} » non supportée par cette sortie (supportées : {})" +msgstr "" + #: src/pystashtemplate/simples.py +#, python-brace-format msgid "cidr : lecture impossible de {} : {}" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "cidr : réseau invalide ignoré : {}" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "csv : analyse impossible du champ {} : {}" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "csv : conversion impossible de {} en {}" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "csv : type {} inconnu pour convert" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "syslog_pri : valeur invalide {}" msgstr "" @@ -91,6 +120,7 @@ msgid "truncate ignoré : length_bytes doit être un entier positif" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "urldecode : décodage impossible : {}" msgstr "" diff --git a/lang/hi_IN.po b/lang/hi_IN.po index b43be58..db5021d 100644 --- a/lang/hi_IN.po +++ b/lang/hi_IN.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: RsysLogstach\n" "Report-Msgid-Bugs-To: https://github.com/Mathilde-Team/RsysLogstach/issues\n" -"POT-Creation-Date: 2026-11-03 16:17+0000\n" +"POT-Creation-Date: 2026-11-03 21:58+0000\n" "PO-Revision-Date: 2026-10-24 17:02+0000\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" @@ -18,6 +18,7 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: src/pystashtemplate/filters.py +#, python-brace-format msgid "base geoip illisible : {} ({})" msgstr "" @@ -27,30 +28,37 @@ msgid "date : fuseau {name} devenu inconnu, UTC retenu erreur={error}" msgstr "" #: src/pystashtemplate/filters.py +#, python-brace-format msgid "dictionnaire translate illisible : {} ({})" msgstr "" #: src/pystashtemplate/filters.py +#, python-brace-format msgid "exception pendant l'application du filtre mutate, opérations restantes ignorées : {}" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "dissect : conversion impossible de {} en {}" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "dissect : type {} inconnu pour convert_datatype" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "dissect : échec sur le champ {}" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "fingerprint ignoré : {}" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "json : analyse impossible du champ {} : {}" msgstr "" @@ -62,27 +70,48 @@ msgstr "" msgid "json ignoré : option source manquante" msgstr "" +#: src/pystashtemplate/outputs/__init__.py +#, python-brace-format +msgid "sortie « {} » déjà inscrite au registre" +msgstr "" + +#: src/pystashtemplate/outputs/__init__.py +#, python-brace-format +msgid "sortie « {} » inconnue — sorties disponibles : {}" +msgstr "" + +#: src/pystashtemplate/outputs/base.py +#, python-brace-format +msgid "action « {} » non supportée par cette sortie (supportées : {})" +msgstr "" + #: src/pystashtemplate/simples.py +#, python-brace-format msgid "cidr : lecture impossible de {} : {}" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "cidr : réseau invalide ignoré : {}" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "csv : analyse impossible du champ {} : {}" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "csv : conversion impossible de {} en {}" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "csv : type {} inconnu pour convert" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "syslog_pri : valeur invalide {}" msgstr "" @@ -91,6 +120,7 @@ msgid "truncate ignoré : length_bytes doit être un entier positif" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "urldecode : décodage impossible : {}" msgstr "" diff --git a/lang/hu_HU.po b/lang/hu_HU.po index 82b79e2..6cd8a58 100644 --- a/lang/hu_HU.po +++ b/lang/hu_HU.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: RsysLogstach\n" "Report-Msgid-Bugs-To: https://github.com/Mathilde-Team/RsysLogstach/issues\n" -"POT-Creation-Date: 2026-11-03 16:17+0000\n" +"POT-Creation-Date: 2026-11-03 21:58+0000\n" "PO-Revision-Date: 2026-10-24 17:02+0000\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" @@ -18,6 +18,7 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: src/pystashtemplate/filters.py +#, python-brace-format msgid "base geoip illisible : {} ({})" msgstr "" @@ -27,30 +28,37 @@ msgid "date : fuseau {name} devenu inconnu, UTC retenu erreur={error}" msgstr "" #: src/pystashtemplate/filters.py +#, python-brace-format msgid "dictionnaire translate illisible : {} ({})" msgstr "" #: src/pystashtemplate/filters.py +#, python-brace-format msgid "exception pendant l'application du filtre mutate, opérations restantes ignorées : {}" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "dissect : conversion impossible de {} en {}" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "dissect : type {} inconnu pour convert_datatype" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "dissect : échec sur le champ {}" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "fingerprint ignoré : {}" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "json : analyse impossible du champ {} : {}" msgstr "" @@ -62,27 +70,48 @@ msgstr "" msgid "json ignoré : option source manquante" msgstr "" +#: src/pystashtemplate/outputs/__init__.py +#, python-brace-format +msgid "sortie « {} » déjà inscrite au registre" +msgstr "" + +#: src/pystashtemplate/outputs/__init__.py +#, python-brace-format +msgid "sortie « {} » inconnue — sorties disponibles : {}" +msgstr "" + +#: src/pystashtemplate/outputs/base.py +#, python-brace-format +msgid "action « {} » non supportée par cette sortie (supportées : {})" +msgstr "" + #: src/pystashtemplate/simples.py +#, python-brace-format msgid "cidr : lecture impossible de {} : {}" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "cidr : réseau invalide ignoré : {}" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "csv : analyse impossible du champ {} : {}" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "csv : conversion impossible de {} en {}" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "csv : type {} inconnu pour convert" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "syslog_pri : valeur invalide {}" msgstr "" @@ -91,6 +120,7 @@ msgid "truncate ignoré : length_bytes doit être un entier positif" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "urldecode : décodage impossible : {}" msgstr "" diff --git a/lang/id_ID.po b/lang/id_ID.po index 2c875dd..1a55c6c 100644 --- a/lang/id_ID.po +++ b/lang/id_ID.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: RsysLogstach\n" "Report-Msgid-Bugs-To: https://github.com/Mathilde-Team/RsysLogstach/issues\n" -"POT-Creation-Date: 2026-11-03 16:17+0000\n" +"POT-Creation-Date: 2026-11-03 21:58+0000\n" "PO-Revision-Date: 2026-10-24 17:02+0000\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" @@ -18,6 +18,7 @@ msgstr "" "Plural-Forms: nplurals=1; plural=0;\n" #: src/pystashtemplate/filters.py +#, python-brace-format msgid "base geoip illisible : {} ({})" msgstr "" @@ -27,30 +28,37 @@ msgid "date : fuseau {name} devenu inconnu, UTC retenu erreur={error}" msgstr "" #: src/pystashtemplate/filters.py +#, python-brace-format msgid "dictionnaire translate illisible : {} ({})" msgstr "" #: src/pystashtemplate/filters.py +#, python-brace-format msgid "exception pendant l'application du filtre mutate, opérations restantes ignorées : {}" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "dissect : conversion impossible de {} en {}" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "dissect : type {} inconnu pour convert_datatype" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "dissect : échec sur le champ {}" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "fingerprint ignoré : {}" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "json : analyse impossible du champ {} : {}" msgstr "" @@ -62,27 +70,48 @@ msgstr "" msgid "json ignoré : option source manquante" msgstr "" +#: src/pystashtemplate/outputs/__init__.py +#, python-brace-format +msgid "sortie « {} » déjà inscrite au registre" +msgstr "" + +#: src/pystashtemplate/outputs/__init__.py +#, python-brace-format +msgid "sortie « {} » inconnue — sorties disponibles : {}" +msgstr "" + +#: src/pystashtemplate/outputs/base.py +#, python-brace-format +msgid "action « {} » non supportée par cette sortie (supportées : {})" +msgstr "" + #: src/pystashtemplate/simples.py +#, python-brace-format msgid "cidr : lecture impossible de {} : {}" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "cidr : réseau invalide ignoré : {}" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "csv : analyse impossible du champ {} : {}" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "csv : conversion impossible de {} en {}" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "csv : type {} inconnu pour convert" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "syslog_pri : valeur invalide {}" msgstr "" @@ -91,6 +120,7 @@ msgid "truncate ignoré : length_bytes doit être un entier positif" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "urldecode : décodage impossible : {}" msgstr "" diff --git a/lang/it_IT.po b/lang/it_IT.po index 9f199ab..2d8dae1 100644 --- a/lang/it_IT.po +++ b/lang/it_IT.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: RsysLogstach\n" "Report-Msgid-Bugs-To: https://github.com/Mathilde-Team/RsysLogstach/issues\n" -"POT-Creation-Date: 2026-11-03 16:17+0000\n" +"POT-Creation-Date: 2026-11-03 21:58+0000\n" "PO-Revision-Date: 2026-10-24 17:02+0000\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" @@ -18,6 +18,7 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: src/pystashtemplate/filters.py +#, python-brace-format msgid "base geoip illisible : {} ({})" msgstr "" @@ -27,30 +28,37 @@ msgid "date : fuseau {name} devenu inconnu, UTC retenu erreur={error}" msgstr "" #: src/pystashtemplate/filters.py +#, python-brace-format msgid "dictionnaire translate illisible : {} ({})" msgstr "" #: src/pystashtemplate/filters.py +#, python-brace-format msgid "exception pendant l'application du filtre mutate, opérations restantes ignorées : {}" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "dissect : conversion impossible de {} en {}" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "dissect : type {} inconnu pour convert_datatype" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "dissect : échec sur le champ {}" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "fingerprint ignoré : {}" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "json : analyse impossible du champ {} : {}" msgstr "" @@ -62,27 +70,48 @@ msgstr "" msgid "json ignoré : option source manquante" msgstr "" +#: src/pystashtemplate/outputs/__init__.py +#, python-brace-format +msgid "sortie « {} » déjà inscrite au registre" +msgstr "" + +#: src/pystashtemplate/outputs/__init__.py +#, python-brace-format +msgid "sortie « {} » inconnue — sorties disponibles : {}" +msgstr "" + +#: src/pystashtemplate/outputs/base.py +#, python-brace-format +msgid "action « {} » non supportée par cette sortie (supportées : {})" +msgstr "" + #: src/pystashtemplate/simples.py +#, python-brace-format msgid "cidr : lecture impossible de {} : {}" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "cidr : réseau invalide ignoré : {}" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "csv : analyse impossible du champ {} : {}" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "csv : conversion impossible de {} en {}" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "csv : type {} inconnu pour convert" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "syslog_pri : valeur invalide {}" msgstr "" @@ -91,6 +120,7 @@ msgid "truncate ignoré : length_bytes doit être un entier positif" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "urldecode : décodage impossible : {}" msgstr "" diff --git a/lang/ja_JP.po b/lang/ja_JP.po index 69721b6..08f9afe 100644 --- a/lang/ja_JP.po +++ b/lang/ja_JP.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: RsysLogstach\n" "Report-Msgid-Bugs-To: https://github.com/Mathilde-Team/RsysLogstach/issues\n" -"POT-Creation-Date: 2026-11-03 16:17+0000\n" +"POT-Creation-Date: 2026-11-03 21:58+0000\n" "PO-Revision-Date: 2026-10-24 17:02+0000\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" @@ -18,6 +18,7 @@ msgstr "" "Plural-Forms: nplurals=1; plural=0;\n" #: src/pystashtemplate/filters.py +#, python-brace-format msgid "base geoip illisible : {} ({})" msgstr "" @@ -27,30 +28,37 @@ msgid "date : fuseau {name} devenu inconnu, UTC retenu erreur={error}" msgstr "" #: src/pystashtemplate/filters.py +#, python-brace-format msgid "dictionnaire translate illisible : {} ({})" msgstr "" #: src/pystashtemplate/filters.py +#, python-brace-format msgid "exception pendant l'application du filtre mutate, opérations restantes ignorées : {}" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "dissect : conversion impossible de {} en {}" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "dissect : type {} inconnu pour convert_datatype" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "dissect : échec sur le champ {}" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "fingerprint ignoré : {}" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "json : analyse impossible du champ {} : {}" msgstr "" @@ -62,27 +70,48 @@ msgstr "" msgid "json ignoré : option source manquante" msgstr "" +#: src/pystashtemplate/outputs/__init__.py +#, python-brace-format +msgid "sortie « {} » déjà inscrite au registre" +msgstr "" + +#: src/pystashtemplate/outputs/__init__.py +#, python-brace-format +msgid "sortie « {} » inconnue — sorties disponibles : {}" +msgstr "" + +#: src/pystashtemplate/outputs/base.py +#, python-brace-format +msgid "action « {} » non supportée par cette sortie (supportées : {})" +msgstr "" + #: src/pystashtemplate/simples.py +#, python-brace-format msgid "cidr : lecture impossible de {} : {}" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "cidr : réseau invalide ignoré : {}" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "csv : analyse impossible du champ {} : {}" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "csv : conversion impossible de {} en {}" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "csv : type {} inconnu pour convert" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "syslog_pri : valeur invalide {}" msgstr "" @@ -91,6 +120,7 @@ msgid "truncate ignoré : length_bytes doit être un entier positif" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "urldecode : décodage impossible : {}" msgstr "" diff --git a/lang/ko_KR.po b/lang/ko_KR.po index 7a14d03..c868a7a 100644 --- a/lang/ko_KR.po +++ b/lang/ko_KR.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: RsysLogstach\n" "Report-Msgid-Bugs-To: https://github.com/Mathilde-Team/RsysLogstach/issues\n" -"POT-Creation-Date: 2026-11-03 16:17+0000\n" +"POT-Creation-Date: 2026-11-03 21:58+0000\n" "PO-Revision-Date: 2026-10-24 17:02+0000\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" @@ -18,6 +18,7 @@ msgstr "" "Plural-Forms: nplurals=1; plural=0;\n" #: src/pystashtemplate/filters.py +#, python-brace-format msgid "base geoip illisible : {} ({})" msgstr "" @@ -27,30 +28,37 @@ msgid "date : fuseau {name} devenu inconnu, UTC retenu erreur={error}" msgstr "" #: src/pystashtemplate/filters.py +#, python-brace-format msgid "dictionnaire translate illisible : {} ({})" msgstr "" #: src/pystashtemplate/filters.py +#, python-brace-format msgid "exception pendant l'application du filtre mutate, opérations restantes ignorées : {}" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "dissect : conversion impossible de {} en {}" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "dissect : type {} inconnu pour convert_datatype" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "dissect : échec sur le champ {}" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "fingerprint ignoré : {}" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "json : analyse impossible du champ {} : {}" msgstr "" @@ -62,27 +70,48 @@ msgstr "" msgid "json ignoré : option source manquante" msgstr "" +#: src/pystashtemplate/outputs/__init__.py +#, python-brace-format +msgid "sortie « {} » déjà inscrite au registre" +msgstr "" + +#: src/pystashtemplate/outputs/__init__.py +#, python-brace-format +msgid "sortie « {} » inconnue — sorties disponibles : {}" +msgstr "" + +#: src/pystashtemplate/outputs/base.py +#, python-brace-format +msgid "action « {} » non supportée par cette sortie (supportées : {})" +msgstr "" + #: src/pystashtemplate/simples.py +#, python-brace-format msgid "cidr : lecture impossible de {} : {}" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "cidr : réseau invalide ignoré : {}" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "csv : analyse impossible du champ {} : {}" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "csv : conversion impossible de {} en {}" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "csv : type {} inconnu pour convert" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "syslog_pri : valeur invalide {}" msgstr "" @@ -91,6 +120,7 @@ msgid "truncate ignoré : length_bytes doit être un entier positif" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "urldecode : décodage impossible : {}" msgstr "" diff --git a/lang/locale/en_US/LC_MESSAGES/pystashtemplate.mo b/lang/locale/en_US/LC_MESSAGES/pystashtemplate.mo index ca56c7f..d0e9c24 100644 Binary files a/lang/locale/en_US/LC_MESSAGES/pystashtemplate.mo and b/lang/locale/en_US/LC_MESSAGES/pystashtemplate.mo differ diff --git a/lang/messages.pot b/lang/messages.pot index 203f69d..67ba157 100644 --- a/lang/messages.pot +++ b/lang/messages.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: RsysLogstach\n" "Report-Msgid-Bugs-To: https://github.com/Mathilde-Team/RsysLogstach/issues\n" -"POT-Creation-Date: 2026-11-03 16:17+0000\n" +"POT-Creation-Date: 2026-11-03 21:58+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -18,14 +18,17 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" #: src/pystashtemplate/filters.py +#, python-brace-format msgid "exception pendant l'application du filtre mutate, opérations restantes ignorées : {}" msgstr "" #: src/pystashtemplate/filters.py +#, python-brace-format msgid "base geoip illisible : {} ({})" msgstr "" #: src/pystashtemplate/filters.py +#, python-brace-format msgid "dictionnaire translate illisible : {} ({})" msgstr "" @@ -35,14 +38,17 @@ msgid "date : fuseau {name} devenu inconnu, UTC retenu erreur={error}" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "dissect : type {} inconnu pour convert_datatype" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "dissect : conversion impossible de {} en {}" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "fingerprint ignoré : {}" msgstr "" @@ -51,6 +57,7 @@ msgid "json ignoré : option source manquante" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "json : analyse impossible du champ {} : {}" msgstr "" @@ -59,30 +66,52 @@ msgid "json : un JSON non objet exige l'option target" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "dissect : échec sur le champ {}" msgstr "" +#: src/pystashtemplate/outputs/__init__.py +#, python-brace-format +msgid "sortie « {} » déjà inscrite au registre" +msgstr "" + +#: src/pystashtemplate/outputs/__init__.py +#, python-brace-format +msgid "sortie « {} » inconnue — sorties disponibles : {}" +msgstr "" + +#: src/pystashtemplate/outputs/base.py +#, python-brace-format +msgid "action « {} » non supportée par cette sortie (supportées : {})" +msgstr "" + #: src/pystashtemplate/simples.py +#, python-brace-format msgid "csv : type {} inconnu pour convert" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "csv : analyse impossible du champ {} : {}" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "csv : conversion impossible de {} en {}" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "cidr : lecture impossible de {} : {}" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "cidr : réseau invalide ignoré : {}" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "urldecode : décodage impossible : {}" msgstr "" @@ -91,6 +120,7 @@ msgid "uuid ignoré : option target manquante" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "syslog_pri : valeur invalide {}" msgstr "" diff --git a/lang/nb_NO.po b/lang/nb_NO.po index e1cc2cc..56df80b 100644 --- a/lang/nb_NO.po +++ b/lang/nb_NO.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: RsysLogstach\n" "Report-Msgid-Bugs-To: https://github.com/Mathilde-Team/RsysLogstach/issues\n" -"POT-Creation-Date: 2026-11-03 16:17+0000\n" +"POT-Creation-Date: 2026-11-03 21:58+0000\n" "PO-Revision-Date: 2026-10-24 17:02+0000\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" @@ -18,6 +18,7 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: src/pystashtemplate/filters.py +#, python-brace-format msgid "base geoip illisible : {} ({})" msgstr "" @@ -27,30 +28,37 @@ msgid "date : fuseau {name} devenu inconnu, UTC retenu erreur={error}" msgstr "" #: src/pystashtemplate/filters.py +#, python-brace-format msgid "dictionnaire translate illisible : {} ({})" msgstr "" #: src/pystashtemplate/filters.py +#, python-brace-format msgid "exception pendant l'application du filtre mutate, opérations restantes ignorées : {}" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "dissect : conversion impossible de {} en {}" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "dissect : type {} inconnu pour convert_datatype" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "dissect : échec sur le champ {}" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "fingerprint ignoré : {}" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "json : analyse impossible du champ {} : {}" msgstr "" @@ -62,27 +70,48 @@ msgstr "" msgid "json ignoré : option source manquante" msgstr "" +#: src/pystashtemplate/outputs/__init__.py +#, python-brace-format +msgid "sortie « {} » déjà inscrite au registre" +msgstr "" + +#: src/pystashtemplate/outputs/__init__.py +#, python-brace-format +msgid "sortie « {} » inconnue — sorties disponibles : {}" +msgstr "" + +#: src/pystashtemplate/outputs/base.py +#, python-brace-format +msgid "action « {} » non supportée par cette sortie (supportées : {})" +msgstr "" + #: src/pystashtemplate/simples.py +#, python-brace-format msgid "cidr : lecture impossible de {} : {}" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "cidr : réseau invalide ignoré : {}" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "csv : analyse impossible du champ {} : {}" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "csv : conversion impossible de {} en {}" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "csv : type {} inconnu pour convert" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "syslog_pri : valeur invalide {}" msgstr "" @@ -91,6 +120,7 @@ msgid "truncate ignoré : length_bytes doit être un entier positif" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "urldecode : décodage impossible : {}" msgstr "" diff --git a/lang/nl_NL.po b/lang/nl_NL.po index 167a4cb..0911a87 100644 --- a/lang/nl_NL.po +++ b/lang/nl_NL.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: RsysLogstach\n" "Report-Msgid-Bugs-To: https://github.com/Mathilde-Team/RsysLogstach/issues\n" -"POT-Creation-Date: 2026-11-03 16:17+0000\n" +"POT-Creation-Date: 2026-11-03 21:58+0000\n" "PO-Revision-Date: 2026-10-24 17:02+0000\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" @@ -18,6 +18,7 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: src/pystashtemplate/filters.py +#, python-brace-format msgid "base geoip illisible : {} ({})" msgstr "" @@ -27,30 +28,37 @@ msgid "date : fuseau {name} devenu inconnu, UTC retenu erreur={error}" msgstr "" #: src/pystashtemplate/filters.py +#, python-brace-format msgid "dictionnaire translate illisible : {} ({})" msgstr "" #: src/pystashtemplate/filters.py +#, python-brace-format msgid "exception pendant l'application du filtre mutate, opérations restantes ignorées : {}" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "dissect : conversion impossible de {} en {}" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "dissect : type {} inconnu pour convert_datatype" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "dissect : échec sur le champ {}" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "fingerprint ignoré : {}" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "json : analyse impossible du champ {} : {}" msgstr "" @@ -62,27 +70,48 @@ msgstr "" msgid "json ignoré : option source manquante" msgstr "" +#: src/pystashtemplate/outputs/__init__.py +#, python-brace-format +msgid "sortie « {} » déjà inscrite au registre" +msgstr "" + +#: src/pystashtemplate/outputs/__init__.py +#, python-brace-format +msgid "sortie « {} » inconnue — sorties disponibles : {}" +msgstr "" + +#: src/pystashtemplate/outputs/base.py +#, python-brace-format +msgid "action « {} » non supportée par cette sortie (supportées : {})" +msgstr "" + #: src/pystashtemplate/simples.py +#, python-brace-format msgid "cidr : lecture impossible de {} : {}" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "cidr : réseau invalide ignoré : {}" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "csv : analyse impossible du champ {} : {}" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "csv : conversion impossible de {} en {}" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "csv : type {} inconnu pour convert" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "syslog_pri : valeur invalide {}" msgstr "" @@ -91,6 +120,7 @@ msgid "truncate ignoré : length_bytes doit être un entier positif" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "urldecode : décodage impossible : {}" msgstr "" diff --git a/lang/pl_PL.po b/lang/pl_PL.po index 7f2c187..4d55327 100644 --- a/lang/pl_PL.po +++ b/lang/pl_PL.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: RsysLogstach\n" "Report-Msgid-Bugs-To: https://github.com/Mathilde-Team/RsysLogstach/issues\n" -"POT-Creation-Date: 2026-11-03 16:17+0000\n" +"POT-Creation-Date: 2026-11-03 21:58+0000\n" "PO-Revision-Date: 2026-10-24 17:02+0000\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" @@ -18,6 +18,7 @@ msgstr "" "Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" #: src/pystashtemplate/filters.py +#, python-brace-format msgid "base geoip illisible : {} ({})" msgstr "" @@ -27,30 +28,37 @@ msgid "date : fuseau {name} devenu inconnu, UTC retenu erreur={error}" msgstr "" #: src/pystashtemplate/filters.py +#, python-brace-format msgid "dictionnaire translate illisible : {} ({})" msgstr "" #: src/pystashtemplate/filters.py +#, python-brace-format msgid "exception pendant l'application du filtre mutate, opérations restantes ignorées : {}" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "dissect : conversion impossible de {} en {}" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "dissect : type {} inconnu pour convert_datatype" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "dissect : échec sur le champ {}" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "fingerprint ignoré : {}" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "json : analyse impossible du champ {} : {}" msgstr "" @@ -62,27 +70,48 @@ msgstr "" msgid "json ignoré : option source manquante" msgstr "" +#: src/pystashtemplate/outputs/__init__.py +#, python-brace-format +msgid "sortie « {} » déjà inscrite au registre" +msgstr "" + +#: src/pystashtemplate/outputs/__init__.py +#, python-brace-format +msgid "sortie « {} » inconnue — sorties disponibles : {}" +msgstr "" + +#: src/pystashtemplate/outputs/base.py +#, python-brace-format +msgid "action « {} » non supportée par cette sortie (supportées : {})" +msgstr "" + #: src/pystashtemplate/simples.py +#, python-brace-format msgid "cidr : lecture impossible de {} : {}" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "cidr : réseau invalide ignoré : {}" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "csv : analyse impossible du champ {} : {}" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "csv : conversion impossible de {} en {}" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "csv : type {} inconnu pour convert" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "syslog_pri : valeur invalide {}" msgstr "" @@ -91,6 +120,7 @@ msgid "truncate ignoré : length_bytes doit être un entier positif" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "urldecode : décodage impossible : {}" msgstr "" diff --git a/lang/pt_BR.po b/lang/pt_BR.po index c335538..9ab601e 100644 --- a/lang/pt_BR.po +++ b/lang/pt_BR.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: RsysLogstach\n" "Report-Msgid-Bugs-To: https://github.com/Mathilde-Team/RsysLogstach/issues\n" -"POT-Creation-Date: 2026-11-03 16:17+0000\n" +"POT-Creation-Date: 2026-11-03 21:58+0000\n" "PO-Revision-Date: 2026-10-24 17:02+0000\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" @@ -18,6 +18,7 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #: src/pystashtemplate/filters.py +#, python-brace-format msgid "base geoip illisible : {} ({})" msgstr "" @@ -27,30 +28,37 @@ msgid "date : fuseau {name} devenu inconnu, UTC retenu erreur={error}" msgstr "" #: src/pystashtemplate/filters.py +#, python-brace-format msgid "dictionnaire translate illisible : {} ({})" msgstr "" #: src/pystashtemplate/filters.py +#, python-brace-format msgid "exception pendant l'application du filtre mutate, opérations restantes ignorées : {}" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "dissect : conversion impossible de {} en {}" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "dissect : type {} inconnu pour convert_datatype" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "dissect : échec sur le champ {}" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "fingerprint ignoré : {}" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "json : analyse impossible du champ {} : {}" msgstr "" @@ -62,27 +70,48 @@ msgstr "" msgid "json ignoré : option source manquante" msgstr "" +#: src/pystashtemplate/outputs/__init__.py +#, python-brace-format +msgid "sortie « {} » déjà inscrite au registre" +msgstr "" + +#: src/pystashtemplate/outputs/__init__.py +#, python-brace-format +msgid "sortie « {} » inconnue — sorties disponibles : {}" +msgstr "" + +#: src/pystashtemplate/outputs/base.py +#, python-brace-format +msgid "action « {} » non supportée par cette sortie (supportées : {})" +msgstr "" + #: src/pystashtemplate/simples.py +#, python-brace-format msgid "cidr : lecture impossible de {} : {}" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "cidr : réseau invalide ignoré : {}" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "csv : analyse impossible du champ {} : {}" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "csv : conversion impossible de {} en {}" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "csv : type {} inconnu pour convert" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "syslog_pri : valeur invalide {}" msgstr "" @@ -91,6 +120,7 @@ msgid "truncate ignoré : length_bytes doit être un entier positif" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "urldecode : décodage impossible : {}" msgstr "" diff --git a/lang/ro_RO.po b/lang/ro_RO.po index 56f7684..4b482da 100644 --- a/lang/ro_RO.po +++ b/lang/ro_RO.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: RsysLogstach\n" "Report-Msgid-Bugs-To: https://github.com/Mathilde-Team/RsysLogstach/issues\n" -"POT-Creation-Date: 2026-11-03 16:17+0000\n" +"POT-Creation-Date: 2026-11-03 21:58+0000\n" "PO-Revision-Date: 2026-10-24 17:02+0000\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" @@ -18,6 +18,7 @@ msgstr "" "Plural-Forms: nplurals=3; plural=n==1 ? 0 : (n==0 || (n%100 > 0 && n%100 < 20)) ? 1 : 2;\n" #: src/pystashtemplate/filters.py +#, python-brace-format msgid "base geoip illisible : {} ({})" msgstr "" @@ -27,30 +28,37 @@ msgid "date : fuseau {name} devenu inconnu, UTC retenu erreur={error}" msgstr "" #: src/pystashtemplate/filters.py +#, python-brace-format msgid "dictionnaire translate illisible : {} ({})" msgstr "" #: src/pystashtemplate/filters.py +#, python-brace-format msgid "exception pendant l'application du filtre mutate, opérations restantes ignorées : {}" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "dissect : conversion impossible de {} en {}" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "dissect : type {} inconnu pour convert_datatype" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "dissect : échec sur le champ {}" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "fingerprint ignoré : {}" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "json : analyse impossible du champ {} : {}" msgstr "" @@ -62,27 +70,48 @@ msgstr "" msgid "json ignoré : option source manquante" msgstr "" +#: src/pystashtemplate/outputs/__init__.py +#, python-brace-format +msgid "sortie « {} » déjà inscrite au registre" +msgstr "" + +#: src/pystashtemplate/outputs/__init__.py +#, python-brace-format +msgid "sortie « {} » inconnue — sorties disponibles : {}" +msgstr "" + +#: src/pystashtemplate/outputs/base.py +#, python-brace-format +msgid "action « {} » non supportée par cette sortie (supportées : {})" +msgstr "" + #: src/pystashtemplate/simples.py +#, python-brace-format msgid "cidr : lecture impossible de {} : {}" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "cidr : réseau invalide ignoré : {}" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "csv : analyse impossible du champ {} : {}" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "csv : conversion impossible de {} en {}" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "csv : type {} inconnu pour convert" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "syslog_pri : valeur invalide {}" msgstr "" @@ -91,6 +120,7 @@ msgid "truncate ignoré : length_bytes doit être un entier positif" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "urldecode : décodage impossible : {}" msgstr "" diff --git a/lang/ru_RU.po b/lang/ru_RU.po index 7d1c4d1..bab0786 100644 --- a/lang/ru_RU.po +++ b/lang/ru_RU.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: RsysLogstach\n" "Report-Msgid-Bugs-To: https://github.com/Mathilde-Team/RsysLogstach/issues\n" -"POT-Creation-Date: 2026-11-03 16:17+0000\n" +"POT-Creation-Date: 2026-11-03 21:58+0000\n" "PO-Revision-Date: 2026-10-24 17:02+0000\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" @@ -18,6 +18,7 @@ msgstr "" "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" #: src/pystashtemplate/filters.py +#, python-brace-format msgid "base geoip illisible : {} ({})" msgstr "" @@ -27,30 +28,37 @@ msgid "date : fuseau {name} devenu inconnu, UTC retenu erreur={error}" msgstr "" #: src/pystashtemplate/filters.py +#, python-brace-format msgid "dictionnaire translate illisible : {} ({})" msgstr "" #: src/pystashtemplate/filters.py +#, python-brace-format msgid "exception pendant l'application du filtre mutate, opérations restantes ignorées : {}" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "dissect : conversion impossible de {} en {}" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "dissect : type {} inconnu pour convert_datatype" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "dissect : échec sur le champ {}" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "fingerprint ignoré : {}" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "json : analyse impossible du champ {} : {}" msgstr "" @@ -62,27 +70,48 @@ msgstr "" msgid "json ignoré : option source manquante" msgstr "" +#: src/pystashtemplate/outputs/__init__.py +#, python-brace-format +msgid "sortie « {} » déjà inscrite au registre" +msgstr "" + +#: src/pystashtemplate/outputs/__init__.py +#, python-brace-format +msgid "sortie « {} » inconnue — sorties disponibles : {}" +msgstr "" + +#: src/pystashtemplate/outputs/base.py +#, python-brace-format +msgid "action « {} » non supportée par cette sortie (supportées : {})" +msgstr "" + #: src/pystashtemplate/simples.py +#, python-brace-format msgid "cidr : lecture impossible de {} : {}" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "cidr : réseau invalide ignoré : {}" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "csv : analyse impossible du champ {} : {}" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "csv : conversion impossible de {} en {}" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "csv : type {} inconnu pour convert" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "syslog_pri : valeur invalide {}" msgstr "" @@ -91,6 +120,7 @@ msgid "truncate ignoré : length_bytes doit être un entier positif" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "urldecode : décodage impossible : {}" msgstr "" diff --git a/lang/sv_SE.po b/lang/sv_SE.po index d8be730..78ca8da 100644 --- a/lang/sv_SE.po +++ b/lang/sv_SE.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: RsysLogstach\n" "Report-Msgid-Bugs-To: https://github.com/Mathilde-Team/RsysLogstach/issues\n" -"POT-Creation-Date: 2026-11-03 16:17+0000\n" +"POT-Creation-Date: 2026-11-03 21:58+0000\n" "PO-Revision-Date: 2026-10-24 17:02+0000\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" @@ -18,6 +18,7 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: src/pystashtemplate/filters.py +#, python-brace-format msgid "base geoip illisible : {} ({})" msgstr "" @@ -27,30 +28,37 @@ msgid "date : fuseau {name} devenu inconnu, UTC retenu erreur={error}" msgstr "" #: src/pystashtemplate/filters.py +#, python-brace-format msgid "dictionnaire translate illisible : {} ({})" msgstr "" #: src/pystashtemplate/filters.py +#, python-brace-format msgid "exception pendant l'application du filtre mutate, opérations restantes ignorées : {}" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "dissect : conversion impossible de {} en {}" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "dissect : type {} inconnu pour convert_datatype" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "dissect : échec sur le champ {}" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "fingerprint ignoré : {}" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "json : analyse impossible du champ {} : {}" msgstr "" @@ -62,27 +70,48 @@ msgstr "" msgid "json ignoré : option source manquante" msgstr "" +#: src/pystashtemplate/outputs/__init__.py +#, python-brace-format +msgid "sortie « {} » déjà inscrite au registre" +msgstr "" + +#: src/pystashtemplate/outputs/__init__.py +#, python-brace-format +msgid "sortie « {} » inconnue — sorties disponibles : {}" +msgstr "" + +#: src/pystashtemplate/outputs/base.py +#, python-brace-format +msgid "action « {} » non supportée par cette sortie (supportées : {})" +msgstr "" + #: src/pystashtemplate/simples.py +#, python-brace-format msgid "cidr : lecture impossible de {} : {}" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "cidr : réseau invalide ignoré : {}" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "csv : analyse impossible du champ {} : {}" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "csv : conversion impossible de {} en {}" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "csv : type {} inconnu pour convert" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "syslog_pri : valeur invalide {}" msgstr "" @@ -91,6 +120,7 @@ msgid "truncate ignoré : length_bytes doit être un entier positif" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "urldecode : décodage impossible : {}" msgstr "" diff --git a/lang/th_TH.po b/lang/th_TH.po index 802fa5f..3d59800 100644 --- a/lang/th_TH.po +++ b/lang/th_TH.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: RsysLogstach\n" "Report-Msgid-Bugs-To: https://github.com/Mathilde-Team/RsysLogstach/issues\n" -"POT-Creation-Date: 2026-11-03 16:17+0000\n" +"POT-Creation-Date: 2026-11-03 21:58+0000\n" "PO-Revision-Date: 2026-10-24 17:02+0000\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" @@ -18,6 +18,7 @@ msgstr "" "Plural-Forms: nplurals=1; plural=0;\n" #: src/pystashtemplate/filters.py +#, python-brace-format msgid "base geoip illisible : {} ({})" msgstr "" @@ -27,30 +28,37 @@ msgid "date : fuseau {name} devenu inconnu, UTC retenu erreur={error}" msgstr "" #: src/pystashtemplate/filters.py +#, python-brace-format msgid "dictionnaire translate illisible : {} ({})" msgstr "" #: src/pystashtemplate/filters.py +#, python-brace-format msgid "exception pendant l'application du filtre mutate, opérations restantes ignorées : {}" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "dissect : conversion impossible de {} en {}" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "dissect : type {} inconnu pour convert_datatype" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "dissect : échec sur le champ {}" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "fingerprint ignoré : {}" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "json : analyse impossible du champ {} : {}" msgstr "" @@ -62,27 +70,48 @@ msgstr "" msgid "json ignoré : option source manquante" msgstr "" +#: src/pystashtemplate/outputs/__init__.py +#, python-brace-format +msgid "sortie « {} » déjà inscrite au registre" +msgstr "" + +#: src/pystashtemplate/outputs/__init__.py +#, python-brace-format +msgid "sortie « {} » inconnue — sorties disponibles : {}" +msgstr "" + +#: src/pystashtemplate/outputs/base.py +#, python-brace-format +msgid "action « {} » non supportée par cette sortie (supportées : {})" +msgstr "" + #: src/pystashtemplate/simples.py +#, python-brace-format msgid "cidr : lecture impossible de {} : {}" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "cidr : réseau invalide ignoré : {}" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "csv : analyse impossible du champ {} : {}" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "csv : conversion impossible de {} en {}" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "csv : type {} inconnu pour convert" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "syslog_pri : valeur invalide {}" msgstr "" @@ -91,6 +120,7 @@ msgid "truncate ignoré : length_bytes doit être un entier positif" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "urldecode : décodage impossible : {}" msgstr "" diff --git a/lang/tr_TR.po b/lang/tr_TR.po index b0fa70b..1b88216 100644 --- a/lang/tr_TR.po +++ b/lang/tr_TR.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: RsysLogstach\n" "Report-Msgid-Bugs-To: https://github.com/Mathilde-Team/RsysLogstach/issues\n" -"POT-Creation-Date: 2026-11-03 16:17+0000\n" +"POT-Creation-Date: 2026-11-03 21:58+0000\n" "PO-Revision-Date: 2026-10-24 17:02+0000\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" @@ -18,6 +18,7 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: src/pystashtemplate/filters.py +#, python-brace-format msgid "base geoip illisible : {} ({})" msgstr "" @@ -27,30 +28,37 @@ msgid "date : fuseau {name} devenu inconnu, UTC retenu erreur={error}" msgstr "" #: src/pystashtemplate/filters.py +#, python-brace-format msgid "dictionnaire translate illisible : {} ({})" msgstr "" #: src/pystashtemplate/filters.py +#, python-brace-format msgid "exception pendant l'application du filtre mutate, opérations restantes ignorées : {}" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "dissect : conversion impossible de {} en {}" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "dissect : type {} inconnu pour convert_datatype" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "dissect : échec sur le champ {}" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "fingerprint ignoré : {}" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "json : analyse impossible du champ {} : {}" msgstr "" @@ -62,27 +70,48 @@ msgstr "" msgid "json ignoré : option source manquante" msgstr "" +#: src/pystashtemplate/outputs/__init__.py +#, python-brace-format +msgid "sortie « {} » déjà inscrite au registre" +msgstr "" + +#: src/pystashtemplate/outputs/__init__.py +#, python-brace-format +msgid "sortie « {} » inconnue — sorties disponibles : {}" +msgstr "" + +#: src/pystashtemplate/outputs/base.py +#, python-brace-format +msgid "action « {} » non supportée par cette sortie (supportées : {})" +msgstr "" + #: src/pystashtemplate/simples.py +#, python-brace-format msgid "cidr : lecture impossible de {} : {}" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "cidr : réseau invalide ignoré : {}" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "csv : analyse impossible du champ {} : {}" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "csv : conversion impossible de {} en {}" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "csv : type {} inconnu pour convert" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "syslog_pri : valeur invalide {}" msgstr "" @@ -91,6 +120,7 @@ msgid "truncate ignoré : length_bytes doit être un entier positif" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "urldecode : décodage impossible : {}" msgstr "" diff --git a/lang/uk_UA.po b/lang/uk_UA.po index a1eed84..6e9cdba 100644 --- a/lang/uk_UA.po +++ b/lang/uk_UA.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: RsysLogstach\n" "Report-Msgid-Bugs-To: https://github.com/Mathilde-Team/RsysLogstach/issues\n" -"POT-Creation-Date: 2026-11-03 16:17+0000\n" +"POT-Creation-Date: 2026-11-03 21:58+0000\n" "PO-Revision-Date: 2026-10-24 17:02+0000\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" @@ -18,6 +18,7 @@ msgstr "" "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" #: src/pystashtemplate/filters.py +#, python-brace-format msgid "base geoip illisible : {} ({})" msgstr "" @@ -27,30 +28,37 @@ msgid "date : fuseau {name} devenu inconnu, UTC retenu erreur={error}" msgstr "" #: src/pystashtemplate/filters.py +#, python-brace-format msgid "dictionnaire translate illisible : {} ({})" msgstr "" #: src/pystashtemplate/filters.py +#, python-brace-format msgid "exception pendant l'application du filtre mutate, opérations restantes ignorées : {}" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "dissect : conversion impossible de {} en {}" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "dissect : type {} inconnu pour convert_datatype" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "dissect : échec sur le champ {}" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "fingerprint ignoré : {}" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "json : analyse impossible du champ {} : {}" msgstr "" @@ -62,27 +70,48 @@ msgstr "" msgid "json ignoré : option source manquante" msgstr "" +#: src/pystashtemplate/outputs/__init__.py +#, python-brace-format +msgid "sortie « {} » déjà inscrite au registre" +msgstr "" + +#: src/pystashtemplate/outputs/__init__.py +#, python-brace-format +msgid "sortie « {} » inconnue — sorties disponibles : {}" +msgstr "" + +#: src/pystashtemplate/outputs/base.py +#, python-brace-format +msgid "action « {} » non supportée par cette sortie (supportées : {})" +msgstr "" + #: src/pystashtemplate/simples.py +#, python-brace-format msgid "cidr : lecture impossible de {} : {}" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "cidr : réseau invalide ignoré : {}" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "csv : analyse impossible du champ {} : {}" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "csv : conversion impossible de {} en {}" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "csv : type {} inconnu pour convert" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "syslog_pri : valeur invalide {}" msgstr "" @@ -91,6 +120,7 @@ msgid "truncate ignoré : length_bytes doit être un entier positif" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "urldecode : décodage impossible : {}" msgstr "" diff --git a/lang/vi_VN.po b/lang/vi_VN.po index 327d7bb..b748e11 100644 --- a/lang/vi_VN.po +++ b/lang/vi_VN.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: RsysLogstach\n" "Report-Msgid-Bugs-To: https://github.com/Mathilde-Team/RsysLogstach/issues\n" -"POT-Creation-Date: 2026-11-03 16:17+0000\n" +"POT-Creation-Date: 2026-11-03 21:58+0000\n" "PO-Revision-Date: 2026-10-24 17:02+0000\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" @@ -18,6 +18,7 @@ msgstr "" "Plural-Forms: nplurals=1; plural=0;\n" #: src/pystashtemplate/filters.py +#, python-brace-format msgid "base geoip illisible : {} ({})" msgstr "" @@ -27,30 +28,37 @@ msgid "date : fuseau {name} devenu inconnu, UTC retenu erreur={error}" msgstr "" #: src/pystashtemplate/filters.py +#, python-brace-format msgid "dictionnaire translate illisible : {} ({})" msgstr "" #: src/pystashtemplate/filters.py +#, python-brace-format msgid "exception pendant l'application du filtre mutate, opérations restantes ignorées : {}" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "dissect : conversion impossible de {} en {}" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "dissect : type {} inconnu pour convert_datatype" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "dissect : échec sur le champ {}" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "fingerprint ignoré : {}" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "json : analyse impossible du champ {} : {}" msgstr "" @@ -62,27 +70,48 @@ msgstr "" msgid "json ignoré : option source manquante" msgstr "" +#: src/pystashtemplate/outputs/__init__.py +#, python-brace-format +msgid "sortie « {} » déjà inscrite au registre" +msgstr "" + +#: src/pystashtemplate/outputs/__init__.py +#, python-brace-format +msgid "sortie « {} » inconnue — sorties disponibles : {}" +msgstr "" + +#: src/pystashtemplate/outputs/base.py +#, python-brace-format +msgid "action « {} » non supportée par cette sortie (supportées : {})" +msgstr "" + #: src/pystashtemplate/simples.py +#, python-brace-format msgid "cidr : lecture impossible de {} : {}" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "cidr : réseau invalide ignoré : {}" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "csv : analyse impossible du champ {} : {}" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "csv : conversion impossible de {} en {}" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "csv : type {} inconnu pour convert" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "syslog_pri : valeur invalide {}" msgstr "" @@ -91,6 +120,7 @@ msgid "truncate ignoré : length_bytes doit être un entier positif" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "urldecode : décodage impossible : {}" msgstr "" diff --git a/lang/zh_CN.po b/lang/zh_CN.po index d43816c..c0367f3 100644 --- a/lang/zh_CN.po +++ b/lang/zh_CN.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: RsysLogstach\n" "Report-Msgid-Bugs-To: https://github.com/Mathilde-Team/RsysLogstach/issues\n" -"POT-Creation-Date: 2026-11-03 16:17+0000\n" +"POT-Creation-Date: 2026-11-03 21:58+0000\n" "PO-Revision-Date: 2026-10-24 17:02+0000\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" @@ -18,6 +18,7 @@ msgstr "" "Plural-Forms: nplurals=1; plural=0;\n" #: src/pystashtemplate/filters.py +#, python-brace-format msgid "base geoip illisible : {} ({})" msgstr "" @@ -27,30 +28,37 @@ msgid "date : fuseau {name} devenu inconnu, UTC retenu erreur={error}" msgstr "" #: src/pystashtemplate/filters.py +#, python-brace-format msgid "dictionnaire translate illisible : {} ({})" msgstr "" #: src/pystashtemplate/filters.py +#, python-brace-format msgid "exception pendant l'application du filtre mutate, opérations restantes ignorées : {}" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "dissect : conversion impossible de {} en {}" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "dissect : type {} inconnu pour convert_datatype" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "dissect : échec sur le champ {}" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "fingerprint ignoré : {}" msgstr "" #: src/pystashtemplate/interpreter.py +#, python-brace-format msgid "json : analyse impossible du champ {} : {}" msgstr "" @@ -62,27 +70,48 @@ msgstr "" msgid "json ignoré : option source manquante" msgstr "" +#: src/pystashtemplate/outputs/__init__.py +#, python-brace-format +msgid "sortie « {} » déjà inscrite au registre" +msgstr "" + +#: src/pystashtemplate/outputs/__init__.py +#, python-brace-format +msgid "sortie « {} » inconnue — sorties disponibles : {}" +msgstr "" + +#: src/pystashtemplate/outputs/base.py +#, python-brace-format +msgid "action « {} » non supportée par cette sortie (supportées : {})" +msgstr "" + #: src/pystashtemplate/simples.py +#, python-brace-format msgid "cidr : lecture impossible de {} : {}" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "cidr : réseau invalide ignoré : {}" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "csv : analyse impossible du champ {} : {}" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "csv : conversion impossible de {} en {}" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "csv : type {} inconnu pour convert" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "syslog_pri : valeur invalide {}" msgstr "" @@ -91,6 +120,7 @@ msgid "truncate ignoré : length_bytes doit être un entier positif" msgstr "" #: src/pystashtemplate/simples.py +#, python-brace-format msgid "urldecode : décodage impossible : {}" msgstr "" diff --git a/src/pystashtemplate/outputs/__init__.py b/src/pystashtemplate/outputs/__init__.py new file mode 100644 index 0000000..beebbf4 --- /dev/null +++ b/src/pystashtemplate/outputs/__init__.py @@ -0,0 +1,123 @@ +# SPDX-License-Identifier: GPL-3.0-or-later +"""Sorties agnostiques du pipeline (issue #4) : registre des plugins `output{}`. + +Le nom du plugin d'un bloc `output{}` du `.conf` (ex. `opensearch`, +`null`) désigne une sous-classe de `Output` inscrite au `REGISTRY`. La +compilation d'un pipeline instancie chaque sortie via +`compiler_sorties()` : un plugin inconnu y lève une erreur claire (et +traduite), avant tout envoi — le moteur reste agnostique du système +cible, chaque sortie porte son propre client. +""" + +from __future__ import annotations + +from typing import TYPE_CHECKING + +from loguru import logger + +from pystashtemplate.i18n import _ +from pystashtemplate.outputs.base import ACTIONS, Capacites, Document, Output +from pystashtemplate.tracing import traced + +if TYPE_CHECKING: + # Typage seul : évite un import cyclique au démarrage, la bibliothèque + # ne dépend pas de l'interpréteur pour enregistrer des sorties. + from pystashtemplate.interpreter import PipelineInterpreter + +# Nom de plugin `output{}` → classe de sortie. Alimenté par le +# décorateur `enregistrer` au moment de l'import de chaque module de +# sortie (la sortie `null` ci-dessous l'est déjà, importée en fin de +# module pour que le registre existe au moment de son inscription). +REGISTRY: dict[str, type[Output]] = {} + + +@traced +def enregistrer(classe: type[Output]) -> type[Output]: + """Décorateur : inscrit une classe de sortie dans le registre sous son `plugin`. + + Args: + classe: Sous-classe concrète de `Output` (attribut `plugin` défini). + + Returns: + La classe, inchangée — l'inscription est un effet de bord. + + Raises: + ValueError: Le plugin est déjà inscrit (deux sorties ne peuvent + pas porter le même nom). + """ + nom = classe.plugin + if nom in REGISTRY: + raise ValueError(_("sortie « {} » déjà inscrite au registre").format(nom)) + REGISTRY[nom] = classe + logger.debug("enregistrer | {} → {}", nom, classe.__qualname__) + return classe + + +@traced +def compiler_sorties(pipeline: PipelineInterpreter) -> list[Output]: + """Instancie les sorties d'un pipeline compilé, ou échoue sur un plugin inconnu. + + À appeler juste après la construction de `PipelineInterpreter` : la + validation a lieu **à la compilation du pipeline**, avant tout envoi + (et donc avant toute connexion). Chaque bloc `output{}` donne une + instance, dans l'ordre du `.conf` — les options rendues contre le + document sont portées par `OutputAction` côté appelant, les options + de connexion viennent de `output_plugins()`. + + Args: + pipeline: Interpréteur déjà construit (son AST est lu, jamais + modifié). + + Returns: + Les sorties instanciées, une par bloc `output{}` du pipeline. + + Raises: + SortieInconnueError: Un plugin `output{}` n'est pas au registre — + le message nomme le coupable et les sorties disponibles. + """ + sorties: list[Output] = [] + for nom, options in pipeline.output_plugins: + classe = REGISTRY.get(nom) + if classe is None: + raise SortieInconnueError(nom, sorted(REGISTRY)) + sorties.append(classe(dict(options))) + logger.debug("compiler_sorties | {} sortie(s)", len(sorties)) + return sorties + + +class SortieInconnueError(ValueError): + """Plugin `output{}` absent du registre — erreur de compilation du pipeline, traduite. + + Message en français construit à la levée (msgfmt vérifie le format + `{}`), nommant le plugin inconnu et les sorties disponibles. + """ + + @traced + def __init__(self, plugin: str, disponibles: list[str]) -> None: + """Construit l'erreur traduite du plugin inconnu. + + Args: + plugin: Nom du plugin `output{}` introuvable au registre. + disponibles: Noms des sorties inscrites, triés. + """ + super().__init__(_("sortie « {} » inconnue — sorties disponibles : {}").format(plugin, ", ".join(disponibles))) + self.plugin = plugin + self.disponibles = list(disponibles) + + +# Import tardif : la sortie factice s'inscrit au registre ci-dessus au +# moment de son import — le registre doit exister (définitions ci-dessus) +# avant que ce module ne soit chargé. +from pystashtemplate.outputs.null import NullOutput # noqa: E402 + +__all__ = [ + "ACTIONS", + "Capacites", + "Document", + "NullOutput", + "Output", + "REGISTRY", + "SortieInconnueError", + "compiler_sorties", + "enregistrer", +] diff --git a/src/pystashtemplate/outputs/base.py b/src/pystashtemplate/outputs/base.py new file mode 100644 index 0000000..96098f1 --- /dev/null +++ b/src/pystashtemplate/outputs/base.py @@ -0,0 +1,157 @@ +# SPDX-License-Identifier: GPL-3.0-or-later +"""Socle des sorties agnostiques (issue #4) : contrat commun `Output`. + +Chaque client d'ingestion (OpenSearch, Elasticsearch, VictoriaLogs…) se +branche derrière la même interface, pour que le moteur reste **agnostique** +du système cible : l'interpréteur de pipeline rend les options de chaque +bloc `output{}` (`PipelineInterpreter.output_plugins`, #125 RsysLogstach), +le registre (`pystashtemplate.outputs.REGISTRY`) fait le lien nom de +plugin → classe, et cette interface décrit le cycle de vie d'une sortie : + +- `open()` : connexion (une seule fois, avant le premier envoi) ; +- `send(batch)` : envoi d'un lot de documents, la sortie gère elle-même + ses lots internes, ses réessais et sa DLQ (issues #5 à #7) ; +- `flush()` : pousser ce qui est en attente avant un arrêt propre ; +- `close()` : libérer la connexion. + +Utilisable avec `async with` : `open()` à l'entrée, `close()` à la sortie. + +Les capacités sont **déclarées par la classe** (`Capacites`), pas +découvertes à l'envoi : le moteur peut valider un pipeline dès sa +compilation (actions demandées supportées, `_id` accepté…) sans ouvrir +la moindre connexion. Les méthodes asynchrones ne peuvent pas utiliser +`tracing.traced` (synchrones) : elles journalisent entrée et sortie à la +main, mêmes règles SOCLE §8 — le décorateur async dédié est l'issue #37. +""" + +from __future__ import annotations + +from abc import ABC, abstractmethod +from collections.abc import Mapping, Sequence +from dataclasses import dataclass +from typing import Any, ClassVar, Self + +from loguru import logger + +from pystashtemplate.i18n import _ +from pystashtemplate.tracing import traced + +# Actions d'indexation d'un document, comme l'API `_bulk` de la famille +# Elasticsearch (issue #2 PyStashTemplate : `index`, `create`, `update`, +# `delete`). +ACTIONS = ("index", "create", "update", "delete") + +# Un document d'événement : dictionnaire plat ou imbriqué, tel que +# traité par `filter{}` et rendu par les gabarits d'`output{}`. +Document = Mapping[str, Any] + + +@dataclass(frozen=True) +class Capacites: + """Ce qu'une sortie accepte, déclaré par sa classe pour validation à la compilation. + + Attributs: + actions: Actions d'indexation supportées, parmi + ``ACTIONS`` (``index``/``create``/``update``/``delete``). + Une classe peut déclarer un sous-ensemble (ex. Quickwit : + ``create`` seulement, issue #2). + accepte_id: `True` si la sortie honore un identifiant de + document (`document_id`, action `_id` de la famille _bulk) ; + une sortie sans `_id` rejette ce qui l'exige. + accuse_par_evenement: `True` si la sortie rend un accusé de + réception élément par élément (comme `_bulk` : un statut par + ligne) ; `False` si l'accusé est global à la requête (ex. + Quickwit, dont les erreurs ne remontent que dans les journaux + serveur). + taille_max_requete: Taille maximale d'une requête en octets, ou + ``None`` si la sortie n'en publie pas (le moteur n'aura pas + à découper le lot en conséquence). + """ + + actions: frozenset[str] = frozenset(ACTIONS) + accepte_id: bool = True + accuse_par_evenement: bool = True + taille_max_requete: int | None = None + + @traced + def verifie_action(self, action: str) -> None: + """Lève si `action` n'est pas supportée par la sortie. + + Args: + action: Action demandée par le pipeline (`index`, `create`…). + + Raises: + ValueError: L'action n'est pas dans les capacités déclarées. + """ + if action not in self.actions: + raise ValueError( + _("action « {} » non supportée par cette sortie (supportées : {})").format( + action, ", ".join(sorted(self.actions)) + ) + ) + + +class Output(ABC): + """Contrat commun d'une sortie de pipeline, agnostique du système cible. + + Une sous-classe déclare son nom de plugin `output{}` (attribut de + classe `plugin`, clé du registre) et ses `Capacites`, puis implémente + le cycle de vie asynchrone ci-dessous. `options` est le dictionnaire + d'options du bloc `output{}`, déjà rendu contre le document (voir + `OutputAction`). + """ + + # Nom du plugin tel qu'écrit dans un bloc `output{}` du `.conf` + # (ex. `opensearch`, `null`). Renseigné par chaque sous-classe. + plugin: ClassVar[str] + + # Ce que la sortie accepte (voir `Capacites`). Renseigné par chaque + # sous-classe — les valeurs par défaut supposent une sortie complète. + capacites: ClassVar[Capacites] = Capacites() + + @traced + def __init__(self, options: dict[str, Any]) -> None: + """Options du bloc `output{}` de la sortie, telles que rendues par l'interpréteur. + + Args: + options: Options du bloc, rendues contre le document pour ce + qui est dynamique (index, identifiant…), telles quelles + pour la connexion (`hosts`, `user`…). + """ + self.options: dict[str, Any] = options + + @abstractmethod + async def open(self) -> None: + """Établit la connexion (idempotent : sans effet si déjà ouverte).""" + + @abstractmethod + async def send(self, batch: Sequence[Document]) -> None: + """Envoie un lot de documents. + + Args: + batch: Documents à indexer, dans l'ordre du pipeline. La + sortie découpe si nécessaire (`taille_max_requete`) et + gère ses réessais ; un échec définitif remonte au + mécanisme de DLQ (#7). + """ + + @abstractmethod + async def flush(self) -> None: + """Pousse les documents en attente (arrêt propre, `SIGTERM`).""" + + @abstractmethod + async def close(self) -> None: + """Libère la connexion et les ressources (idempotent).""" + + async def __aenter__(self) -> Self: + """`async with` : ouvre la sortie et la renvoie.""" + logger.debug("Output.__aenter__ | {} | ouverture", self.plugin) + await self.open() + logger.debug("Output.__aenter__ | {} | sortie", self.plugin) + return self + + async def __aexit__(self, exc_type: Any, exc: Any, tb: Any) -> None: + """`async with` : ferme la sortie, même sur exception.""" + logger.debug("Output.__aexit__ | {} | fermeture (exc={})", self.plugin, exc_type and exc_type.__name__) + await self.close() + logger.debug("Output.__aexit__ | {} | sortie", self.plugin) diff --git a/src/pystashtemplate/outputs/null.py b/src/pystashtemplate/outputs/null.py new file mode 100644 index 0000000..0d0efc2 --- /dev/null +++ b/src/pystashtemplate/outputs/null.py @@ -0,0 +1,50 @@ +# SPDX-License-Identifier: GPL-3.0-or-later +"""Sortie factice `null` : accepte tout, n'envoie rien (issue #4). + +Sert aux tests du socle et comme gabarit minimal d'une vraie sortie : les +quatre méthodes du cycle de vie sont présentes et journalisées, sans +aucune connexion. Le plugin Logstash éponyme (`output { null {} }`) +lui-même ne fait rien de plus. +""" + +from __future__ import annotations + +from collections.abc import Sequence +from typing import ClassVar + +from loguru import logger + +from pystashtemplate.outputs import Capacites, Document, Output, enregistrer + + +@enregistrer +class NullOutput(Output): + """Sortie puits : chaque document est journalisé en debug puis oublié.""" + + plugin: ClassVar[str] = "null" + capacites: ClassVar[Capacites] = Capacites( + actions=frozenset({"index", "create", "update", "delete"}), + accepte_id=True, + accuse_par_evenement=True, + taille_max_requete=None, + ) + + async def open(self) -> None: + """Sans effet : la sortie puits n'a aucune connexion à ouvrir.""" + logger.debug("NullOutput.open | sans effet") + logger.debug("NullOutput.open | sortie") + + async def send(self, batch: Sequence[Document]) -> None: + """Oublie le lot, après l'avoir compté en debug.""" + logger.debug("NullOutput.send | {} document(s) ignoré(s)", len(batch)) + logger.debug("NullOutput.send | sortie") + + async def flush(self) -> None: + """Sans effet : rien n'est jamais mis en attente.""" + logger.debug("NullOutput.flush | sans effet") + logger.debug("NullOutput.flush | sortie") + + async def close(self) -> None: + """Sans effet : aucune ressource à libérer.""" + logger.debug("NullOutput.close | sans effet") + logger.debug("NullOutput.close | sortie") diff --git a/tests/test_outputs.py b/tests/test_outputs.py new file mode 100644 index 0000000..8b843fa --- /dev/null +++ b/tests/test_outputs.py @@ -0,0 +1,185 @@ +# SPDX-License-Identifier: GPL-3.0-or-later +"""Tests du socle des sorties agnostiques (issue #4) : interface `Output`, +capacités, registre, sortie factice `null` et compilation des sorties +d'un pipeline — erreur claire et traduite pour un plugin inconnu. + +Les méthodes asynchrones sont pilotées par `asyncio.run()` : le dépôt +n'utilise pas pytest-asyncio (l'issue #38 généralisera les tests +asyncio). +""" + +from __future__ import annotations + +import asyncio + +import pytest + +from pystashtemplate.interpreter import PipelineInterpreter +from pystashtemplate.outputs import ( + ACTIONS, + REGISTRY, + Capacites, + NullOutput, + Output, + SortieInconnueError, + compiler_sorties, + enregistrer, +) + + +def _pipeline_avec_sortie(plugin: str, options: str = "") -> PipelineInterpreter: + return PipelineInterpreter(f"output {{ {plugin} {{ {options} }} }}") + + +class TestCapacites: + def test_valeurs_par_defaut(self) -> None: + capacites = Capacites() + assert capacites.actions == frozenset(ACTIONS) + assert capacites.accepte_id is True + assert capacites.accuse_par_evenement is True + assert capacites.taille_max_requete is None + + def test_sous_ensemble_declare(self) -> None: + capacites = Capacites( + actions=frozenset({"create"}), accepte_id=False, accuse_par_evenement=False, taille_max_requete=10_485_760 + ) + assert capacites.verifie_action("create") is None # supportée : sans effet + with pytest.raises(ValueError, match="non supportée par cette sortie"): + capacites.verifie_action("index") + + def test_verifie_action_accepte(self) -> None: + Capacites().verifie_action("index") # ne lève pas + + +class TestSortieNull: + def test_insrite_au_registre(self) -> None: + assert REGISTRY["null"] is NullOutput + + def test_cycle_de_vie_sans_effet(self) -> None: + async def scenario() -> list[str]: + async with NullOutput({}) as sortie: + await sortie.send([{"message": "un"}, {"message": "deux"}]) + await sortie.flush() + return ["ok"] + + assert asyncio.run(scenario()) == ["ok"] + + +class TestCompilerSorties: + def test_une_sortie_par_bloc_output(self) -> None: + interp = _pipeline_avec_sortie("null") + sorties = compiler_sorties(interp) + assert len(sorties) == 1 + assert isinstance(sorties[0], NullOutput) + interp.close() + + def test_options_du_bloc_transmises(self) -> None: + interp = _pipeline_avec_sortie("null", 'champ => "valeur"') + (sortie,) = compiler_sorties(interp) + assert sortie.options == {"champ": "valeur"} + interp.close() + + def test_pipeline_sans_output_donne_rien(self) -> None: + interp = PipelineInterpreter("filter { mutate { add_field => {a => 1} } }") + assert compiler_sorties(interp) == [] + interp.close() + + def test_plugin_inconnu_erreur_claire_et_traduite(self) -> None: + interp = _pipeline_avec_sortie("inexistant") + with pytest.raises(SortieInconnueError) as excinfo: + compiler_sorties(interp) + message = str(excinfo.value) + assert "« inexistant »" in message + assert "null" in message # les sorties disponibles sont nommées + assert excinfo.value.plugin == "inexistant" + assert excinfo.value.disponibles == ["null"] + interp.close() + + def test_erreur_transmise_en_valueerror(self) -> None: + interp = _pipeline_avec_sortie("inconnu") + with pytest.raises(ValueError): + compiler_sorties(interp) + interp.close() + + +class TestAsyncWith: + def test_open_et_close_appelles(self) -> None: + etats: list[str] = [] + + class SortieEspionne(Output): + plugin = "espionne" + + async def open(self) -> None: + etats.append("open") + + async def send(self, batch) -> None: + etats.append("send") + + async def flush(self) -> None: + etats.append("flush") + + async def close(self) -> None: + etats.append("close") + + async def scenario() -> None: + async with SortieEspionne({}) as sortie: + await sortie.send([]) + await sortie.flush() + + asyncio.run(scenario()) + assert etats == ["open", "send", "flush", "close"] + + def test_close_meme_sur_exception(self) -> None: + etats: list[str] = [] + + class SortieQuiEchoue(Output): + plugin = "echoue" + + async def open(self) -> None: + etats.append("open") + + async def send(self, batch) -> None: + raise RuntimeError("panne") + + async def flush(self) -> None: + etats.append("flush") + + async def close(self) -> None: + etats.append("close") + + async def scenario() -> None: + async with SortieQuiEchoue({}) as sortie: + await sortie.send([]) + + with pytest.raises(RuntimeError, match="panne"): + asyncio.run(scenario()) + assert etats == ["open", "close"] + + +class TestRegistre: + def test_sortie_abstraite_non_instanciable(self) -> None: + with pytest.raises(TypeError): + Output({}) # type: ignore[abstract] + + def test_double_inscription_refusee(self) -> None: + @enregistrer + class SortieDejaPrise(Output): + plugin = "doublon" + + async def open(self) -> None: + pass + + async def send(self, batch) -> None: + pass + + async def flush(self) -> None: + pass + + async def close(self) -> None: + pass + + try: + with pytest.raises(ValueError, match="déjà inscrite"): + enregistrer(SortieDejaPrise) + finally: + del REGISTRY["doublon"]