Migrate analytics module to fully self-contained structure: - routes/api/vendor.py - API endpoints - routes/pages/vendor.py - Page routes with full implementation - services/stats_service.py - Business logic (moved from app/services) - services/usage_service.py - Usage tracking (moved from app/services) - schemas/stats.py - Pydantic schemas (moved from models/schema) - models/__init__.py - Model exports - templates/analytics/vendor/ - Templates (moved from app/templates) - static/vendor/js/ - JavaScript (moved from static/vendor) - locales/ - Translations (en, de, fr, lu) - exceptions.py - Module exceptions Removed legacy files: - app/modules/analytics/routes/vendor.py (replaced by routes/pages/) - static/admin/js/analytics.js (unused) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
18 lines
556 B
JSON
18 lines
556 B
JSON
{
|
|
"analytics": {
|
|
"page_title": "Analytics",
|
|
"dashboard_title": "Analytics Dashboard",
|
|
"dashboard_subtitle": "View your store performance metrics and insights",
|
|
"period_7d": "Last 7 days",
|
|
"period_30d": "Last 30 days",
|
|
"period_90d": "Last 90 days",
|
|
"period_1y": "Last year",
|
|
"imports_count": "Imports",
|
|
"products_added": "Products Added",
|
|
"inventory_locations": "Inventory Locations",
|
|
"data_since": "Data since",
|
|
"loading": "Loading analytics...",
|
|
"error_loading": "Failed to load analytics data"
|
|
}
|
|
}
|