Skip to content

Commit a45973b

Browse files
committed
f
1 parent 38dae42 commit a45973b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

scripts/translator.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,7 @@ def translate_text(language, text, file_path, model, cont=0, slpitted=False, cli
203203
response_message = response.choices[0].message.content.strip()
204204
response_message = response_message.replace("bypassy", "bypasses") # PL translations translates that from time to time
205205
response_message = response_message.replace("Bypassy", "Bypasses")
206+
response_message = response_message.replace("-privec.md", "-privesc.md") # PL translations translates that from time to time
206207

207208
# 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 "#"
208209
cont2 = 0

0 commit comments

Comments
 (0)