Skip to content

Enhanced ChatGPT Clone: Features Agents, MCP, Skills, DeepSeek, Anthropic, AWS, OpenAI, Responses API, Azure, Groq, o1, GPT-5, Mistral, OpenRouter, Vertex AI, Gemini, Artifacts, AI model switching, message search, Code Interpreter, langchain, DALL-E-3, OpenAPI Actions, Functions, Secure Multi-User Auth, Presets, open-source for self-hosting. Active

🔤 fix: Replace Translation Keys with Localized Text (#10486)

Maximf6868fc851c5
diff --git a/client/src/components/SidePanel/Parameters/DynamicSwitch.tsx b/client/src/components/SidePanel/Parameters/DynamicSwitch.tsx
index df91baaa02..650b35fce2 100644
--- a/client/src/components/SidePanel/Parameters/DynamicSwitch.tsx
+++ b/client/src/components/SidePanel/Parameters/DynamicSwitch.tsx
@@ -56,7 +56,7 @@ function DynamicSwitch({
{showDefault && (
<small className="opacity-40">
({localize('com_endpoint_default')}:{' '}
- {defaultValue != null ? 'com_ui_on' : 'com_ui_off'})
+ {defaultValue != null ? localize('com_ui_on') : localize('com_ui_off')})
</small>
)}
</Label>