Commit graph

40 commits

Author SHA1 Message Date
Mike Cao
2c7ab2b734 Use i18n for board component strings, show controls in edit mode, require website before editing
Some checks are pending
Node.js CI / build (push) Waiting to run
- Replace raw strings with useMessages hook in BoardColumn and BoardComponentSelect
- Show WebsiteControls on edit screen so users can test filters
- Disable board body editing until a website is selected
- Scope website select to team websites when editing a team board

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-09 02:46:30 -08:00
Mike Cao
a954824f65 Add 46 missing translation keys to all locale files.
These keys existed in messages.ts but were missing from the JSON files,
previously relying on react-intl defaultMessage fallback.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-07 11:24:01 -08:00
Mike Cao
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
a1890e9261 Replace react-intl with next-intl and consolidate lang files.
Migrate i18n from react-intl to next-intl, eliminating the formatjs
compilation pipeline. Translation files now live as nested JSON in
public/intl/messages/ (single source of truth), removing the duplicated
src/lang/ directory and the copy/compile build steps. The useMessages()
hook API is preserved so all 195+ consumer components are unchanged.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-07 01:51:29 -08:00
Mike Cao
3e163940da Updated lang files. 2025-10-06 12:11:26 -07:00
Mike Cao
184a387ecd Lang updates. 2025-06-27 08:53:10 -07:00
Mike Cao
0692134ea5 AI generated translations. 2025-06-26 13:59:46 -07:00
Mike Cao
543674c7f2 Updated hooks. Changed url, host to path, hostname. 2025-06-20 22:35:02 -07:00
Mike Cao
8ee37d1246 New event data screen. 2024-08-09 01:09:54 -07:00
Mike Cao
0142e0ff2f Fixed typo. 2024-06-28 20:20:12 -07:00
Mike Cao
cda3ba345b Build new lang files. 2024-06-18 23:12:12 -07:00
Mike Cao
df66acaacf Updated metrics components for compare mode. 2024-05-23 00:17:20 -07:00
Mike Cao
d90256b55f Updated language files. 2024-04-10 12:27:28 -07:00
Mike Cao
901e9480b6
Merge branch 'master' into analytics 2024-04-04 11:13:15 -07:00
Mike Cao
f277580722 Updated language files. 2024-03-14 11:29:01 -07:00
Michael Hespenheide
c91ade01c1
fix: Update admininstrator -> admin for translations (#3) 2024-03-11 20:55:24 -04:00
Maxime-J
fd1bb49bed Fix typo. 2024-03-02 08:28:02 +00:00
Mike Cao
c5c4aaeb44 Updated lang files. 2024-02-23 20:40:44 -08:00
Mike Cao
d1e9bb9472 Updated lang. 2024-02-16 10:46:14 -08:00
jaasonw
048707dffe replace all instances of publically with publicly 2023-12-27 23:02:29 -08:00
Mike Cao
ea43872dd0 Update message bundles. 2023-09-04 22:50:53 -07:00
Mike Cao
211ecf7edb Added formatMessage wrapper. Updated messages. 2023-08-17 16:28:26 -07:00
Mike Cao
acbffed2ce Fixed incorrect labels. 2023-08-09 11:05:45 -07:00
Mike Cao
253a46460b Cleaned up language bundles. 2023-08-02 02:33:43 -07:00
Mike Cao
8584093bb4 Updated language files. 2023-07-28 23:11:40 -07:00
Aitor Alonso
8e5da12653
chore: adds es-Es language and updates existing ones 2023-07-14 17:13:20 +02:00
Francis Cao
56f3134936 fix reset/delete website to english until proper translations. build language. 2023-06-19 08:59:17 -07:00
Mike Cao
0fb93ff00b Report updates. 2023-05-20 09:02:08 -07:00
Mike Cao
6f80908160 Updated message bundles. 2023-04-21 14:58:37 -07:00
Mike Cao
061d8cd174 Fixed incorrect messages. 2023-04-16 16:34:49 -07:00
Francis Cao
887b3abb29 Fix deleteWebsite message 2023-04-13 17:10:04 -07:00
Mike Cao
07c92ff9b5 Compiled language bundles. 2023-04-08 15:56:13 -07:00
Mike Cao
3e550f8f14 Updated language bundles. 2022-10-24 12:17:21 -07:00
Guillermo Grau
166ab61e5d Updated public language files. 2022-08-26 10:50:48 +02:00
Mike Cao
89781d4847 Refactored query parameters. 2022-08-08 01:26:20 -07:00
Mike Cao
1d4aa7c535 Refactored website ordering feature. 2022-08-04 03:56:30 -07:00
Mike Cao
bf774b97fb Updated language bundles. 2022-07-22 15:09:55 -07:00
Mike Cao
be8291c856 Refactored referrer logic. Display stats for no referrers. 2022-07-21 01:11:10 -07:00
Mike Cao
c8f7220f4c Updated language bundles. 2022-07-18 00:39:53 -07:00
Mike Cao
f24696de5a Refactored localization files. 2022-03-18 19:17:23 -07:00
Renamed from public/messages/en-US.json (Browse further)