Skip to content

🔨 Update translation general prompt to enforce link style in translation matches the original link style#15148

Merged
tiangolo merged 1 commit intomasterfrom
fix-translation-script-fails-on-different-link-syntax
Mar 18, 2026
Merged

🔨 Update translation general prompt to enforce link style in translation matches the original link style#15148
tiangolo merged 1 commit intomasterfrom
fix-translation-script-fails-on-different-link-syntax

Conversation

@YuriiMotov
Copy link
Copy Markdown
Member

@YuriiMotov YuriiMotov commented Mar 18, 2026

Currently translation script fails to translate page if there is an existing translation and the link style in the original document has been changed (e.g. from HTML-style to markdown-style).

Checked it locally - works well

@codspeed-hq
Copy link
Copy Markdown

codspeed-hq Bot commented Mar 18, 2026

Merging this PR will not alter performance

✅ 20 untouched benchmarks


Comparing fix-translation-script-fails-on-different-link-syntax (a9f9b7d) with master (d75bc1b)1

Open in CodSpeed

Footnotes

  1. No successful run was found on master (074dd02) during the generation of this report, so d75bc1b was used instead as the comparison base. There might be some changes unrelated to this pull request in this report.

@tiangolo
Copy link
Copy Markdown
Member

Great, thanks!

@tiangolo tiangolo merged commit b089500 into master Mar 18, 2026
31 checks passed
@tiangolo tiangolo deleted the fix-translation-script-fails-on-different-link-syntax branch March 18, 2026 10:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants