]> git.ipfire.org Git - thirdparty/fastapi/fastapi.git/commitdiff
🔨 Update translation general prompt to enforce link style in translation matches...
authorMotov Yurii <109919500+YuriiMotov@users.noreply.github.com>
Wed, 18 Mar 2026 10:55:36 +0000 (11:55 +0100)
committerGitHub <noreply@github.com>
Wed, 18 Mar 2026 10:55:36 +0000 (11:55 +0100)
scripts/general-llm-prompt.md

index 23926bd8e921245174b30f4565025771a7baf571..cfad6ff43dcefbef558a8c452b6047001d94ca31 100644 (file)
@@ -349,6 +349,8 @@ Good translation (German) - URL stays like in the English source.
 Erstelle eine [Virtuelle Umgebung](../virtual-environments.md){.internal-link target=_blank}
 ```
 
+**Important**: Always match the link syntax used in the English source document. If the English source uses Markdown-style links (`[text](url)`), the translation must also use Markdown-style links. If the English source uses HTML-style links (`<a href="url">text</a>`), the translation must also use HTML-style links. The link format in the translation must always mirror the link format in the English source.
+
 ### HTML abbr elements
 
 Translate HTML abbr elements (`<abbr title="description">text</abbr>`) as follows: