MCPcopy Index your code
hub / github.com/simstudioai/sim / getTranslationPrompt

Function getTranslationPrompt

apps/sim/blocks/blocks/translate.ts:9–10  ·  view source on GitHub ↗
(targetLanguage: string)

Source from the content-addressed store, hash-verified

7} from '@/blocks/utils'
8
9const getTranslationPrompt = (targetLanguage: string) =>
10 `Translate the following text into ${targetLanguage || 'English'}. Output ONLY the translated text with no additional commentary, explanations, or notes.`
11
12export const TranslateBlock: BlockConfig = {
13 type: 'translate',

Callers 1

translate.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected