diff --git a/src/components/chat-view/CustomModeView.tsx b/src/components/chat-view/CustomModeView.tsx index 6f078ec..5f2a3dd 100644 --- a/src/components/chat-view/CustomModeView.tsx +++ b/src/components/chat-view/CustomModeView.tsx @@ -215,7 +215,7 @@ const CustomModeView = () => { {/* Mode name */}
-

Mode Name

+

{t('prompt.modeName')}

{!isBuiltinMode && !isNewMode && (
{ isBuiltinMode ? ( -

Built-in mode names cannot be modified

+

{t('prompt.builtinModeNameWarning')}

) : (

- Mode names must only contain letters, numbers, and hyphens + {t('prompt.modeNameRequirements')}

) } @@ -241,7 +241,7 @@ const CustomModeView = () => { setModeName(e.target.value) }} className="infio-custom-modes-input" - placeholder="Enter mode name..." + placeholder={t('prompt.modeNamePlaceholder')} disabled={isBuiltinMode} />
@@ -249,14 +249,14 @@ const CustomModeView = () => { {/* Role definition */}
-

Role Definition

+

{t('prompt.roleDefinition')}

{isBuiltinMode && ( )}
-

Set professional domain and response style

+

{t('prompt.roleDefinitionDescription')}