// Centralized UI copy for the supported locales. export const translations = { // English is the default locale used for the public-facing experience. en: { title: "PixelBind", howToUse: "How to Use", description: "Pixel Art Sprite Sheet Generator", packageName: "Package Name", packNamePlaceholder: "Pack name...", baseGrid: "Base Grid", dropActive: "Drop your sprites or project here", dropInactive: "Drag & drop assets or project", dropSupport: "Supports PNG, JPG, and .spack projects", renameAsset: "Rename asset", clearBg: "Clear Background", tolerance: "Tol:", cleanInnerWhites: "Clean Inner Whites", cleanWhitesTooltip: "Off: Edge only (Protects inner details). On: Global scan.", configuration: "Configuration", generateOutlines: "Generate Hover Outlines", logicInfo: "Packing logic will use Nearest Neighbor scaling to preserve pixel crispness.", totalAssets: "Total Assets", targetGrid: "Target Grid", custom: "Custom", saveProject: "Save Project", loadProject: "Load Project", generateDownload: "Generate & Preview", previewTitle: "Generation Preview", confirmDownload: "Confirm & Download", promptIdeas: "Prompt Ideas", loading: "Loading...", copy: "Copy", copied: "Copied!", back: "Back", cancel: "Cancel", readyToGenerate: "Ready to Generate", howToUsePrompts: "How to Use Prompt Ideas", promptsIntro: "This tool provides pre-written prompt templates designed to generate consistent pixel art assets. To use them, simply copy one of the prompt ideas and paste it into any AI image generation service.", promptsRecommendation: "Our personal recommendation is ChatGPT, as we achieved the most reliable and consistent results using it. The prompts in this tool were optimized and written specifically with ChatGPT's image generation behavior in mind, though they can still work with other AI image tools.", promptStep1Title: "Choose a Prompt Idea", promptStep1Text: "Browse the list and select the prompt that matches the asset style you want.", promptStep2Title: "Copy the Prompt", promptStep2Text: "Copy the entire prompt text using the green button.", promptStep3Title: "Replace the Object Name", promptStep3Text: "Modify the field within the text with the asset you want to generate (e.g., OBJECT: Wooden Table).", promptStep4Title: "Generate the Image", promptStep4Text: "Paste the customized prompt into your preferred AI image generation service (e.g., ChatGPT) and generate.", promptStep5Title: "Download the Result", promptStep5Text: "Save the generated image to your computer.", promptStep6Title: "Import Into the Tool", promptStep6Text: "Upload the image back into PixelBind to automatically clear the background, crop, and pack it into your sprite sheet.", importantNotes: "Important Notes", note1: "The prompts are strictly written to produce clean, extraction-ready sprites with a pure white background (#FFFFFF).", note2: "Avoid modifying the structural parts of the prompt unless necessary, as they ensure consistent perspective, style, and sprite-sheet compatibility.", note3: "Only change the object description when generating new assets. Following this workflow ensures the best results and keeps all generated assets visually consistent.", modalTitle: "How to Use PixelBind", modalSubtitle: "A client-side, privacy-first pipeline to generate production-ready sprite sheets for your 2D games.", step1Title: "Set Base Grid", step1Text: "Choose the core resolution for your game (e.g., 48x48).", step2Title: "Drag & Drop", step2Text: "Upload your raw pixel art assets.", step3Title: "Configure Spans & Padding", step3Text: "Set grid blocks (WxH) and add PX/PY margins for perfect centering after auto-trimming.", step4Title: "Clean Backgrounds", step4Text: "Instantly remove backgrounds with Euclidean tolerance for anti-aliased edges.", step5Title: "Tiled & Outlines", step5Text: "Get a production-ready .tsx tileset and an optional _outlines.png for hover effects.", step6Title: "Generate", step6Text: "Instantly pack, scale (Nearest Neighbor), and download your game-ready assets.", gotIt: "Got it!", developedBy: "Developed by Mustafa Baltacı", generating: "Generating...", invalidProject: "Invalid project file.", failedToSave: "Failed to save project.", failedToLoad: "Failed to load project:", generationFailed: "Generation failed:", clearAll: "Clear All", confirmClear: "Are you sure you want to remove all uploaded assets? This action cannot be undone.", contactButton: "Contact", contactBack: "Back to App", contactBadge: "Suggestions & Complaints", contactTitle: "Help improve PixelBind.", contactDescription: "Use this page to send suggestions, report issues, or share friction points directly with Mustafa Baltacı.", contactDirectTitle: "Direct recipient", contactDirectText: "Form submissions are intended for the address below. You can also send a direct email if you prefer.", contactDirectAction: "Send Direct Email", contactSetupTitle: "Setup required", contactSetupBanner: "The form UI is ready, but one or more contact form environment values are missing in this build. Add the Vite env values to activate sending.", contactFormEyebrow: "Feedback Form", contactFormTitle: "Send a message", contactFormDescription: "Choose the message type, leave your contact details, and describe the issue or idea clearly.", contactType: "Message Type", contactSuggestion: "Suggestion", contactComplaint: "Complaint", contactName: "Name", contactEmail: "Email", contactSubject: "Subject", contactMessage: "Message", contactNamePlaceholder: "Your name", contactEmailPlaceholder: "you@example.com", contactSubjectPlaceholder: "Short summary", contactMessagePlaceholder: "Describe your suggestion or complaint in detail.", contactSubmit: "Send Message", contactSending: "Sending...", contactSuccess: "Message sent", contactSuccessText: "Your message was delivered successfully. Thank you for the feedback.", contactError: "Send failed", contactErrorText: "The message could not be sent right now. Please try again or use the direct email link.", contactSetupMissing: "The contact form is not configured yet. Add the required env values, then try again.", contactCaptchaLabel: "Verification", contactCaptchaMissing: "Complete the CAPTCHA verification before sending your message.", contactInfoEyebrow: "What to share", contactInfoTitle: "High-signal feedback works best.", contactInfoDescription: "A little structure makes it easier to act on feedback quickly.", contactReason1Title: "Explain the context", contactReason1Text: "Mention what you were trying to do and which screen or step caused friction.", contactReason2Title: "Be specific", contactReason2Text: "If it is a bug, include what you expected and what actually happened.", contactReason3Title: "Suggest an ideal outcome", contactReason3Text: "If you have an improvement idea, describe the result you want rather than only the pain point.", contactPrivacyEyebrow: "Reply expectations", contactPrivacyTitle: "Leave an email if you want a response.", contactPrivacyText: "Your email is used only so the message can be understood and answered. If you prefer not to be contacted, you can still use the direct email card instead.", starOnGithub: "Star on GitHub" }, // Turkish mirrors the same keys so components can switch languages safely. tr: { title: "PixelBind", howToUse: "Nasıl Kullanılır", description: "Piksel Sanat Sprite Sayfası Oluşturucu", packageName: "Paket Adı", packNamePlaceholder: "Paket adı...", baseGrid: "Temel Izgara", dropActive: "Sprite'larınızı veya projenizi buraya bırakın", dropInactive: "Asset'leri veya projeyi sürükleyip bırakın", dropSupport: "PNG, JPG ve .spack projelerini destekler", renameAsset: "Asset'i yeniden adlandır", clearBg: "Arka Planı Temizle", tolerance: "Tol:", cleanInnerWhites: "İç Beyazları Temizle", cleanWhitesTooltip: "Kapalı: Sadece Kenar (İç detayları korur). Açık: Genel tarama.", configuration: "Yapılandırma", generateOutlines: "Üzerine Gelme Dış Hatlarını Oluştur", logicInfo: "Paketleme mantığı, piksel netliğini korumak için En Yakın Komşu ölçeklendirmesini kullanacaktır.", totalAssets: "Toplam Asset Sayısı", targetGrid: "Hedef Izgara", custom: "Özel", saveProject: "Projeyi Kaydet", loadProject: "Projeyi Yükle", generateDownload: "Oluştur ve Önizle", previewTitle: "Oluşturma Önizlemesi", confirmDownload: "Onayla ve İndir", promptIdeas: "Prompt Fikirleri", loading: "Yükleniyor...", copy: "Kopyala", copied: "Kopyalandı!", back: "Geri", cancel: "İptal", readyToGenerate: "Oluşturmaya Hazır", howToUsePrompts: "Prompt Fikirleri Nasıl Kullanılır", promptsIntro: "Bu araç, tutarlı piksel sanat assetleri oluşturmak için tasarlanmış önceden yazılmış prompt şablonları sağlar. Bunları kullanmak için prompt fikirlerinden birini kopyalayıp herhangi bir yapay zeka görüntü oluşturma servisine yapıştırmanız yeterlidir.", promptsRecommendation: "Kişisel tavsiyemiz ChatGPT'dir, çünkü en güvenilir ve tutarlı sonuçları onunla elde ettik. Bu araçtaki promptlar, diğer yapay zeka görüntü araçlarıyla da çalışabilse de, özellikle ChatGPT'nin görüntü oluşturma davranışı göz önünde bulundurularak optimize edilmiş ve yazılmıştır.", promptStep1Title: "Bir Prompt Fikri Seçin", promptStep1Text: "Listeye göz atın ve istediğiniz asset stiline uygun promptu seçin.", promptStep2Title: "Promptu Kopyalayın", promptStep2Text: "Yeşil butonu kullanarak tüm prompt metnini kopyalayın.", promptStep3Title: "Nesne Adını Değiştirin", promptStep3Text: "Metin içindeki alanını oluşturmak istediğiniz varlıkla değiştirin (örneğin, OBJECT: Ahşap Masa).", promptStep4Title: "Görüntüyü Oluşturun", promptStep4Text: "Özelleştirilmiş promptu tercih ettiğiniz yapay zeka görüntü oluşturma servisine (örneğin, ChatGPT) yapıştırın ve oluşturun.", promptStep5Title: "Sonucu İndirin", promptStep5Text: "Oluşturulan görüntüyü bilgisayarınıza kaydedin.", promptStep6Title: "Araca İçe Aktarın", promptStep6Text: "Arka planı otomatik olarak temizlemek, kırpmak ve sprite sayfanıza paketlemek için görüntüyü PixelBind'e geri yükleyin.", importantNotes: "Önemli Notlar", note1: "Promptlar kesinlikle saf beyaz arka plana (#FFFFFF) sahip, temiz ve ayıklanmaya hazır sprite'lar üretmek için yazılmıştır.", note2: "Tutarlı perspektif, stil ve sprite sayfası uyumluluğu sağladıkları için promptun yapısal kısımlarını gerekmedikçe değiştirmekten kaçının.", note3: "Yalnızca yeni asset'ler oluştururken nesne açıklamasını değiştirin. Bu iş akışını izlemek en iyi sonuçları sağlar ve oluşturulan tüm asset'lerin görsel olarak tutarlı kalmasını sağlar.", modalTitle: "PixelBind Nasıl Kullanılır", modalSubtitle: "2B oyunlarınız için üretime hazır sprite sayfaları oluşturmak üzere istemci tarafında, gizlilik odaklı bir işlem hattı.", step1Title: "Temel Izgarayı Ayarla", step1Text: "Oyununuz için temel çözünürlüğü seçin (örneğin, 48x48).", step2Title: "Sürükle ve Bırak", step2Text: "Ham piksel sanat varlıklarınızı yükleyin.", step3Title: "Aralıkları ve Dolguları Yapılandırın", step3Text: "Izgara bloklarını (WxH) ayarlayın ve otomatik kırpma sonrasında mükemmel merkezleme için PX/PY kenar boşlukları ekleyin.", step4Title: "Arka Planları Temizle", step4Text: "Anti-aliased kenarlar için Öklid toleransı ile arka planları anında kaldırın.", step5Title: "Tiled ve Dış Hatlar", step5Text: "Üretime hazır bir .tsx karo seti ve üzerine gelme efektleri için isteğe bağlı bir _outlines.png alın.", step6Title: "Oluştur", step6Text: "Oyun hazır asset'lerinizi anında paketleyin, ölçeklendirin (En Yakın Komşu) ve indirin.", gotIt: "Anladım!", developedBy: "Mustafa Baltacı tarafından geliştirildi", generating: "Oluşturuluyor...", invalidProject: "Geçersiz proje dosyası.", failedToSave: "Proje kaydedilemedi.", failedToLoad: "Proje yüklenemedi:", generationFailed: "Oluşturma başarısız oldu:", clearAll: "Tümünü Temizle", confirmClear: "Tüm yüklenen asset'leri kaldırmak istediğinizden emin misiniz? Bu işlem geri alınamaz.", contactButton: "İletişim", contactBack: "Uygulamaya Dön", contactBadge: "Öneri ve Şikayet", contactTitle: "PixelBind'i geliştirmeye katkı sağlayın.", contactDescription: "Bu sayfayı kullanarak önerilerinizi, yaşadığınız sorunları veya geliştirme fikirlerinizi doğrudan Mustafa Baltacı'ya iletebilirsiniz.", contactDirectTitle: "Doğrudan muhatap", contactDirectText: "Form gönderimleri aşağıdaki adrese yöneliktir. İsterseniz doğrudan e-posta da gönderebilirsiniz.", contactDirectAction: "Doğrudan E-posta Gönder", contactSetupTitle: "Kurulum gerekli", contactSetupBanner: "Form arayüzü hazır, ancak bu kurulumda iletişim formu için gereken ortam değerlerinden biri veya birkaçı eksik. Gönderimi aktifleştirmek için Vite env değerlerini ekleyin.", contactFormEyebrow: "Geri Bildirim Formu", contactFormTitle: "Mesaj gönder", contactFormDescription: "Mesaj türünü seçin, iletişim bilgilerinizi bırakın ve yaşadığınız durumu veya fikrinizi net şekilde anlatın.", contactType: "Mesaj Türü", contactSuggestion: "Öneri", contactComplaint: "Şikayet", contactName: "Ad Soyad", contactEmail: "E-posta", contactSubject: "Konu", contactMessage: "Mesaj", contactNamePlaceholder: "Adınız soyadınız", contactEmailPlaceholder: "ornek@mail.com", contactSubjectPlaceholder: "Kısa özet", contactMessagePlaceholder: "Önerinizi veya şikayetinizi detaylı şekilde yazın.", contactSubmit: "Mesajı Gönder", contactSending: "Gönderiliyor...", contactSuccess: "Mesaj gönderildi", contactSuccessText: "Mesajınız başarıyla iletildi. Geri bildiriminiz için teşekkürler.", contactError: "Gönderim başarısız", contactErrorText: "Mesaj şu anda gönderilemedi. Lütfen tekrar deneyin veya doğrudan e-posta bağlantısını kullanın.", contactSetupMissing: "İletişim formu henüz yapılandırılmamış. Gerekli env değerlerini ekleyip tekrar deneyin.", contactCaptchaLabel: "Doğrulama", contactCaptchaMissing: "Mesajı göndermeden önce CAPTCHA doğrulamasını tamamlayın.", contactInfoEyebrow: "Neler paylaşılmalı", contactInfoTitle: "Net geri bildirim daha hızlı aksiyon aldırır.", contactInfoDescription: "Biraz yapı, geri bildirimin daha hızlı değerlendirilmesini sağlar.", contactReason1Title: "Bağlamı anlatın", contactReason1Text: "Ne yapmak istediğinizi ve hangi ekran veya adımda sorun yaşadığınızı belirtin.", contactReason2Title: "Spesifik olun", contactReason2Text: "Bir hataysa ne beklediğinizi ve gerçekte ne olduğunu açıkça yazın.", contactReason3Title: "İdeal sonucu tarif edin", contactReason3Text: "Bir geliştirme fikriniz varsa sadece sorunu değil, görmek istediğiniz sonucu da anlatın.", contactPrivacyEyebrow: "Geri dönüş beklentisi", contactPrivacyTitle: "Yanıt istiyorsanız e-posta bırakın.", contactPrivacyText: "E-posta adresiniz yalnızca mesajın anlaşılması ve gerekirse yanıt verilebilmesi için kullanılır. İletişim kurulmasını istemiyorsanız doğrudan e-posta kartını da kullanabilirsiniz.", starOnGithub: "GitHub'da Yıldız Ver" } };