Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

feat(assistant-ui): localize "New Thread" button label

Steven Enamakelb55c51261e88
diff --git a/app/src/components/assistant-ui/thread-list.tsx b/app/src/components/assistant-ui/thread-list.tsx
index 920665c8d3..b58949fcc6 100644
--- a/app/src/components/assistant-ui/thread-list.tsx
+++ b/app/src/components/assistant-ui/thread-list.tsx
@@ -242,6 +242,7 @@ export const ThreadListNew = forwardRef<
HTMLButtonElement,
ComponentPropsWithoutRef<typeof Button> & { labelClassName?: string }
>(({ className, labelClassName, children, ...props }, ref) => {
+ const { t } = useT();
return (
<ThreadListPrimitive.New
render={
@@ -262,7 +263,7 @@ export const ThreadListNew = forwardRef<
<span
data-slot="aui_thread-list-new-label"
className={cn('whitespace-nowrap', labelClassName)}>
- New Thread
+ {t('assistantUi.threadList.newThread', 'New Thread')}
</span>
</>
)}