From a45973b8a78166699655ea6837871ee7ec29a3ba Mon Sep 17 00:00:00 2001 From: carlospolop Date: Thu, 21 Aug 2025 02:29:00 +0200 Subject: [PATCH] f --- scripts/translator.py | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/translator.py b/scripts/translator.py index 8d61a235a..869cd91b0 100644 --- a/scripts/translator.py +++ b/scripts/translator.py @@ -203,6 +203,7 @@ Also don't add any extra stuff in your response that is not part of the translat response_message = response.choices[0].message.content.strip() response_message = response_message.replace("bypassy", "bypasses") # PL translations translates that from time to time response_message = response_message.replace("Bypassy", "Bypasses") + response_message = response_message.replace("-privec.md", "-privesc.md") # PL translations translates that from time to time # Sometimes chatgpt modified the number of "#" at the beginning of the text, so we need to fix that. This is specially important for the first line of the MD that mucst have only 1 "#" cont2 = 0