Skip to content

Commit 4bf77ff

Browse files
authored
Fix i18n translation in AI settings page (#1661)
Part of OPS-3104. ## Additional Notes I'll override this value in the enterprise-translation.json in internal. Because the string is slightly different in internal. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Localization** * Updated translation entries for OpenOps Assistant feature descriptions * Consolidated and removed duplicate translation keys for improved consistency <sub>✏️ Tip: You can customize this high-level summary in your review settings.</sub> <!-- end of auto-generated comment: release notes by coderabbit.ai -->
1 parent 78f87dc commit 4bf77ff

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

packages/react-ui/public/locales/en/translation.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
"If it's a persistant issue, please contact support with steps to reproduce and include any relevant error messages.": "If it's a persistant issue, please contact support with steps to reproduce and include any relevant error messages.",
1616
"Refresh Page": "Refresh Page",
1717
"Contact Support": "Contact Support",
18+
"OpenOps Assistant": "OpenOps Assistant",
19+
"Enables OpenOps Assistant and other AI-powered features such as the CLI command generation.": "Enables OpenOps Assistant and other AI-powered features such as the CLI command generation.",
1820
"Enable OpenOps AI": "Enable OpenOps AI",
1921
"Save": "Save",
2022
"Valid Connection": "Valid Connection",
@@ -31,8 +33,6 @@
3133
"Your network connection was lost. Please check your internet connection and try again.": "Your network connection was lost. Please check your internet connection and try again.",
3234
"Failed to delete chat. Please try again.": "Failed to delete chat. Please try again.",
3335
"Failed to rename chat. Please try again.": "Failed to rename chat. Please try again.",
34-
"OpenOps Assistant": "OpenOps Assistant",
35-
"OpenOps Agent": "OpenOps Agent",
3636
"MCP": "MCP",
3737
"AWS Cost": "AWS Cost",
3838
"Connection": "Connection",

packages/react-ui/src/app/features/ai/ai-settings-form.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -85,10 +85,7 @@ const AiSettingsForm = ({
8585
};
8686

8787
const descriptionText = t(
88-
'Enables {assistantName} and other AI-powered features such as the CLI command generation.',
89-
{
90-
assistantName: t('OpenOps Assistant'),
91-
},
88+
'Enables OpenOps Assistant and other AI-powered features such as the CLI command generation.',
9289
);
9390

9491
return (

0 commit comments

Comments
 (0)