import type { WidgetTranslations } from './types'; export const en: WidgetTranslations = { modal: { checkingAvailability: 'Checking Availability...', uploadPhoto: 'Upload Your Photo', creatingTryOn: 'Creating Try-On...', yourTryOn: 'Your Virtual Try-On', oops: 'Oops!', virtualTryOn: 'Virtual Try-On', }, checking: { availability: 'Checking availability...', }, freeTier: { remaining: (count) => `${count} of 7 free try-ons remaining`, }, errors: { unexpected: 'An unexpected error occurred', network: 'Network error. Please check your connection and try again.', imageLoad: 'Could not load the clothing image. Please try again.', timeout: 'Processing took too long. Please try again.', server: 'Server error. Please try again later.', processingFailed: 'Try-on processing failed. Please try with a different photo.', }, upload: { title: 'Upload Your Photo', description: 'Upload a full-body photo of yourself to see how this item looks on you. Your photo is stored only on your device for privacy.', invalidFile: 'Please select a valid image file (JPEG, PNG, or WebP)', unreadableImage: "We couldn't read this image. A JPEG or PNG works best.", processingFailed: 'Failed to process image. Please try another.', clickOrDrag: 'Click to upload or drag and drop', fileHint: 'JPEG, PNG, WebP and more', chooseDifferent: 'Choose Different Photo', useThis: 'Use This Photo', cancel: 'Cancel', privacyNote: 'Your photo is stored locally on your device and never uploaded to our servers permanently.', consent: "I'm 18+ and I consent to an AI-generated try-on of my photo.", }, processing: { title: 'Creating Your Virtual Try-On', subtitle: 'Our AI is working its magic. This usually takes 15-30 seconds.', step1: 'Analyzing your photo', step2: 'Processing clothing item', step3: 'Generating try-on result', }, result: { toggleResult: 'Result', toggleCompare: 'Compare', compareOriginal: 'Original', compareTryOn: 'Try-On', download: 'Download', tryDifferent: 'Try Different Photo', continueShopping: 'Continue Shopping', tryingOn: (productTitle) => `Trying on: ${productTitle}`, garmentThumbnail: 'The item you tried on', share: 'Share', }, gallery: { open: 'Your try-ons', openWithCount: (count) => `Your try-ons (${count})`, title: 'Your try-ons', back: 'Back', emptyTitle: 'No try-ons yet', emptyMessage: 'Every look you create shows up here, on this device only.', viewProduct: 'View item', share: 'Share', remove: 'Remove', removeLabel: (productTitle) => `Remove the try-on for ${productTitle}`, untitledProduct: 'This item', garmentThumbnail: 'The item you tried on', today: 'Today', yesterday: 'Yesterday', formatDate: (date) => date.toLocaleDateString('en-US', { month: 'short', day: 'numeric', year: 'numeric' }), privacyNote: 'Your try-ons stay on this device.', }, share: { downloaded: 'Image saved to your device', copied: 'Product link copied', failed: 'Sharing is not available on this device', }, counter: { remaining: (count) => `${count} try-on${count !== 1 ? 's' : ''} left`, }, lead: { title: 'Keep trying things on', purpose: 'Vela is the aisthetix demo store. Leave your email to keep trying items on, and we will write to you once about aisthetix.', emailLabel: 'Work email', emailPlaceholder: 'you@yourstore.com', consent: 'I agree to be contacted by aisthetix at this address.', submit: 'Continue', skip: 'Not now', sending: 'Sending...', error: 'We could not save that. Please check the address and try again.', }, error: { title: 'Something Went Wrong', suggestions: 'Here are some things you can try:', tip1: 'Make sure your photo shows your full body clearly', tip2: 'Try using a different photo with better lighting', tip3: 'Check your internet connection', tryAgain: 'Try Again', close: 'Close', }, quota: { noSubscriptionTitle: 'Feature Not Available', noSubscriptionMessage: 'Virtual try-on is currently not available. The store owner needs to activate this feature first.', limitReachedTitle: 'Virtual try-on will be back soon', limitReachedMessage: 'We’re refreshing the virtual fitting room. Please continue browsing and check back shortly.', temporarilyUnavailableTitle: 'Feature Temporarily Unavailable', temporarilyUnavailableMessage: 'Virtual try-on is temporarily unavailable. Please check back later or contact the store for assistance.', freeTierExhaustedTitle: 'Free Try-Ons Used', freeTierExhaustedMessage: "You've used all 7 free try-ons! The store owner can provide more access. Please check back later or contact the store for assistance.", visitorLimitReachedTitle: 'Try-On Limit Reached', visitorLimitReachedMessage: (minutes) => { if (!minutes || minutes <= 0) return "You've reached the try-on limit. Please try again later."; if (minutes < 60) return `You've reached the try-on limit. Try again in ${minutes} minute${minutes !== 1 ? 's' : ''}.`; const hours = Math.ceil(minutes / 60); return `You've reached the try-on limit. Try again in ${hours} hour${hours !== 1 ? 's' : ''}.`; }, currentPlan: (planName) => `Current plan: ${planName}`, continueShopping: 'Continue shopping', close: 'Close', }, warning: { freeRemaining: (count) => `Only ${count} free try-on${count !== 1 ? 's' : ''} left`, monthlyRemaining: (count) => `Only ${count} try-on${count !== 1 ? 's' : ''} left this month`, label: 'Limited try-ons remaining:', }, };