Commit Graph
266 Commits
Author SHA1 Message Date
Mike CaoandClaude Opus 4.6 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 CaoandClaude 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 CaoandClaude Opus 4.6 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
Brent Robert b81fc4a5fb Update robots.txt fixes #3996 2026-01-31 17:06:44 +01:00
Mike Cao f105a52fc2 Merge pull request #3884 from XahidEx/patch-2
Correct UAE emirate names in iso-3166-2.json
2026-01-06 17:48:29 -08:00
Mike Cao d8dcf05a20 Merge pull request #3920 from PaiJi/chore/update-zh-CN-translation
chore(i18n): update zh-CN translation
2026-01-06 17:29:43 -08:00
AymanAlSuleihi dacf13475a Add country image t1.png for Tor 2026-01-01 15:01:04 +00:00
JiPai 783098fadc chore(i18n): update zh-CN translation 2025-12-23 23:04:41 +08:00
JiPai 6859f00bf6 chore(i18n): update zh-CN translation 2025-12-23 22:39:33 +08:00
Jahidul Islam 886544f297 Correct UAE emirate names in iso-3166-2.json
Updated names of UAE emirates for accuracy.
2025-12-13 16:14:27 +04:00
Mike Cao b9d52af215 Updated prisma. 2025-11-21 21:35:11 -08:00
Mike Cao 3e163940da Updated lang files. 2025-10-06 12:11:26 -07:00
Manuchehr 87f5cea636 feat: add missing uzbek language 2025-09-29 09:15:53 +05:00
Mike Cao 1b81074752 Admin section updates. 2025-07-10 20:04:17 -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 34a154e513 Merge pull request #3471 from sufyanfa/feat/ar-translation
docs: improve and update Arabic translations
2025-06-10 11:52:17 -07:00
Sufyan Farea 796952698c docs: improve and update Arabic translations 2025-06-09 22:34:58 +03:00
Sancho Godinho 5be7ff224f Updated MacOS icon
The current MacOS icon highly resembles the iOS icon. MacOS is easily identifiable by its unique finder icon. Hence, uploaded a new icon to display the MacOS traffic.
2025-06-10 00:08:24 +05:30
Sancho Godinho 8c42d9ef02 Delete mac-os.png
Will update with new icon
2025-06-10 00:07:05 +05:30
Mike Cao 1a794a8520 Updated language build. 2025-05-07 13:40:21 -07:00
Gjelbrim Haskaj 5974a3672d Merge branch 'dev' into fix/display-kosovo-correctly 2025-05-04 02:26:05 +02:00
Gjelbrim Haskajandgreptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com> f4781169cc Update public/intl/country/sv-SE.json
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2025-05-04 02:25:50 +02:00
Gjelbrim Haskajandgreptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com> 946a71fd87 Update public/intl/country/nb-NO.json
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2025-05-04 02:25:43 +02:00
Gjelbrim Haskajandgreptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com> 03ba2819cb Update public/intl/country/de-DE.json
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2025-05-04 02:25:33 +02:00
Gjelbrim Haskaj 6595978522 Update country JSONs file to include Kosovo (XK) 2025-05-04 01:35:37 +02:00
Gjelbrim Haskaj a6f4270303 Updated Kosovo ID in datamaps.world.json from "-99" to "XKX" 2025-05-04 01:34:55 +02:00
Mike Cao c0ff7a31a4 Updated lang. 2025-04-22 23:09:17 -07:00
Mike Cao afb8fd3894 Updated Next. 2025-04-16 21:29:47 -07:00
Mike Cao 4d0bd03b43 Updated language files. 2025-02-21 17:47:39 -08:00
Mike Cao 87737e35bc Updated lang files. 2025-01-09 22:40:17 -08:00
Mike Cao b72232dcac Updated lang files. 2025-01-03 16:15:18 -08:00
Mike Cao 690ab5916d Updated lang files. 2024-12-12 18:47:07 -08:00
Mike Cao 40abd454fc Build lang files. 2024-12-04 18:39:50 -08:00
Mike Cao 6880ec8506 Updated lang files. 2024-11-28 16:18:23 -08:00
Mike Cao fe98d6ccb8 Updated lang files. 2024-11-08 19:56:33 -08:00
Mike Cao 586d223bdd Updated lang files. 2024-10-26 11:36:43 -07:00
Mike Cao 430880c8c3 Updated lang. 2024-10-04 16:05:22 -07:00
Francis Cao e173f375c7 remove northern cyprus from datamaps 2024-09-18 11:58:03 -07:00
Mike Cao 178f9dc1a7 Updated lang files. 2024-08-27 16:23:34 -07:00
Mike Cao 2c4d7f1810 Updated lang. 2024-08-23 20:10:58 -07:00
Mike Cao 8500669ed0 Updated lang. 2024-08-23 09:33:58 -07:00
Mike Cao 8ee37d1246 New event data screen. 2024-08-09 01:09:54 -07:00
Mike Cao b9068c0050 Added metrics bar and date range to sessions. 2024-08-07 00:10:25 -07:00
Mike Cao c3c3b46ef6 Updated session profile page. Added TypeIcon component. Added useRegionNames hook. 2024-07-29 01:38:36 -07:00
Mike Cao 374faae27b Updated lang files. 2024-07-08 23:42:26 -07:00
Mike Cao 0142e0ff2f Fixed typo. 2024-06-28 20:20:12 -07:00
Mike Cao caaa87c0a7 Updated packages and lang files. 2024-06-27 20:12:32 -07:00
Mike Cao fedbb50950 Updated lang files. 2024-06-20 09:30:47 -07:00