The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
feat(assistant-ui): add Polish translations for thread component
Steven Enamakel0a64f578738f
diff --git a/app/src/components/assistant-ui/thread.tsx b/app/src/components/assistant-ui/thread.tsxindex e3eb0bb3c8..f7a4661c13 100644--- a/app/src/components/assistant-ui/thread.tsx+++ b/app/src/components/assistant-ui/thread.tsx@@ -12,6 +12,7 @@ import { EditMessage } from '@/components/assistant-ui/elements/edit-message';import { ErrorState } from '@/components/assistant-ui/elements/error-state';import { Image } from '@/components/assistant-ui/elements/image';import { MessageTiming } from '@/components/assistant-ui/elements/message-timing.aui';+import { fullTimestamp, relativeTime } from '@/utils/relativeTime';import { StoppedRun } from '@/components/assistant-ui/elements/stopped-run';import { ToolFallback } from '@/components/assistant-ui/elements/tool-fallback';import { File } from '@/components/assistant-ui/file';@@ -1794,10 +1795,43 @@ const AssistantActionBar: FC = () => {* that element's own docstring for why it belongs inside this root.*/}<MessageTiming />+ <MessageTimestamp /></ActionBarPrimitive.Root>);};+/**+ * Muted relative send time beside the message actions ("5m ago"), with the+ * full local date, time and zone in its tooltip. The action bar mounts on+ * hover (and for the last message), so "now" is taken when it mounts rather+ * than ticking on every message in a long transcript.+ */+const MessageTimestamp: FC = () => {+ const { t, locale } = useT();+ const createdAt = useAuiState(s => s.message.createdAt);+ const [now] = useState(() => new Date());+ if (!(createdAt instanceof Date)) return null;+ const relative = relativeTime(createdAt, now, locale);+ if (!relative) return null;+ const label =+ relative.kind === 'justNow'+ ? t('chat.message.justNow')+ : relative.kind === 'minutes'+ ? t('chat.message.minutesAgo').replace('{count}', String(relative.count))+ : relative.kind === 'hours'+ ? t('chat.message.hoursAgo').replace('{count}', String(relative.count))+ : relative.label;+ return (+ <time+ data-testid="message-timestamp"+ dateTime={createdAt.toISOString()}+ title={fullTimestamp(createdAt, locale)}+ className="text-muted-foreground/80 ms-1 self-center text-xs tabular-nums">+ {label}+ </time>+ );+};+const UserFilePart: FileMessagePartComponent = part => (<div data-slot="aui_user-message-file" className="py-1"><File {...part} />diff --git a/app/src/lib/i18n/pl.ts b/app/src/lib/i18n/pl.tsindex 86d9aa8782..094549a45a 100644--- a/app/src/lib/i18n/pl.ts+++ b/app/src/lib/i18n/pl.ts@@ -1547,6 +1547,21 @@ const messages: TranslationMap = {'chat.failedToLoadMessages': 'Nie udało się wczytać wiadomości','chat.thinkingIteration': 'Myślę... ({n})','chat.thinkingDots': 'Myślę...',+ 'chat.status.thinkingElapsed': 'Myślę · {elapsed}',+ 'chat.status.waitingApproval': 'Czeka na Twoją zgodę',+ 'chat.status.waitingReview': 'Czeka na Twoją ocenę',+ 'chat.status.waitingAnswer': 'Czeka na Twoją odpowiedź',+ 'chat.status.waitingOnSubagent': 'Czeka na {name}',+ 'chat.status.waitingOnSubagents': 'Czeka na subagentów: {count}',+ 'chat.status.quietFor': 'Cisza od {duration}.',+ 'chat.status.stop': 'Zatrzymaj',+ 'chat.tools.callOne': 'Wywołania narzędzi: {count}',+ 'chat.tools.callOther': 'Wywołania narzędzi: {count}',+ 'chat.tools.reasoningWithCalls': 'Rozumowanie · {calls}',+ 'chat.tools.reasoning': 'Rozumowanie',+ 'chat.tools.activity': 'Aktywność',+ 'chat.tools.workedFor': 'Pracował przez {duration} · {calls}',+ 'chat.elicitation.declineReply': 'Wolę na to nie odpowiadać. Kontynuuj bez tego.','chat.upgrade': 'Podnieś plan','chat.weeklyLimitHit': 'Wykorzystano przewidziany budżet cyklu.','chat.resets': 'Reset',