Repository navigation
What's new
All remaining hard-coded strings in the Control Panel are now routed through statamic-analytics::messages, making every label locale-aware.
Translated strings
- Dashboard widget (
analytics-overview.blade.php): title, "View all" link, "Last 7 days" label, "Today" / "Page Views" / "Unique Visitors" stat captions, and the widget load error message. - MaxMind credentials warning (
Dashboard.vue): the entire notice (title, body, sign-up link label, disable hint). - Heatmap day labels (
HeatmapWidget.vue):Mon…Sun→day_mon…day_sun. - Real-time badge (
RealTimeWidget.vue):LIVE→ locale key.
New keys added to both en and fr with identical key sets. French values match the previously hard-coded strings exactly — French control panels look the same.
Upgrade
No migrations, no config changes. Drop-in upgrade.
composer require oliweb/statamic-privacy-analytics:^4.11For maintainers forking this addon: run npm run build after pulling, then commit resources/dist/ before tagging.
Full changelog
See UPGRADE.md for details.
Thanks @trampish for the contribution.