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}`, }, 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: 'Try-On Limit Reached', limitReachedMessage: 'The store has reached its monthly try-on limit. This feature will be available again next month.', 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}`, 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:', }, };