diff --git a/frontend/app/chat/[chatId]/components/ActionsBar/components/KnowledgeToFeed/KnowledgeToFeed.tsx b/frontend/app/chat/[chatId]/components/ActionsBar/components/KnowledgeToFeed/KnowledgeToFeed.tsx index 10f5b4e2f..d3bf13938 100644 --- a/frontend/app/chat/[chatId]/components/ActionsBar/components/KnowledgeToFeed/KnowledgeToFeed.tsx +++ b/frontend/app/chat/[chatId]/components/ActionsBar/components/KnowledgeToFeed/KnowledgeToFeed.tsx @@ -1,3 +1,4 @@ +import Link from "next/link"; import { useMemo } from "react"; import { useTranslation } from "react-i18next"; import { MdClose } from "react-icons/md"; @@ -22,7 +23,7 @@ export const KnowledgeToFeed = ({ }: KnowledgeToFeedProps): JSX.Element => { const { allBrains, currentBrainId, setCurrentBrainId } = useBrainContext(); - const { t } = useTranslation(["upload"]); + const { t } = useTranslation(["upload", "brain"]); const { setShouldDisplayFeedCard } = useKnowledgeToFeedContext(); const { currentBrainDetails } = useBrainContext(); @@ -70,6 +71,13 @@ export const KnowledgeToFeed = ({ ) : ( void feedBrain()} /> )} + {Boolean(currentBrainId) && ( + + + + )} ); }; diff --git a/frontend/public/locales/en/brain.json b/frontend/public/locales/en/brain.json index 8ac185d27..9529ce48f 100644 --- a/frontend/public/locales/en/brain.json +++ b/frontend/public/locales/en/brain.json @@ -61,5 +61,6 @@ "update_secrets_message":"Enter your secret. This information is required to identify you when calling the API", "update_secrets_button":"Update secrets", "secrets_updated":"Secrets updated", - "secrets_update_error":"Error while updating secrets" + "secrets_update_error":"Error while updating secrets", + "manage_brain": "Manage brain" } \ No newline at end of file diff --git a/frontend/public/locales/es/brain.json b/frontend/public/locales/es/brain.json index 592f2af50..141f50e4c 100644 --- a/frontend/public/locales/es/brain.json +++ b/frontend/public/locales/es/brain.json @@ -61,5 +61,6 @@ "update_secrets_message": "Ingrese su contraseña. Esta información es necesaria para identificarlo al llamar a la API", "update_secrets_button": "Actualizar secretos", "secrets_updated": "Secretos actualizados", - "secrets_update_error": "Error al actualizar secretos" + "secrets_update_error": "Error al actualizar secretos", + "manage_brain": "Gestionar cerebro" } diff --git a/frontend/public/locales/fr/brain.json b/frontend/public/locales/fr/brain.json index d8413c60c..d187f24e1 100644 --- a/frontend/public/locales/fr/brain.json +++ b/frontend/public/locales/fr/brain.json @@ -61,5 +61,6 @@ "update_secrets_message": "Entrez votre mot de passe. Ces informations sont nécessaires pour vous identifier lors de l'appel de l'API", "update_secrets_button": "Mettre à jour les secrets", "secrets_updated": "Secrets mis à jour", - "secrets_update_error": "Erreur lors de la mise à jour des secrets" + "secrets_update_error": "Erreur lors de la mise à jour des secrets", + "manage_brain": "Gérer le cerveau" } \ No newline at end of file diff --git a/frontend/public/locales/pt-br/brain.json b/frontend/public/locales/pt-br/brain.json index 476b58709..a7635d53f 100644 --- a/frontend/public/locales/pt-br/brain.json +++ b/frontend/public/locales/pt-br/brain.json @@ -61,5 +61,6 @@ "update_secrets_message": "Digite seu segredo. Essa informação é necessária para identificá-lo ao chamar a API", "update_secrets_button": "Atualizar segredos", "secrets_updated": "Segredos atualizados", - "secrets_update_error": "Erro ao atualizar segredos" + "secrets_update_error": "Erro ao atualizar segredos", + "manage_brain": "Gerenciar cérebro" } diff --git a/frontend/public/locales/ru/brain.json b/frontend/public/locales/ru/brain.json index 983e9e0c7..3075b21a8 100644 --- a/frontend/public/locales/ru/brain.json +++ b/frontend/public/locales/ru/brain.json @@ -61,5 +61,6 @@ "update_secrets_message": "Введите свой пароль. Эта информация необходима для идентификации вас при вызове API", "update_secrets_button": "Обновить секреты", "secrets_updated": "Секреты обновлены", - "secrets_update_error": "Ошибка при обновлении секретов" + "secrets_update_error": "Ошибка при обновлении секретов", + "manage_brain": "Управление мозгом" } diff --git a/frontend/public/locales/zh-cn/brain.json b/frontend/public/locales/zh-cn/brain.json index 8bda906b9..a07ddd6ab 100644 --- a/frontend/public/locales/zh-cn/brain.json +++ b/frontend/public/locales/zh-cn/brain.json @@ -61,5 +61,6 @@ "update_secrets_message": "输入您的秘密。在调用API时,此信息是必需的以识别您", "update_secrets_button": "更新秘密", "secrets_updated": "秘密已更新", - "secrets_update_error": "更新秘密时出错" + "secrets_update_error": "更新秘密时出错", + "manage_brain": "管理大脑" }