Mike Cao and Claude Opus 4.6
50edb71687
Simplify i18n: remove old react-intl artifacts, rename formatMessage to t, replace FormattedMessage with t.rich().
...
- Rewrite messages.ts to plain string key maps (remove MessageDescriptor)
- Rewrite useMessages hook to expose t from useTranslations() directly
- Rename formatMessage → t across 193 consumer files
- Replace custom FormattedMessage component with next-intl t.rich()
- Update 52 language files to use rich text tags (<b>, <a>)
- Remove all direct imports from @/components/messages in favor of useMessages()
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-07 11:19:04 -08:00
Mike Cao
fa8d8055df
Reformatted files with biome.
2025-11-22 22:42:42 -08:00
Mike Cao
b5795a8b3f
Fixed update notice.
2025-11-06 16:16:53 -08:00
Mike Cao
9897c725de
Updated cloud mode checks.
2025-09-22 13:09:07 -07:00
Mike Cao
f40e1b44f3
Updates for cloud mode.
2025-09-04 20:27:42 -07:00
Mike Cao
b552868e0a
Merge branch 'dev' into jajaja
...
# Conflicts:
# next.config.ts
# src/app/(main)/settings/preferences/LanguageSetting.tsx
# src/components/hooks/useConfig.ts
2025-07-27 02:11:32 -07:00
Mike Cao
5b6292dd11
Converted variables to be runtime.
2025-07-24 22:41:23 -07:00
Mike Cao
f83a12d6cd
Refactor: removed default exports.
2025-02-13 22:53:25 -08:00
Mike Cao
71e4f8f49b
Start using react-zen.
2025-02-12 23:34:27 -08:00
Mike Cao
00adf7abb0
Only check for updates in prod.
2025-02-11 20:36:08 -08:00
Mike Cao
8525188e42
Changed import path.
2025-02-05 15:59:59 -08:00
Mike Cao
113022ed17
Imported libraries, removed next-basics.
2025-02-05 13:30:28 -08:00
Mike Cao
dd88b1d901
Fixed styling on update notice. Added private mode.
2024-03-29 11:48:12 -07:00
Mike Cao
f25cd93012
Prevent admin from resetting their own role.
2024-02-16 10:22:18 -08:00
Mike Cao
ee3f7cb618
Updated root layout.
2024-02-14 12:37:41 -08:00
Mike Cao
f7151a880e
Fixed 'use client' usage.
2024-02-05 23:59:33 -08:00
Mike Cao
9448aa3ab5
Added teams pages. Refactored hooks.
2024-01-28 18:33:40 -08:00
Mike Cao
7c42f0da82
Typescript refactor.
2023-12-03 03:07:03 -08:00