Migrate billing module routes to self-contained structure: - routes/api/admin.py - Admin API endpoints - routes/api/vendor.py - Vendor API endpoints - routes/pages/ - Page routes (placeholder) - models/subscription.py - Subscription model (moved) - schemas/subscription.py - Pydantic schemas (moved) - locales/ - Translations (en, de, fr, lu) Removed legacy route files: - app/modules/billing/routes/admin.py - app/modules/billing/routes/vendor.py Updated __init__.py files to use new structure. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
100 lines
2.8 KiB
JSON
100 lines
2.8 KiB
JSON
{
|
|
"title": "Billing & Subscriptions",
|
|
"description": "Manage subscription tiers, billing history, and payments",
|
|
"subscription": {
|
|
"title": "Subscription",
|
|
"current_tier": "Current Tier",
|
|
"status": "Status",
|
|
"statuses": {
|
|
"trial": "Trial",
|
|
"active": "Active",
|
|
"past_due": "Past Due",
|
|
"cancelled": "Cancelled",
|
|
"expired": "Expired"
|
|
},
|
|
"trial_ends": "Trial ends",
|
|
"period_ends": "Period ends",
|
|
"cancelled_at": "Cancelled on",
|
|
"cancellation_reason": "Cancellation reason"
|
|
},
|
|
"tiers": {
|
|
"title": "Subscription Tiers",
|
|
"subtitle": "Manage pricing tiers and features",
|
|
"essential": "Essential",
|
|
"professional": "Professional",
|
|
"business": "Business",
|
|
"enterprise": "Enterprise",
|
|
"create": "Create Tier",
|
|
"edit": "Edit Tier",
|
|
"features": "Features",
|
|
"limits": "Limits",
|
|
"pricing": "Pricing",
|
|
"monthly": "Monthly",
|
|
"annual": "Annual",
|
|
"per_month": "/month",
|
|
"per_year": "/year",
|
|
"unlimited": "Unlimited",
|
|
"orders_per_month": "Orders/month",
|
|
"products_limit": "Products",
|
|
"team_members": "Team members"
|
|
},
|
|
"usage": {
|
|
"title": "Usage",
|
|
"orders": "Orders",
|
|
"products": "Products",
|
|
"team": "Team Members",
|
|
"used": "used",
|
|
"remaining": "remaining",
|
|
"of": "of"
|
|
},
|
|
"invoices": {
|
|
"title": "Invoices",
|
|
"subtitle": "Billing history and invoices",
|
|
"invoice_number": "Invoice #",
|
|
"date": "Date",
|
|
"due_date": "Due Date",
|
|
"amount": "Amount",
|
|
"status": "Status",
|
|
"download": "Download PDF",
|
|
"view_online": "View Online",
|
|
"statuses": {
|
|
"paid": "Paid",
|
|
"open": "Open",
|
|
"void": "Void",
|
|
"uncollectible": "Uncollectible",
|
|
"draft": "Draft"
|
|
}
|
|
},
|
|
"payment": {
|
|
"title": "Payment",
|
|
"method": "Payment Method",
|
|
"add_card": "Add Card",
|
|
"update_card": "Update Card",
|
|
"no_method": "No payment method on file",
|
|
"card_ending": "Card ending in",
|
|
"expires": "Expires"
|
|
},
|
|
"upgrade": {
|
|
"title": "Upgrade Plan",
|
|
"compare": "Compare Plans",
|
|
"select": "Select Plan",
|
|
"current": "Current Plan",
|
|
"recommended": "Recommended"
|
|
},
|
|
"messages": {
|
|
"subscription_updated": "Subscription updated successfully",
|
|
"tier_created": "Tier created successfully",
|
|
"tier_updated": "Tier updated successfully",
|
|
"tier_deactivated": "Tier deactivated",
|
|
"payment_method_updated": "Payment method updated",
|
|
"subscription_cancelled": "Subscription cancelled",
|
|
"error_loading": "Error loading billing information",
|
|
"error_updating": "Error updating subscription"
|
|
},
|
|
"limits": {
|
|
"orders_exceeded": "Monthly order limit reached. Upgrade to continue.",
|
|
"products_exceeded": "Product limit reached. Upgrade to add more.",
|
|
"team_exceeded": "Team member limit reached. Upgrade to add more."
|
|
}
|
|
}
|