[langnostic] plugins/json: optimize the json plugin translation prompt (#1360)

This commit is contained in:
Nitesh Seram 2025-04-08 14:01:53 +05:30 committed by GitHub
parent e0c56695e4
commit 42d3cd8a47
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ export default function JsonPlugin(): Plugin {
async getInstructions() {
return [
'The strings are in ICU syntax which can contain HTML/XML tags and template values (wrapped in curly braces).',
'Strictly DO NOT translate these HTML/XML tags and template values.',
'Strictly DO NOT translate these HTML/XML tags and template values and just translate the UI strings around it.',
].join('\n');
},
async getTranslationStrings() {