From 177c06e0fe217c17bb0b3a178bb03d971ead3238 Mon Sep 17 00:00:00 2001 From: Pontus Abrahamsson Date: Wed, 25 Dec 2024 17:47:25 +0100 Subject: [PATCH] Update snapshot --- packages/cli/test/snapshots/js-diff.prompt.txt | 3 ++- packages/cli/test/snapshots/js-new.prompt.txt | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/cli/test/snapshots/js-diff.prompt.txt b/packages/cli/test/snapshots/js-diff.prompt.txt index ee68166..52ae6bf 100644 --- a/packages/cli/test/snapshots/js-diff.prompt.txt +++ b/packages/cli/test/snapshots/js-diff.prompt.txt @@ -10,8 +10,9 @@ Translation Requirements: - Respect existing whitespace and newline patterns - Preserve all object/property keys, syntax characters, and punctuation marks exactly - Only translate text content within quotation marks +- Only return the translations in a JSON array of strings as the schema requires and not as enum values -A list of javascript codeblocks, return the translated javascript string in a JSON array of string: +A list of javascript strings to translate. Return the translations in a JSON array of strings: ```js "title" ``` diff --git a/packages/cli/test/snapshots/js-new.prompt.txt b/packages/cli/test/snapshots/js-new.prompt.txt index 023fc74..a0634c0 100644 --- a/packages/cli/test/snapshots/js-new.prompt.txt +++ b/packages/cli/test/snapshots/js-new.prompt.txt @@ -10,8 +10,9 @@ Translation Requirements: - Respect existing whitespace and newline patterns - Preserve all object/property keys, syntax characters, and punctuation marks exactly - Only translate text content within quotation marks +- Only return the translations in a JSON array of strings as the schema requires and not as enum values -A list of javascript codeblocks, return the translated javascript string in a JSON array of string: +A list of javascript strings to translate. Return the translations in a JSON array of strings: ```js "title" ```