Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
fix(llm): missing translation for name
Elian Doran768c733f92b7
diff --git a/apps/client/src/widgets/type_widgets/llm_chat/ChatMessage.tsx b/apps/client/src/widgets/type_widgets/llm_chat/ChatMessage.tsxindex 1098ba4d25..3441f3c84f 100644--- a/apps/client/src/widgets/type_widgets/llm_chat/ChatMessage.tsx+++ b/apps/client/src/widgets/type_widgets/llm_chat/ChatMessage.tsx@@ -84,7 +84,7 @@ function renderContentBlocks(blocks: ContentBlock[], isStreaming?: boolean) {}export default function ChatMessage({ message, isStreaming }: Props) {- const roleLabel = message.role === "user" ? "You" : "Assistant";+ const roleLabel = message.role === "user" ? t("llm_chat.role_user") : t("llm_chat.role_assistant");const isError = message.type === "error";const isThinking = message.type === "thinking";const textContent = typeof message.content === "string" ? message.content : getMessageText(message.content);