export interface AgentPromptSuggestion { eyebrow?: string; prompt: string; actionLabel: string; copyLabel: string; copiedMessage: string; copyErrorMessage: string; } interface LocalizedPrompt { en: string; sv: string; } export function createAgentPromptSuggestion( prompt: LocalizedPrompt, projectLanguage: string, ): AgentPromptSuggestion { const isSwedish = projectLanguage === "sv" || projectLanguage.startsWith("sv-"); if (isSwedish) { return { prompt: prompt.sv, actionLabel: "Agentpromptar", copyLabel: "Kopiera agentprompt", copiedMessage: "Agentprompten har kopierats.", copyErrorMessage: "Agentprompten kunde inte kopieras.", }; } return { prompt: prompt.en, actionLabel: "Agent prompts", copyLabel: "Copy agent prompt", copiedMessage: "Agent prompt copied.", copyErrorMessage: "Agent prompt could not be copied.", }; }