feat: integrate login/registration into PurchaseWizard

This commit is contained in:
Codex Agent
2025-10-04 21:38:03 +02:00
parent 3c0bbb688b
commit fdaa2bec62
52 changed files with 1477 additions and 732 deletions

View File

@@ -1,68 +1,8 @@
{
"failed": "These credentials do not match our records.",
"password": "The provided password is incorrect.",
"throttle": "Too many login attempts. Please try again in :seconds seconds.",
"login": {
"title": "Log in",
"description": "Enter your email and password below to log in.",
"email": "Email address",
"email_placeholder": "email@example.com",
"password": "Password",
"password_placeholder": "Password",
"remember": "Remember me",
"submit": "Log in",
"forgot": "Forgot password?",
"no_account": "Don't have an account?",
"sign_up": "Sign up"
},
"register": {
"title": "Register",
"welcome": "Welcome to Fotospiel Create your account",
"description": "Registration enables access to events, galleries, and personalized features.",
"package_name": "Package",
"package_description": "Description",
"package_price_free": "Free",
"package_price": "{{price}} €",
"first_name": "First name",
"first_name_placeholder": "First name",
"last_name": "Last name",
"last_name_placeholder": "Last name",
"email": "Email address",
"email_placeholder": "email@example.com",
"address": "Address",
"address_placeholder": "Address",
"phone": "Phone number",
"phone_placeholder": "Phone number",
"username": "Username",
"username_placeholder": "Username",
"password": "Password",
"password_placeholder": "Password",
"confirm_password": "Confirm password",
"confirm_password_placeholder": "Confirm password",
"privacy_consent": "I agree to the privacy policy and accept the processing of my personal data.",
"submit": "Create account",
"has_account": "Already registered?",
"login": "Log in",
"errors_title": "Registration errors:",
"privacy_policy": "Privacy policy",
"errors": {
"first_name": "First name is required.",
"last_name": "Last name is required.",
"email": "Email is required.",
"address": "Address is required.",
"phone": "Phone number is required.",
"username": "Username is required.",
"password": "Password is required.",
"confirm_password": "Confirm password does not match.",
"privacy_consent": "You must agree to the privacy policy."
}
},
"header": {
"login": "Log in",
"register": "Register"
},
"verification": {
"notice": "Please confirm your email address.",
"resend": "Resend email"
}
"login_failed": "Invalid email or password.",
"login_success": "You are now logged in.",
"registration_failed": "Registration failed.",
"registration_success": "Registration successful proceed with purchase.",
"already_logged_in": "You are already logged in.",
"failed_credentials": "Invalid credentials."
}

View File

@@ -40,6 +40,17 @@
},
"packages": {
"title": "Our Packages",
"price": "Price",
"features": "Features",
"subscription_annual": "Annual Subscription",
"auto_renew": "auto-renew",
"cancel_anytime": "cancel anytime",
"trial_start": "Free Trial for :days days",
"reseller_benefits": "Benefits for Resellers",
"unlimited_events": "Unlimited Events",
"custom_branding": "Custom Branding",
"priority_support": "Priority Support",
"cancel_link": "Cancel Subscription: :link",
"hero_title": "Discover our flexible Packages",
"hero_description": "From free entry to premium features: Tailor your event package to your needs. Simple, secure, and scalable.",
"cta_explore": "Discover Packages",
@@ -229,7 +240,28 @@
"purchase_complete_title": "Complete Purchase",
"purchase_complete_desc": "Log in to continue.",
"login": "Log In",
"no_account": "No Account? Register"
"no_account": "No Account? Register",
"manage_subscription": "Manage Subscription",
"stripe_dashboard": "Stripe Dashboard",
"paypal_dashboard": "PayPal Dashboard",
"trial_activated": "Trial activated for 14 days!"
},
"payment": {
"title": "Payment",
"card_details": "Card Details",
"stripe": "Credit Card",
"paypal": "PayPal",
"submit_stripe": "Pay with Card (:price)",
"submit_paypal": "Pay with PayPal (:price)",
"loading_stripe": "Loading Stripe...",
"paypal_description": "Secure payment with PayPal",
"switch_to_card": "Switch to Credit Card",
"paypal_create_error": "PayPal order creation failed",
"paypal_capture_error": "PayPal capture failed",
"paypal_error": "PayPal payment failed",
"stripe_error": "Stripe payment failed",
"confirm_error": "Confirmation failed",
"complete_error": "Payment could not be completed"
},
"blog_show": {
"title_suffix": " - Fotospiel Blog",