Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 28 additions & 1 deletion convex/agent.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,10 @@ describe('yoji Agent', () => {
'{"reply": "YJ-1 is on Monday at 12."}',
);
const { reply, messageId } = await ask(t, 'put orbit on monday at noon');
expect(reply.cards[0]).toMatchObject({ state: 'applied', undoable: true, lines: [{ label: 'YJ-1', text: 'Time', to: 'Mon, Oct 26 12pm' }] });
expect(reply.cards[0]).toMatchObject({ state: 'applied', undoable: true, lines: [{ label: 'YJ-1', text: 'Time', to: 'Mon, Oct 26 · 12pm' }] });
expect(reply.cards[0].appliedAt).toBeUndefined();
const { generate } = await import('./ai');
expect(vi.mocked(generate).mock.calls.at(-1)![1].at(-1)!.content).toContain('Applied now, not a proposal: nothing waits for Apply');
const s = await snap();
const task = s.tasks.find((x) => x.num === 1)!;
expect(task.day).toBeUndefined();
Expand All @@ -203,6 +206,30 @@ describe('yoji Agent', () => {
vi.useRealTimers();
});

it('proposes a time block, and once Apply is pressed the card reads Applied and the next turn knows it was applied', async () => {
vi.useFakeTimers();
const { t, snap } = await setup();
const { generate } = await import('./ai');
replies.push(
'{"propose": true, "calls": [{"tool": "scheduleAt", "args": {"task": "YJ-1", "day": "2026-12-01", "time": "13:00", "duration": 120}}]}',
'{"reply": "I proposed a 2 hour block on Tue Dec 1 at 1pm. It waits for you to press Apply."}',
);
const { reply, messageId, chatId } = await ask(t, 'block 2 hours for orbit on dec 1 at 1pm');
expect(reply.cards[0]).toMatchObject({ state: 'proposed', lines: [{ label: 'YJ-1', text: 'Time', from: 'Tue, Oct 20', to: 'Tue, Dec 1 · 1pm' }] });
expect(reply.cards[0].appliedAt).toBeUndefined();
expect(vi.mocked(generate).mock.calls.at(-1)![1].at(-1)!.content).toContain('not applied');
expect((await snap()).sessions).toHaveLength(0);
expect(await t.mutation(api.agent.applyCard, { messageId, cardId: reply.cards[0].id, skip: [] })).toEqual({ ok: true });
const applied = (await t.query(api.agent.messages, { chatId })).find((m) => m._id === messageId)!.cards[0];
expect(applied).toMatchObject({ state: 'applied', undoable: true, after: reply.cards[0].after, appliedAt: expect.any(Number), lines: [{ text: 'Time', to: 'Tue, Dec 1 · 1pm' }] });
expect((await snap()).sessions).toEqual([expect.objectContaining({ day: '2026-12-01', start: 780, end: 900 })]);
await ask(t, 'thanks', chatId);
const past = vi.mocked(generate).mock.calls.at(-1)![1].find((m) => m.role === 'assistant')!.content;
expect(past).toContain('[proposal they applied with Apply]');
expect(past).not.toContain('proposal waiting for Apply');
vi.useRealTimers();
});

it('saves a playbook, and Undo removes it', async () => {
vi.useFakeTimers();
const { t } = await setup();
Expand Down
6 changes: 3 additions & 3 deletions convex/agent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ export const applyCard = userMutation({
if (card.state !== 'proposed') throw new ConvexError('That proposal was already handled');
try {
const done = await applyCalls(ctx, card.calls, skip, card.id);
await ctx.db.patch(m._id, { cards: withCard(m, i, card.after === undefined ? done : { ...done, after: card.after }) });
await ctx.db.patch(m._id, { cards: withCard(m, i, { ...done, ...(card.after === undefined ? {} : { after: card.after }), appliedAt: Date.now() }) });
return { ok: true as const };
} catch (e) {
if (!(e instanceof CallError)) throw e;
Expand Down Expand Up @@ -535,7 +535,7 @@ function pastReply(m: Doc<'agentMessages'>): string {
? `[Slack message to ${c.draft.to}, ${c.state === 'sent' ? 'sent' : c.state === 'undone' ? 'sent, then deleted from Slack' : c.state === 'discarded' ? 'discarded, not sent' : 'waiting for Send, not sent'}]\n${c.draft.text.slice(0, 400)}`
: c.draft
? `[${c.kind === 'reply' ? 'reply' : 'question'} drafted for ${c.draft.to}, not sent${c.state === 'discarded' ? ', discarded' : ''}]\n${c.draft.text.slice(0, 400)}`
: `[${c.state === 'proposed' ? 'proposal waiting for Apply' : c.state === 'applied' ? 'applied' : c.state}]\n${c.lines.map(lineText).join('\n')}`);
: `[${c.state === 'proposed' ? 'proposal waiting for Apply' : c.state === 'applied' ? (c.appliedAt ? 'proposal they applied with Apply' : 'applied') : c.state}]\n${c.lines.map(lineText).join('\n')}`);
return [m.text || '(no reply)', ...cards].join('\n');
}

Expand Down Expand Up @@ -820,7 +820,7 @@ export const run = internalAction({
} else {
const done = await ctx.runMutation(internal.agent.commit, { messageId, calls: batch, cardId: `c${++cards}` });
world = await ctx.runQuery(internal.agent.world, { today: world.today });
result = 'error' in done ? `Error: ${done.error}. Nothing was changed.` : `Applied (${callName(world.me)} sees it with Undo):\n${done.lines.map(lineText).join('\n')}`;
result = 'error' in done ? `Error: ${done.error}. Nothing was changed.` : `Applied now, not a proposal: nothing waits for Apply (${callName(world.me)} sees it with Undo):\n${done.lines.map(lineText).join('\n')}`;
}
} catch (e) {
if (!(e instanceof CallError)) throw e;
Expand Down
2 changes: 2 additions & 0 deletions convex/agentSchema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ export const agentCard = v.object({
error: v.optional(v.string()),
/** How many of the reply's steps came before this card, so the apps list it where it happened among them. */
after: v.optional(v.number()),
/** When you pressed Apply on this proposal. A change the agent made straight away has none. */
appliedAt: v.optional(v.number()),
});

export const agentContext = v.object({
Expand Down
2 changes: 1 addition & 1 deletion convex/integrations.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -845,7 +845,7 @@ describe('disconnect', () => {
const ids = [await connection(t, 'google'), await connection(t, 'slack'), await connection(t, 'asana'), await connection(t, CANVAS)];
for (const id of ids) await t.mutation(api.integrations.disconnect, { id });
await settle(t);
expect(revoked).toEqual([['google', 'secret-refresh', null], ['slack', null, 'Bearer secret-access'], ['asana', 'secret-refresh', 'asana-secret']]);
expect(revoked.sort(([a], [b]) => a.localeCompare(b))).toEqual([['asana', 'secret-refresh', 'asana-secret'], ['google', 'secret-refresh', null], ['slack', null, 'Bearer secret-access']]);
expect(await t.run((ctx) => ctx.db.query('connections').collect())).toEqual([]);
});
});
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "yoji",
"productName": "yoji",
"version": "0.1.2",
"version": "0.1.3",
"private": true,
"description": "A desktop app for your tasks, calendar, inbox and AI agents, on a Convex backend you own.",
"license": "Apache-2.0",
Expand Down
5 changes: 3 additions & 2 deletions src/renderer/src/actions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import {
addDays,
day0,
dayLabel,
dayTime,
dkey,
dur,
fromKey,
Expand Down Expand Up @@ -377,7 +378,7 @@ export function pickMenu(kind: PickKind): Picker | undefined {
// when
const len = blockMode ? b!.end - b!.start : t!.length || 60;
const apply = (day: string, time: number | null, L?: number | null) => {
const msg = to(time != null ? `${dayLabel(day)} ${tshort(time)}` : dayLabel(day));
const msg = to(time != null ? dayTime(dayLabel(day), tshort(time)) : dayLabel(day));
if (blockMode) {
const s = liveB();
if (!s) return;
Expand All @@ -399,7 +400,7 @@ export function pickMenu(kind: PickKind): Picker | undefined {
const day = p.day || todayKey(), L = blockMode ? len : p.length || len;
out.push({
label:
p.time != null ? `${longDate(day)} · ${range(p.time, Math.min(1440, p.time + L))}` : longDate(day),
p.time != null ? dayTime(longDate(day), range(p.time, Math.min(1440, p.time + L))) : longDate(day),
icon: I.enter,
keys: ['↵'],
run: () => apply(day, p.time, blockMode ? null : p.length),
Expand Down
3 changes: 2 additions & 1 deletion src/renderer/src/captainWindow.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import { act, createElement } from 'react';
import { createRoot, type Root } from 'react-dom/client';
import { afterEach, beforeAll, beforeEach, describe, expect, it, vi } from 'vitest';
import type { Captain, CaptainMessage, CaptainView } from '../../shared/captains';
import { slow } from '../../../scripts/testTimeout';
import { WINDOW_MAX, WINDOW_OPEN } from './chatWindow';

const state = vi.hoisted(() => ({ view: null as CaptainView | null, earlier: [] as CaptainMessage[], more: true, loads: 0 }));
Expand Down Expand Up @@ -100,7 +101,7 @@ describe('scrolling far up a long Captain chat', () => {
expect(drawn()).toHaveLength(WINDOW_MAX);
expect(state.loads).toBe(TOTAL / PAGE - 1);
expect(host.querySelectorAll('.ag-doc > [data-msg]').length).toBeLessThanOrEqual(WINDOW_MAX);
});
}, slow(15_000));

it('jumps back to the newest message from the top of the history', () => {
show('back', TOTAL);
Expand Down
8 changes: 4 additions & 4 deletions src/renderer/src/drag.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import type { MouseEvent as ReactMouseEvent, PointerEvent as ReactPointerEvent } from 'react';
import { snap15, snapEdge, snapMove } from '../../shared/calendar';
import { t as tr } from '../../shared/i18n';
import { dayLabel, daysBetween, plusDays, range, trunc, tshort } from '../../shared/time';
import { dayLabel, dayTime, daysBetween, plusDays, range, trunc, tshort } from '../../shared/time';
import { closeBlockPop, draftOpen, HOUR, newBlock, openBlockPop, touchDraft } from './actions';
import { act, getModel } from './data';
import { moveAllDay, moveEvent, moveEventDays } from './editEvents';
Expand Down Expand Up @@ -194,7 +194,7 @@ function onUp() {
setUI({ sel: { kind: 'block', id: s._id } });
toast(
<>
{trunc(m.sessionName(s), 26)} → <b>{`${dayLabel(day)} ${range(s.start, s.end)}`}</b>
{trunc(m.sessionName(s), 26)} → <b>{dayTime(dayLabel(day), range(s.start, s.end))}</b>
</>,
true,
);
Expand Down Expand Up @@ -231,7 +231,7 @@ function onUp() {
if (s)
toast(
<>
{trunc(getModel().sessionName(s), 26)} → <b>{`${dayLabel(mv.day)} ${range(mv.start, mv.end)}`}</b>
{trunc(getModel().sessionName(s), 26)} → <b>{dayTime(dayLabel(mv.day), range(mv.start, mv.end))}</b>
</>,
true,
);
Expand All @@ -252,7 +252,7 @@ function onUp() {
void act(
{ kind: 'schedule', id: task._id, day: g.day, time: g.start },
<>
<b>{title}</b> → {`${dayLabel(g.day)} ${tshort(g.start)}`}
<b>{title}</b> → {dayTime(dayLabel(g.day), tshort(g.start))}
</>,
);
else if (dd)
Expand Down
6 changes: 3 additions & 3 deletions src/renderer/src/editEvents.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Changes to Google Calendar events from yoji: shown at once as pending edits, sent to Google through
// Convex, undoable from the toast or with ⌘Z, and put back with a short error if Google refuses.
import type { ReactNode } from 'react';
import { dayLabel, dkey, plusDays, range, shiftDays, trunc } from '../../shared/time';
import { dayLabel, dayTime, dkey, plusDays, range, shiftDays, trunc } from '../../shared/time';
import { pushUndoStep } from './data';
import { atMinute, clearPending, eventLook, eventTitle, getIntegrationsSource, integrationError, NO_TITLE, revertPatch, setPending, type EventPatch, type ExternalEvent, type NewEvent } from './integrationsData';
import { toast } from './store';
Expand Down Expand Up @@ -43,7 +43,7 @@ export function updateEvent(e: ExternalEvent, patch: EventPatch, msg?: ReactNode
export function moveEvent(e: ExternalEvent, day: string, start: number, end: number): void {
updateEvent(e, { start: atMinute(day, start), end: atMinute(day, end) }, (
<>
{trunc(eventTitle(e.title), 26)} → <b>{`${dayLabel(day)} ${range(start, end)}`}</b>
{trunc(eventTitle(e.title), 26)} → <b>{dayTime(dayLabel(day), range(start, end))}</b>
</>
));
}
Expand All @@ -64,7 +64,7 @@ export function moveEventDays(e: ExternalEvent, n: number): void {
const min = (d: Date) => d.getHours() * 60 + d.getMinutes();
updateEvent(e, { start: start.getTime(), end: end.getTime() }, (
<>
{trunc(eventTitle(e.title), 26)} → <b>{`${dayLabel(dkey(start))} ${range(min(start), min(end))}`}</b>
{trunc(eventTitle(e.title), 26)} → <b>{dayTime(dayLabel(dkey(start)), range(min(start), min(end)))}</b>
</>
));
}
Expand Down
4 changes: 2 additions & 2 deletions src/renderer/src/layers/BlockPop.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import { useCallback, useEffect, useLayoutEffect, useRef, useState, type CSSProperties, type ReactElement } from 'react';
import { parseClock, planSubtaskOn, sessionSuggestions, suggestionNote, typedTask, type Suggestion } from '../../../shared/calendar';
import { parseLen } from '../../../shared/parse';
import { dayLabel, dur, longDate, range, blockTime, trunc } from '../../../shared/time';
import { dayLabel, dayTime, dur, longDate, range, blockTime, trunc } from '../../../shared/time';
import { idOf, PREFIX, STATUS_KEY, type Task } from '../../../shared/types';
import { useT } from '../../../shared/i18n/react';
import { Rich } from './SettingsLanguage';
Expand Down Expand Up @@ -196,7 +196,7 @@ export function BlockPop({ id, focus, layerKey }: { id: string; focus?: 'title'
void act(
{ kind: 'moveSession', id, day, start, end },
<>
{trunc(getModel().sessionName(s), 26)} → <b>{`${dayLabel(day)} ${range(start, end)}`}</b>
{trunc(getModel().sessionName(s), 26)} → <b>{dayTime(dayLabel(day), range(start, end))}</b>
</>,
);
};
Expand Down
4 changes: 3 additions & 1 deletion src/shared/agent.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,9 @@ describe('planCalls', () => {
const p = planCalls(w, [{ tool: 'scheduleAt', args: { task: 'YJ-27', day: '2026-10-26', time: '12:00' } }]);
expect(p.items[0]).toMatchObject({ op: { kind: 'schedule', id: 't27', day: '2026-10-26', time: 720 } });
expect(p.items[0]).not.toMatchObject({ op: { length: expect.anything() } });
expect(p.lines[0]).toMatchObject({ text: 'Time', from: 'Tue, Oct 20', to: 'Mon, Oct 26 12pm' });
expect(p.lines[0]).toMatchObject({ text: 'Time', from: 'Tue, Oct 20', to: 'Mon, Oct 26 · 12pm' });
expect(planCalls(w, [{ tool: 'scheduleAt', args: { task: 'YJ-27', day: '2026-12-01', time: '13:00' } }]).lines[0]).toMatchObject({ text: 'Time', to: 'Tue, Dec 1 · 1pm' });
expect(planCalls(w, [{ tool: 'scheduleAt', args: { task: 'YJ-31', day: '2026-12-01', time: '13:00' } }]).lines[0]).toMatchObject({ text: 'Time', from: expect.stringMatching(/^\w{3}, \w{3} \d+ · \d+(:\d\d)?[ap]m$/), to: 'Tue, Dec 1 · 1pm' });
expect(needsApproval(p, false)).toBe(false);
const moved = planCalls(w, [{ tool: 'scheduleAt', args: { task: 'YJ-31', day: '2026-10-26', time: '2:00 PM', duration: 45 } }]);
expect(moved.items[0]).toMatchObject({ op: { kind: 'schedule', id: 't31', day: '2026-10-26', time: 840, length: 45 } });
Expand Down
6 changes: 3 additions & 3 deletions src/shared/agent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import type { Op, TaskPatch } from './ops';
import { overlay } from './overlay';
import { callName } from './profile';
import { SEND_MAX } from './slackSend';
import { addDays, dkey, fromKey, tshort, weekdayMonthDay, weekdayName } from './time';
import { addDays, dayTime, dkey, fromKey, tshort, weekdayMonthDay, weekdayName } from './time';
import { promptLanguageLine, type Lang } from './i18n';
import { alwaysAsks, outbound, safeName, type SourceGuard } from './toolTrust';
import { PREFIX, SNAME, STATUSES, type ChecklistItem, type Status, type TaskFields, type TaskOwner } from './types';
Expand Down Expand Up @@ -655,8 +655,8 @@ export function planCalls(w: World, calls: AgentCall[], skip: string[] = []): Pl
if (s && solo && s.day === a.day && s.start === time && s.end - s.start === duration) return;
touch(t);
plan.items.push({ kind: 'op', op: { kind: 'schedule', id: t._id, day: a.day, time, ...(a.duration !== undefined ? { length: duration } : {}) }, key });
const was = s ? `${shortDate(s.day)} ${tshort(s.start)}` : before ? shortDate(before) : 'None';
plan.lines.push(fieldLine(key, t, 'Time', was, `${shortDate(a.day)} ${tshort(time)}`));
const was = s ? dayTime(shortDate(s.day), tshort(s.start)) : before ? shortDate(before) : 'None';
plan.lines.push(fieldLine(key, t, 'Time', was, dayTime(shortDate(a.day), tshort(time))));
return;
}
if (tool === 'addSubtasks' || tool === 'setSubtasks') {
Expand Down
17 changes: 16 additions & 1 deletion src/shared/agentClient.test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { describe, expect, it } from 'vitest';
import type { ChangeLine } from './agent';
import { cardBrief, FOLD_LINES, groupLines, toggleSkip, type AgentCard } from './agentClient';
import { cardBrief, cardTitle, FOLD_LINES, groupLines, toggleSkip, type AgentCard } from './agentClient';
import { MARK_PETALS } from './agentMark';

const lines: ChangeLine[] = [
Expand Down Expand Up @@ -35,6 +35,21 @@ describe('groupLines', () => {
});
});

describe('cardTitle', () => {
const time = [{ key: '0', label: 'YJ-118', task: 't1', text: 'Time', from: 'Tue, Dec 1', to: 'Tue, Dec 1 · 1pm' }];
const of = (state: string, more: object = {}) => cardTitle({ id: 'c', kind: 'edit', state, lines: time, ...more } as unknown as AgentCard);

it('says Changed for a change the agent made straight away, and Proposed while it waits for Apply', () => {
expect(of('applied')).toBe('Changed');
expect(of('proposed')).toBe('Proposed');
});

it('says Applied once you pressed Apply, so a reply written while it waited still reads true', () => {
expect(of('applied', { appliedAt: 1 })).toBe('Applied');
expect(of('undone', { appliedAt: 1 })).toBe('Undone');
});
});

describe('cardBrief', () => {
it('summarizes the card in one line', () => {
expect(cardBrief(card)).toBe('3 tasks · 2 subtasks · 5 dates');
Expand Down
1 change: 1 addition & 0 deletions src/shared/agentClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,7 @@ export function cardTitle(card: AgentCard): string {
if (card.state === 'proposed') return t('agents.change.proposed');
if (card.state === 'discarded') return t('agents.change.discardedTitle');
if (card.state === 'undone') return t('agents.change.undone');
if (card.appliedAt) return t('agents.change.appliedTitle');
return t(creates && creates === card.lines.filter((l) => !l.sub).length ? 'agents.change.created' : 'agents.change.changed');
}

Expand Down
1 change: 1 addition & 0 deletions src/shared/i18n/locales/de/agents.ts
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,7 @@ export default {
'agents.change.discardedTitle': 'Verworfen',
'agents.change.created': 'Erstellt',
'agents.change.changed': 'Geändert',
'agents.change.appliedTitle': 'Angewendet',
'agents.change.tasks': { one: '{count} Aufgabe', other: '{count} Aufgaben' },
'agents.change.changes': { one: '{count} Änderung', other: '{count} Änderungen' },
'agents.change.subtasks': { one: '{count} Unteraufgabe', other: '{count} Unteraufgaben' },
Expand Down
1 change: 1 addition & 0 deletions src/shared/i18n/locales/de/time.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ export default {
'time.yesterday': 'Gestern',
'time.at': 'um {time}',
'time.onAt': 'am {date} um {time}',
'time.dayTime': '{date} · {time}',
'time.h': '{h} Std.',
'time.m': '{m} Min.',
'time.hm': '{h} Std. {m} Min.',
Expand Down
1 change: 1 addition & 0 deletions src/shared/i18n/locales/en/agents.ts
Original file line number Diff line number Diff line change
Expand Up @@ -356,6 +356,7 @@ export default {
'agents.change.discardedTitle': 'Discarded',
'agents.change.created': 'Created',
'agents.change.changed': 'Changed',
'agents.change.appliedTitle': 'Applied',
'agents.change.tasks': { one: '{count} task', other: '{count} tasks' },
'agents.change.changes': { one: '{count} change', other: '{count} changes' },
'agents.change.subtasks': { one: '{count} subtask', other: '{count} subtasks' },
Expand Down
1 change: 1 addition & 0 deletions src/shared/i18n/locales/en/time.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ export default {
'time.yesterday': 'Yesterday',
'time.at': 'at {time}',
'time.onAt': 'on {date} at {time}',
'time.dayTime': '{date} · {time}',
'time.h': '{h}h',
'time.m': '{m}m',
'time.hm': '{h}h {m}m',
Expand Down
1 change: 1 addition & 0 deletions src/shared/i18n/locales/es/agents.ts
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,7 @@ export default {
'agents.change.discardedTitle': 'Descartado',
'agents.change.created': 'Creado',
'agents.change.changed': 'Cambiado',
'agents.change.appliedTitle': 'Aplicado',
'agents.change.tasks': { one: '{count} tarea', other: '{count} tareas' },
'agents.change.changes': { one: '{count} cambio', other: '{count} cambios' },
'agents.change.subtasks': { one: '{count} subtarea', other: '{count} subtareas' },
Expand Down
1 change: 1 addition & 0 deletions src/shared/i18n/locales/es/time.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ export default {
'time.yesterday': 'Ayer',
'time.at': 'a las {time}',
'time.onAt': 'el {date} a las {time}',
'time.dayTime': '{date} · {time}',
'time.h': '{h} h',
'time.m': '{m} min',
'time.hm': '{h} h {m} min',
Expand Down
1 change: 1 addition & 0 deletions src/shared/i18n/locales/fr/agents.ts
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,7 @@ export default {
'agents.change.discardedTitle': 'Ignoré',
'agents.change.created': 'Créé',
'agents.change.changed': 'Modifié',
'agents.change.appliedTitle': 'Appliqué',
'agents.change.tasks': { one: '{count} tâche', other: '{count} tâches' },
'agents.change.changes': { one: '{count} modification', other: '{count} modifications' },
'agents.change.subtasks': { one: '{count} sous-tâche', other: '{count} sous-tâches' },
Expand Down
Loading