EthanHealy01 and GitHub
a61fe012d7
chore: i18n time utils and use TFunction type ( #6507 ) ( #6539 )
...
## Summary
Addresses two review comments from #6507 :
- **`timeUtils.ts`** — route relative time strings (`just now`, `Xm
ago`, `Xh ago`, `Xd ago`) through i18n by accepting a `TFunction`
parameter and using new `time.relative.*` keys in `en-GB`
- **`ChatPanel.tsx`** — replace `ReturnType<typeof useTranslation>["t"]`
with `TFunction` from `i18next`
## Test plan
- [x] `task frontend:check` passes (695 tests)
2026-06-05 09:45:27 +00:00
..
2026-05-22 13:40:34 +01:00
2026-05-22 13:40:34 +01:00
2026-05-22 13:40:34 +01:00
2026-06-04 18:17:36 +01:00
2026-06-04 18:17:36 +01:00
2026-06-04 18:17:36 +01:00
2026-05-28 17:26:23 +00:00
2026-05-22 13:40:34 +01:00
2026-05-22 13:40:34 +01:00
2026-05-22 13:40:34 +01:00
2026-05-22 13:40:34 +01:00
2026-05-22 13:40:34 +01:00
2026-05-28 17:26:23 +00:00
2026-05-22 13:40:34 +01:00
2026-05-22 13:40:34 +01:00
2026-05-22 13:40:34 +01:00
2026-05-22 13:40:34 +01:00
2026-05-26 23:29:32 +01:00
2026-05-22 13:40:34 +01:00
2026-05-26 23:28:17 +01:00
2026-05-22 13:40:34 +01:00
2026-05-22 13:40:34 +01:00
2026-05-28 17:26:23 +00:00
2026-05-22 13:40:34 +01:00
2026-05-22 13:40:34 +01:00
2026-05-27 12:52:46 +01:00
2026-05-22 13:40:34 +01:00
2026-05-22 13:40:34 +01:00
2026-05-22 13:40:34 +01:00
2026-05-22 13:40:34 +01:00
2026-05-22 13:40:34 +01:00
2026-05-22 13:40:34 +01:00
2026-05-22 13:40:34 +01:00
2026-05-22 13:40:34 +01:00
2026-05-22 13:40:34 +01:00
2026-05-22 13:40:34 +01:00
2026-05-22 13:40:34 +01:00
2026-05-22 13:40:34 +01:00
2026-05-22 13:40:34 +01:00
2026-05-22 13:40:34 +01:00
2026-05-22 13:40:34 +01:00
2026-05-22 13:40:34 +01:00
2026-05-22 13:40:34 +01:00
2026-05-22 13:40:34 +01:00
2026-05-22 13:40:34 +01:00
2026-05-22 13:40:34 +01:00
2026-05-22 13:40:34 +01:00
2026-05-22 13:40:34 +01:00
2026-05-22 13:40:34 +01:00
2026-06-05 09:45:27 +00:00
2026-05-22 13:40:34 +01:00
2026-05-22 13:40:34 +01:00
2026-05-22 13:40:34 +01:00
2026-05-22 13:40:34 +01:00
2026-05-22 13:40:34 +01:00
2026-05-22 13:40:34 +01:00
2026-05-22 13:40:34 +01:00
2026-05-28 17:26:23 +00:00