diff --git a/src/lib/i18n/locales/ar-BH/translation.json b/src/lib/i18n/locales/ar-BH/translation.json index 1e6d1721f..9db287cad 100644 --- a/src/lib/i18n/locales/ar-BH/translation.json +++ b/src/lib/i18n/locales/ar-BH/translation.json @@ -482,8 +482,10 @@ "I acknowledge that I have read and I understand the implications of my action. I am aware of the risks associated with executing arbitrary code and I have verified the trustworthiness of the source.": "", "ID": "", "Ignite curiosity": "", + "Image Compression": "", "Image Generation (Experimental)": "توليد الصور (تجريبي)", "Image Generation Engine": "محرك توليد الصور", + "Image Max Compression Size": "", "Image Settings": "إعدادات الصورة", "Images": "الصور", "Import Chats": "استيراد الدردشات", diff --git a/src/lib/i18n/locales/bg-BG/translation.json b/src/lib/i18n/locales/bg-BG/translation.json index ce9fc6a22..9e36d5818 100644 --- a/src/lib/i18n/locales/bg-BG/translation.json +++ b/src/lib/i18n/locales/bg-BG/translation.json @@ -482,8 +482,10 @@ "I acknowledge that I have read and I understand the implications of my action. I am aware of the risks associated with executing arbitrary code and I have verified the trustworthiness of the source.": "", "ID": "", "Ignite curiosity": "", + "Image Compression": "", "Image Generation (Experimental)": "Генерация на изображения (Експериментално)", "Image Generation Engine": "Двигател за генериране на изображения", + "Image Max Compression Size": "", "Image Settings": "Настройки на изображения", "Images": "Изображения", "Import Chats": "Импортване на чатове", diff --git a/src/lib/i18n/locales/bn-BD/translation.json b/src/lib/i18n/locales/bn-BD/translation.json index a8b1d0d96..f0b51008a 100644 --- a/src/lib/i18n/locales/bn-BD/translation.json +++ b/src/lib/i18n/locales/bn-BD/translation.json @@ -482,8 +482,10 @@ "I acknowledge that I have read and I understand the implications of my action. I am aware of the risks associated with executing arbitrary code and I have verified the trustworthiness of the source.": "", "ID": "", "Ignite curiosity": "", + "Image Compression": "", "Image Generation (Experimental)": "ইমেজ জেনারেশন (পরিক্ষামূলক)", "Image Generation Engine": "ইমেজ জেনারেশন ইঞ্জিন", + "Image Max Compression Size": "", "Image Settings": "ছবির সেটিংসমূহ", "Images": "ছবিসমূহ", "Import Chats": "চ্যাটগুলি ইমপোর্ট করুন", diff --git a/src/lib/i18n/locales/ca-ES/translation.json b/src/lib/i18n/locales/ca-ES/translation.json index 8250ef459..6de75e5c9 100644 --- a/src/lib/i18n/locales/ca-ES/translation.json +++ b/src/lib/i18n/locales/ca-ES/translation.json @@ -482,8 +482,10 @@ "I acknowledge that I have read and I understand the implications of my action. I am aware of the risks associated with executing arbitrary code and I have verified the trustworthiness of the source.": "Afirmo que he llegit i entenc les implicacions de la meva acció. Soc conscient dels riscos associats a l'execució de codi arbitrari i he verificat la fiabilitat de la font.", "ID": "ID", "Ignite curiosity": "Despertar la curiositat", + "Image Compression": "", "Image Generation (Experimental)": "Generació d'imatges (Experimental)", "Image Generation Engine": "Motor de generació d'imatges", + "Image Max Compression Size": "", "Image Settings": "Preferències d'imatges", "Images": "Imatges", "Import Chats": "Importar xats", diff --git a/src/lib/i18n/locales/ceb-PH/translation.json b/src/lib/i18n/locales/ceb-PH/translation.json index 772a18568..a812a6049 100644 --- a/src/lib/i18n/locales/ceb-PH/translation.json +++ b/src/lib/i18n/locales/ceb-PH/translation.json @@ -482,8 +482,10 @@ "I acknowledge that I have read and I understand the implications of my action. I am aware of the risks associated with executing arbitrary code and I have verified the trustworthiness of the source.": "", "ID": "", "Ignite curiosity": "", + "Image Compression": "", "Image Generation (Experimental)": "Pagmugna og hulagway (Eksperimento)", "Image Generation Engine": "Makina sa paghimo og imahe", + "Image Max Compression Size": "", "Image Settings": "Mga Setting sa Imahen", "Images": "Mga hulagway", "Import Chats": "Import nga mga chat", diff --git a/src/lib/i18n/locales/cs-CZ/translation.json b/src/lib/i18n/locales/cs-CZ/translation.json index a3d4ba6f4..bfb4849a5 100644 --- a/src/lib/i18n/locales/cs-CZ/translation.json +++ b/src/lib/i18n/locales/cs-CZ/translation.json @@ -482,8 +482,10 @@ "I acknowledge that I have read and I understand the implications of my action. I am aware of the risks associated with executing arbitrary code and I have verified the trustworthiness of the source.": "Beru na vědomí, že jsem si přečetl a chápu důsledky svých činů. Jsem si vědom rizik spojených s vykonáváním libovolného kódu a ověřil jsem důvěryhodnost zdroje.", "ID": "ID", "Ignite curiosity": "", + "Image Compression": "", "Image Generation (Experimental)": "Generování obrázků (experimentální)", "Image Generation Engine": "Engine pro generování obrázků", + "Image Max Compression Size": "", "Image Settings": "Nastavení obrázku", "Images": "Obrázky", "Import Chats": "Importovat konverzace", diff --git a/src/lib/i18n/locales/da-DK/translation.json b/src/lib/i18n/locales/da-DK/translation.json index d3e14e0ae..292b4b52a 100644 --- a/src/lib/i18n/locales/da-DK/translation.json +++ b/src/lib/i18n/locales/da-DK/translation.json @@ -482,8 +482,10 @@ "I acknowledge that I have read and I understand the implications of my action. I am aware of the risks associated with executing arbitrary code and I have verified the trustworthiness of the source.": "Jeg anerkender, at jeg har læst og forstået konsekvenserne af min handling. Jeg er opmærksom på de risici, der er forbundet med at udføre vilkårlig kode, og jeg har verificeret kildens troværdighed.", "ID": "", "Ignite curiosity": "", + "Image Compression": "", "Image Generation (Experimental)": "Billedgenerering (eksperimentel)", "Image Generation Engine": "Billedgenereringsengine", + "Image Max Compression Size": "", "Image Settings": "Billedindstillinger", "Images": "Billeder", "Import Chats": "Importer chats", diff --git a/src/lib/i18n/locales/de-DE/translation.json b/src/lib/i18n/locales/de-DE/translation.json index 990761239..f991f92b5 100644 --- a/src/lib/i18n/locales/de-DE/translation.json +++ b/src/lib/i18n/locales/de-DE/translation.json @@ -482,8 +482,10 @@ "I acknowledge that I have read and I understand the implications of my action. I am aware of the risks associated with executing arbitrary code and I have verified the trustworthiness of the source.": "Ich bestätige, dass ich gelesen habe und die Auswirkungen meiner Aktion verstehe. Mir sind die Risiken bewusst, die mit der Ausführung beliebigen Codes verbunden sind, und ich habe die Vertrauenswürdigkeit der Quelle überprüft.", "ID": "ID", "Ignite curiosity": "Neugier entfachen", + "Image Compression": "", "Image Generation (Experimental)": "Bildgenerierung (experimentell)", "Image Generation Engine": "Bildgenerierungs-Engine", + "Image Max Compression Size": "", "Image Settings": "Bildeinstellungen", "Images": "Bilder", "Import Chats": "Unterhaltungen importieren", diff --git a/src/lib/i18n/locales/dg-DG/translation.json b/src/lib/i18n/locales/dg-DG/translation.json index 3c1e6d5d9..e69d59bdd 100644 --- a/src/lib/i18n/locales/dg-DG/translation.json +++ b/src/lib/i18n/locales/dg-DG/translation.json @@ -482,8 +482,10 @@ "I acknowledge that I have read and I understand the implications of my action. I am aware of the risks associated with executing arbitrary code and I have verified the trustworthiness of the source.": "", "ID": "", "Ignite curiosity": "", + "Image Compression": "", "Image Generation (Experimental)": "Image Wow (Much Experiment)", "Image Generation Engine": "Image Engine", + "Image Max Compression Size": "", "Image Settings": "Settings for Wowmage", "Images": "Wowmages", "Import Chats": "Import Barks", diff --git a/src/lib/i18n/locales/el-GR/translation.json b/src/lib/i18n/locales/el-GR/translation.json index 611ad82d1..ec7d4ac15 100644 --- a/src/lib/i18n/locales/el-GR/translation.json +++ b/src/lib/i18n/locales/el-GR/translation.json @@ -482,8 +482,10 @@ "I acknowledge that I have read and I understand the implications of my action. I am aware of the risks associated with executing arbitrary code and I have verified the trustworthiness of the source.": "Αναγνωρίζω ότι έχω διαβάσει και κατανοώ τις συνέπειες της ενέργειάς μου. Γνωρίζω τους κινδύνους που σχετίζονται με την εκτέλεση αυθαίρετου κώδικα και έχω επαληθεύσει την αξιοπιστία της πηγής.", "ID": "ID", "Ignite curiosity": "Ξύπνημα της περιέργειας", + "Image Compression": "", "Image Generation (Experimental)": "Δημιουργία Εικόνας (Πειραματικό)", "Image Generation Engine": "Μηχανή Δημιουργίας Εικόνας", + "Image Max Compression Size": "", "Image Settings": "Ρυθμίσεις Εικόνας", "Images": "Εικόνες", "Import Chats": "Εισαγωγή Συνομιλιών", diff --git a/src/lib/i18n/locales/en-GB/translation.json b/src/lib/i18n/locales/en-GB/translation.json index 73768dda3..4ce5057ec 100644 --- a/src/lib/i18n/locales/en-GB/translation.json +++ b/src/lib/i18n/locales/en-GB/translation.json @@ -482,8 +482,10 @@ "I acknowledge that I have read and I understand the implications of my action. I am aware of the risks associated with executing arbitrary code and I have verified the trustworthiness of the source.": "", "ID": "", "Ignite curiosity": "", + "Image Compression": "", "Image Generation (Experimental)": "", "Image Generation Engine": "", + "Image Max Compression Size": "", "Image Settings": "", "Images": "", "Import Chats": "", diff --git a/src/lib/i18n/locales/en-US/translation.json b/src/lib/i18n/locales/en-US/translation.json index 73768dda3..4ce5057ec 100644 --- a/src/lib/i18n/locales/en-US/translation.json +++ b/src/lib/i18n/locales/en-US/translation.json @@ -482,8 +482,10 @@ "I acknowledge that I have read and I understand the implications of my action. I am aware of the risks associated with executing arbitrary code and I have verified the trustworthiness of the source.": "", "ID": "", "Ignite curiosity": "", + "Image Compression": "", "Image Generation (Experimental)": "", "Image Generation Engine": "", + "Image Max Compression Size": "", "Image Settings": "", "Images": "", "Import Chats": "", diff --git a/src/lib/i18n/locales/es-ES/translation.json b/src/lib/i18n/locales/es-ES/translation.json index 44beaf953..f2c3f27dc 100644 --- a/src/lib/i18n/locales/es-ES/translation.json +++ b/src/lib/i18n/locales/es-ES/translation.json @@ -482,8 +482,10 @@ "I acknowledge that I have read and I understand the implications of my action. I am aware of the risks associated with executing arbitrary code and I have verified the trustworthiness of the source.": "Aseguro que he leído y entiendo las implicaciones de mi acción. Estoy consciente de los riesgos asociados con la ejecución de código arbitrario y he verificado la confianza de la fuente.", "ID": "", "Ignite curiosity": "", + "Image Compression": "", "Image Generation (Experimental)": "Generación de imágenes (experimental)", "Image Generation Engine": "Motor de generación de imágenes", + "Image Max Compression Size": "", "Image Settings": "Ajustes de la Imágen", "Images": "Imágenes", "Import Chats": "Importar chats", diff --git a/src/lib/i18n/locales/eu-ES/translation.json b/src/lib/i18n/locales/eu-ES/translation.json index 82004c2f2..6ac31eb55 100644 --- a/src/lib/i18n/locales/eu-ES/translation.json +++ b/src/lib/i18n/locales/eu-ES/translation.json @@ -482,8 +482,10 @@ "I acknowledge that I have read and I understand the implications of my action. I am aware of the risks associated with executing arbitrary code and I have verified the trustworthiness of the source.": "Onartzen dut irakurri dudala eta nire ekintzaren ondorioak ulertzen ditudala. Kode arbitrarioa exekutatzearekin lotutako arriskuez jabetzen naiz eta iturriaren fidagarritasuna egiaztatu dut.", "ID": "IDa", "Ignite curiosity": "Piztu jakin-mina", + "Image Compression": "", "Image Generation (Experimental)": "Irudi Sorkuntza (Esperimentala)", "Image Generation Engine": "Irudi Sorkuntza Motorea", + "Image Max Compression Size": "", "Image Settings": "Irudi Ezarpenak", "Images": "Irudiak", "Import Chats": "Inportatu Txatak", diff --git a/src/lib/i18n/locales/fa-IR/translation.json b/src/lib/i18n/locales/fa-IR/translation.json index 38e6edb3b..de6f1e0fa 100644 --- a/src/lib/i18n/locales/fa-IR/translation.json +++ b/src/lib/i18n/locales/fa-IR/translation.json @@ -482,8 +482,10 @@ "I acknowledge that I have read and I understand the implications of my action. I am aware of the risks associated with executing arbitrary code and I have verified the trustworthiness of the source.": "", "ID": "", "Ignite curiosity": "", + "Image Compression": "", "Image Generation (Experimental)": "تولید تصویر (آزمایشی)", "Image Generation Engine": "موتور تولید تصویر", + "Image Max Compression Size": "", "Image Settings": "تنظیمات تصویر", "Images": "تصاویر", "Import Chats": "درون\u200cریزی گفتگوها", diff --git a/src/lib/i18n/locales/fi-FI/translation.json b/src/lib/i18n/locales/fi-FI/translation.json index 4ae5a40b2..9f4aa5b33 100644 --- a/src/lib/i18n/locales/fi-FI/translation.json +++ b/src/lib/i18n/locales/fi-FI/translation.json @@ -482,8 +482,10 @@ "I acknowledge that I have read and I understand the implications of my action. I am aware of the risks associated with executing arbitrary code and I have verified the trustworthiness of the source.": "Vahvistan, että olen lukenut ja ymmärrän toimintani seuraukset. Olen tietoinen mielivaltaisen koodin suorittamiseen liittyvistä riskeistä ja olen varmistanut lähteen luotettavuuden.", "ID": "Tunnus", "Ignite curiosity": "Sytytä uteliaisuus", + "Image Compression": "", "Image Generation (Experimental)": "Kuvagenerointi (kokeellinen)", "Image Generation Engine": "Kuvagenerointimoottori", + "Image Max Compression Size": "", "Image Settings": "Kuva-asetukset", "Images": "Kuvat", "Import Chats": "Tuo keskustelut", diff --git a/src/lib/i18n/locales/fr-CA/translation.json b/src/lib/i18n/locales/fr-CA/translation.json index 0d3766385..588039419 100644 --- a/src/lib/i18n/locales/fr-CA/translation.json +++ b/src/lib/i18n/locales/fr-CA/translation.json @@ -482,8 +482,10 @@ "I acknowledge that I have read and I understand the implications of my action. I am aware of the risks associated with executing arbitrary code and I have verified the trustworthiness of the source.": "", "ID": "", "Ignite curiosity": "", + "Image Compression": "", "Image Generation (Experimental)": "Génération d'images (expérimental)", "Image Generation Engine": "Moteur de génération d'images", + "Image Max Compression Size": "", "Image Settings": "Paramètres de l'image", "Images": "Images", "Import Chats": "Importer les discussions", diff --git a/src/lib/i18n/locales/fr-FR/translation.json b/src/lib/i18n/locales/fr-FR/translation.json index f5b8af8d0..0c78a803e 100644 --- a/src/lib/i18n/locales/fr-FR/translation.json +++ b/src/lib/i18n/locales/fr-FR/translation.json @@ -482,8 +482,10 @@ "I acknowledge that I have read and I understand the implications of my action. I am aware of the risks associated with executing arbitrary code and I have verified the trustworthiness of the source.": "Je reconnais avoir lu et compris les implications de mes actions. Je suis conscient des risques associés à l'exécution d'un code arbitraire et j'ai vérifié la fiabilité de la source.", "ID": "ID", "Ignite curiosity": "Éveiller la curiosité", + "Image Compression": "", "Image Generation (Experimental)": "Génération d'images (expérimental)", "Image Generation Engine": "Moteur de génération d'images", + "Image Max Compression Size": "", "Image Settings": "Paramètres de génération d'images", "Images": "Images", "Import Chats": "Importer les conversations", diff --git a/src/lib/i18n/locales/he-IL/translation.json b/src/lib/i18n/locales/he-IL/translation.json index 788a3e92e..af3895621 100644 --- a/src/lib/i18n/locales/he-IL/translation.json +++ b/src/lib/i18n/locales/he-IL/translation.json @@ -482,8 +482,10 @@ "I acknowledge that I have read and I understand the implications of my action. I am aware of the risks associated with executing arbitrary code and I have verified the trustworthiness of the source.": "", "ID": "", "Ignite curiosity": "", + "Image Compression": "", "Image Generation (Experimental)": "יצירת תמונות (ניסיוני)", "Image Generation Engine": "מנוע יצירת תמונות", + "Image Max Compression Size": "", "Image Settings": "הגדרות תמונה", "Images": "תמונות", "Import Chats": "יבוא צ'אטים", diff --git a/src/lib/i18n/locales/hi-IN/translation.json b/src/lib/i18n/locales/hi-IN/translation.json index 4522cbcbe..c4c899b1e 100644 --- a/src/lib/i18n/locales/hi-IN/translation.json +++ b/src/lib/i18n/locales/hi-IN/translation.json @@ -482,8 +482,10 @@ "I acknowledge that I have read and I understand the implications of my action. I am aware of the risks associated with executing arbitrary code and I have verified the trustworthiness of the source.": "", "ID": "", "Ignite curiosity": "", + "Image Compression": "", "Image Generation (Experimental)": "छवि निर्माण (प्रायोगिक)", "Image Generation Engine": "छवि निर्माण इंजन", + "Image Max Compression Size": "", "Image Settings": "छवि सेटिंग्स", "Images": "इमेजिस", "Import Chats": "चैट आयात करें", diff --git a/src/lib/i18n/locales/hr-HR/translation.json b/src/lib/i18n/locales/hr-HR/translation.json index ae501cd81..b14483ffa 100644 --- a/src/lib/i18n/locales/hr-HR/translation.json +++ b/src/lib/i18n/locales/hr-HR/translation.json @@ -482,8 +482,10 @@ "I acknowledge that I have read and I understand the implications of my action. I am aware of the risks associated with executing arbitrary code and I have verified the trustworthiness of the source.": "", "ID": "", "Ignite curiosity": "", + "Image Compression": "", "Image Generation (Experimental)": "Generiranje slika (eksperimentalno)", "Image Generation Engine": "Stroj za generiranje slika", + "Image Max Compression Size": "", "Image Settings": "Postavke slike", "Images": "Slike", "Import Chats": "Uvoz razgovora", diff --git a/src/lib/i18n/locales/hu-HU/translation.json b/src/lib/i18n/locales/hu-HU/translation.json index 84fbfdb54..0a3a447aa 100644 --- a/src/lib/i18n/locales/hu-HU/translation.json +++ b/src/lib/i18n/locales/hu-HU/translation.json @@ -482,8 +482,10 @@ "I acknowledge that I have read and I understand the implications of my action. I am aware of the risks associated with executing arbitrary code and I have verified the trustworthiness of the source.": "Elismerem, hogy elolvastam és megértem a cselekedetem következményeit. Tisztában vagyok a tetszőleges kód végrehajtásával járó kockázatokkal, és ellenőriztem a forrás megbízhatóságát.", "ID": "Azonosító", "Ignite curiosity": "", + "Image Compression": "", "Image Generation (Experimental)": "Képgenerálás (kísérleti)", "Image Generation Engine": "Képgenerálási motor", + "Image Max Compression Size": "", "Image Settings": "Kép beállítások", "Images": "Képek", "Import Chats": "Beszélgetések importálása", diff --git a/src/lib/i18n/locales/id-ID/translation.json b/src/lib/i18n/locales/id-ID/translation.json index d0b431339..f1475b0c9 100644 --- a/src/lib/i18n/locales/id-ID/translation.json +++ b/src/lib/i18n/locales/id-ID/translation.json @@ -482,8 +482,10 @@ "I acknowledge that I have read and I understand the implications of my action. I am aware of the risks associated with executing arbitrary code and I have verified the trustworthiness of the source.": "", "ID": "", "Ignite curiosity": "", + "Image Compression": "", "Image Generation (Experimental)": "Pembuatan Gambar (Eksperimental)", "Image Generation Engine": "Mesin Pembuat Gambar", + "Image Max Compression Size": "", "Image Settings": "Pengaturan Gambar", "Images": "Gambar", "Import Chats": "Impor Obrolan", diff --git a/src/lib/i18n/locales/ie-GA/translation.json b/src/lib/i18n/locales/ie-GA/translation.json index 5b5651226..29a71de99 100644 --- a/src/lib/i18n/locales/ie-GA/translation.json +++ b/src/lib/i18n/locales/ie-GA/translation.json @@ -482,8 +482,10 @@ "I acknowledge that I have read and I understand the implications of my action. I am aware of the risks associated with executing arbitrary code and I have verified the trustworthiness of the source.": "Admhaím gur léigh mé agus tuigim impleachtaí mo ghníomhaíochta. Táim ar an eolas faoi na rioscaí a bhaineann le cód treallach a fhorghníomhú agus tá iontaofacht na foinse fíoraithe agam.", "ID": "ID", "Ignite curiosity": "Las fiosracht", + "Image Compression": "", "Image Generation (Experimental)": "Giniúint Íomhá (Turgnaimh)", "Image Generation Engine": "Inneall Giniúna Íomh", + "Image Max Compression Size": "", "Image Settings": "Socruithe Íomhá", "Images": "Íomhánna", "Import Chats": "Comhráite iompórtá", diff --git a/src/lib/i18n/locales/it-IT/translation.json b/src/lib/i18n/locales/it-IT/translation.json index b88404f06..7bb81042c 100644 --- a/src/lib/i18n/locales/it-IT/translation.json +++ b/src/lib/i18n/locales/it-IT/translation.json @@ -482,8 +482,10 @@ "I acknowledge that I have read and I understand the implications of my action. I am aware of the risks associated with executing arbitrary code and I have verified the trustworthiness of the source.": "", "ID": "", "Ignite curiosity": "", + "Image Compression": "", "Image Generation (Experimental)": "Generazione di immagini (sperimentale)", "Image Generation Engine": "Motore di generazione immagini", + "Image Max Compression Size": "", "Image Settings": "Impostazioni immagine", "Images": "Immagini", "Import Chats": "Importa chat", diff --git a/src/lib/i18n/locales/ja-JP/translation.json b/src/lib/i18n/locales/ja-JP/translation.json index 501ac4d4a..ec8c82a0d 100644 --- a/src/lib/i18n/locales/ja-JP/translation.json +++ b/src/lib/i18n/locales/ja-JP/translation.json @@ -482,8 +482,10 @@ "I acknowledge that I have read and I understand the implications of my action. I am aware of the risks associated with executing arbitrary code and I have verified the trustworthiness of the source.": "", "ID": "", "Ignite curiosity": "", + "Image Compression": "", "Image Generation (Experimental)": "画像生成 (実験的)", "Image Generation Engine": "画像生成エンジン", + "Image Max Compression Size": "", "Image Settings": "画像設定", "Images": "画像", "Import Chats": "チャットをインポート", diff --git a/src/lib/i18n/locales/ka-GE/translation.json b/src/lib/i18n/locales/ka-GE/translation.json index 3f691e5fc..5da891823 100644 --- a/src/lib/i18n/locales/ka-GE/translation.json +++ b/src/lib/i18n/locales/ka-GE/translation.json @@ -482,8 +482,10 @@ "I acknowledge that I have read and I understand the implications of my action. I am aware of the risks associated with executing arbitrary code and I have verified the trustworthiness of the source.": "", "ID": "", "Ignite curiosity": "", + "Image Compression": "", "Image Generation (Experimental)": "სურათების გენერაცია (ექსპერიმენტული)", "Image Generation Engine": "სურათის გენერაციის ძრავა", + "Image Max Compression Size": "", "Image Settings": "სურათის პარამეტრები", "Images": "სურათები", "Import Chats": "მიმოწერების იმპორტი", diff --git a/src/lib/i18n/locales/ko-KR/translation.json b/src/lib/i18n/locales/ko-KR/translation.json index 1cdde256f..fedb2b14e 100644 --- a/src/lib/i18n/locales/ko-KR/translation.json +++ b/src/lib/i18n/locales/ko-KR/translation.json @@ -482,8 +482,10 @@ "I acknowledge that I have read and I understand the implications of my action. I am aware of the risks associated with executing arbitrary code and I have verified the trustworthiness of the source.": "", "ID": "ID", "Ignite curiosity": "", + "Image Compression": "", "Image Generation (Experimental)": "이미지 생성(실험적)", "Image Generation Engine": "이미지 생성 엔진", + "Image Max Compression Size": "", "Image Settings": "이미지 설정", "Images": "이미지", "Import Chats": "채팅 가져오기", diff --git a/src/lib/i18n/locales/lt-LT/translation.json b/src/lib/i18n/locales/lt-LT/translation.json index 80cc41312..0b6e4d9b7 100644 --- a/src/lib/i18n/locales/lt-LT/translation.json +++ b/src/lib/i18n/locales/lt-LT/translation.json @@ -482,8 +482,10 @@ "I acknowledge that I have read and I understand the implications of my action. I am aware of the risks associated with executing arbitrary code and I have verified the trustworthiness of the source.": "Suprantu veiksmų ir kodo vykdymo rizikas.", "ID": "", "Ignite curiosity": "", + "Image Compression": "", "Image Generation (Experimental)": "Vaizdų generavimas (eksperimentinis)", "Image Generation Engine": "Vaizdų generavimo variklis", + "Image Max Compression Size": "", "Image Settings": "Vaizdų nustatymai", "Images": "Vaizdai", "Import Chats": "Importuoti pokalbius", diff --git a/src/lib/i18n/locales/ms-MY/translation.json b/src/lib/i18n/locales/ms-MY/translation.json index e301180d0..59f5a67d4 100644 --- a/src/lib/i18n/locales/ms-MY/translation.json +++ b/src/lib/i18n/locales/ms-MY/translation.json @@ -482,8 +482,10 @@ "I acknowledge that I have read and I understand the implications of my action. I am aware of the risks associated with executing arbitrary code and I have verified the trustworthiness of the source.": "Saya mengakui bahawa saya telah membaca dan saya memahami implikasi tindakan saya. Saya sedar tentang risiko yang berkaitan dengan melaksanakan kod sewenang-wenangnya dan saya telah mengesahkan kebolehpercayaan sumber tersebut.", "ID": "", "Ignite curiosity": "", + "Image Compression": "", "Image Generation (Experimental)": "Penjanaan Imej (Percubaan)", "Image Generation Engine": "Enjin Penjanaan Imej", + "Image Max Compression Size": "", "Image Settings": "Tetapan Imej", "Images": "Imej", "Import Chats": "Import Perbualan", diff --git a/src/lib/i18n/locales/nb-NO/translation.json b/src/lib/i18n/locales/nb-NO/translation.json index 2ab380789..ac8202b67 100644 --- a/src/lib/i18n/locales/nb-NO/translation.json +++ b/src/lib/i18n/locales/nb-NO/translation.json @@ -482,8 +482,10 @@ "I acknowledge that I have read and I understand the implications of my action. I am aware of the risks associated with executing arbitrary code and I have verified the trustworthiness of the source.": "Jeg bekrefter at jeg har lest og forstår konsekvensene av mine handlinger. Jeg er klar over risikoen forbundet med å kjøre vilkårlig kode, og jeg har verifisert kildens pålitelighet.", "ID": "ID", "Ignite curiosity": "Vekk nysgjerrigheten", + "Image Compression": "", "Image Generation (Experimental)": "Bildegenerering (eksperimentell)", "Image Generation Engine": "Bildegenereringsmotor", + "Image Max Compression Size": "", "Image Settings": "Bildeinnstillinger", "Images": "Bilder", "Import Chats": "Importer chatter", diff --git a/src/lib/i18n/locales/nl-NL/translation.json b/src/lib/i18n/locales/nl-NL/translation.json index e49a2575a..26a48ef71 100644 --- a/src/lib/i18n/locales/nl-NL/translation.json +++ b/src/lib/i18n/locales/nl-NL/translation.json @@ -482,8 +482,10 @@ "I acknowledge that I have read and I understand the implications of my action. I am aware of the risks associated with executing arbitrary code and I have verified the trustworthiness of the source.": "Ik bevestig dat ik de implicaties van mijn actie heb gelezen en begrepen. Ik ben me bewust van de risico's die gepaard gaan met het uitvoeren van willekeurige code en ik heb de betrouwbaarheid van de bron gecontroleerd.", "ID": "ID", "Ignite curiosity": "Wakker nieuwsgierigheid aan", + "Image Compression": "", "Image Generation (Experimental)": "Afbeeldingsgeneratie (Experimenteel)", "Image Generation Engine": "Afbeeldingsgeneratie Engine", + "Image Max Compression Size": "", "Image Settings": "Afbeeldingsinstellingen", "Images": "Afbeeldingen", "Import Chats": "Importeer Chats", diff --git a/src/lib/i18n/locales/pa-IN/translation.json b/src/lib/i18n/locales/pa-IN/translation.json index da3222f14..41a0feb8e 100644 --- a/src/lib/i18n/locales/pa-IN/translation.json +++ b/src/lib/i18n/locales/pa-IN/translation.json @@ -482,8 +482,10 @@ "I acknowledge that I have read and I understand the implications of my action. I am aware of the risks associated with executing arbitrary code and I have verified the trustworthiness of the source.": "", "ID": "", "Ignite curiosity": "", + "Image Compression": "", "Image Generation (Experimental)": "ਚਿੱਤਰ ਜਨਰੇਸ਼ਨ (ਪਰਮਾਣੂਕ੍ਰਿਤ)", "Image Generation Engine": "ਚਿੱਤਰ ਜਨਰੇਸ਼ਨ ਇੰਜਣ", + "Image Max Compression Size": "", "Image Settings": "ਚਿੱਤਰ ਸੈਟਿੰਗਾਂ", "Images": "ਚਿੱਤਰ", "Import Chats": "ਗੱਲਾਂ ਆਯਾਤ ਕਰੋ", diff --git a/src/lib/i18n/locales/pl-PL/translation.json b/src/lib/i18n/locales/pl-PL/translation.json index dac2ac9d0..ba31ada0b 100644 --- a/src/lib/i18n/locales/pl-PL/translation.json +++ b/src/lib/i18n/locales/pl-PL/translation.json @@ -482,8 +482,10 @@ "I acknowledge that I have read and I understand the implications of my action. I am aware of the risks associated with executing arbitrary code and I have verified the trustworthiness of the source.": "", "ID": "", "Ignite curiosity": "", + "Image Compression": "", "Image Generation (Experimental)": "Generowanie obrazu (eksperymentalne)", "Image Generation Engine": "Silnik generowania obrazu", + "Image Max Compression Size": "", "Image Settings": "Ustawienia obrazu", "Images": "Obrazy", "Import Chats": "Importuj czaty", diff --git a/src/lib/i18n/locales/pt-BR/translation.json b/src/lib/i18n/locales/pt-BR/translation.json index 80b1415f3..e722a1b5d 100644 --- a/src/lib/i18n/locales/pt-BR/translation.json +++ b/src/lib/i18n/locales/pt-BR/translation.json @@ -482,8 +482,10 @@ "I acknowledge that I have read and I understand the implications of my action. I am aware of the risks associated with executing arbitrary code and I have verified the trustworthiness of the source.": "Eu reconheço que li e entendi as implicações da minha ação. Estou ciente dos riscos associados à execução de código arbitrário e verifiquei a confiabilidade da fonte.", "ID": "", "Ignite curiosity": "Desperte a curiosidade", + "Image Compression": "", "Image Generation (Experimental)": "Geração de Imagem (Experimental)", "Image Generation Engine": "Motor de Geração de Imagem", + "Image Max Compression Size": "", "Image Settings": "Configurações de Imagem", "Images": "Imagens", "Import Chats": "Importar Chats", diff --git a/src/lib/i18n/locales/pt-PT/translation.json b/src/lib/i18n/locales/pt-PT/translation.json index 3cda27bc6..d49117262 100644 --- a/src/lib/i18n/locales/pt-PT/translation.json +++ b/src/lib/i18n/locales/pt-PT/translation.json @@ -482,8 +482,10 @@ "I acknowledge that I have read and I understand the implications of my action. I am aware of the risks associated with executing arbitrary code and I have verified the trustworthiness of the source.": "", "ID": "", "Ignite curiosity": "", + "Image Compression": "", "Image Generation (Experimental)": "Geração de Imagens (Experimental)", "Image Generation Engine": "Mecanismo de Geração de Imagens", + "Image Max Compression Size": "", "Image Settings": "Configurações da Imagem", "Images": "Imagens", "Import Chats": "Importar Conversas", diff --git a/src/lib/i18n/locales/ro-RO/translation.json b/src/lib/i18n/locales/ro-RO/translation.json index be9820051..243384378 100644 --- a/src/lib/i18n/locales/ro-RO/translation.json +++ b/src/lib/i18n/locales/ro-RO/translation.json @@ -482,8 +482,10 @@ "I acknowledge that I have read and I understand the implications of my action. I am aware of the risks associated with executing arbitrary code and I have verified the trustworthiness of the source.": "Recunosc că am citit și înțeleg implicațiile acțiunii mele. Sunt conștient de riscurile asociate cu executarea codului arbitrar și am verificat fiabilitatea sursei.", "ID": "ID", "Ignite curiosity": "", + "Image Compression": "", "Image Generation (Experimental)": "Generare Imagine (Experimental)", "Image Generation Engine": "Motor de Generare a Imaginilor", + "Image Max Compression Size": "", "Image Settings": "Setări Imagine", "Images": "Imagini", "Import Chats": "Importă Conversațiile", diff --git a/src/lib/i18n/locales/ru-RU/translation.json b/src/lib/i18n/locales/ru-RU/translation.json index 195faaeb0..173a58a09 100644 --- a/src/lib/i18n/locales/ru-RU/translation.json +++ b/src/lib/i18n/locales/ru-RU/translation.json @@ -482,8 +482,10 @@ "I acknowledge that I have read and I understand the implications of my action. I am aware of the risks associated with executing arbitrary code and I have verified the trustworthiness of the source.": "Я подтверждаю, что прочитал и осознаю последствия своих действий. Я осознаю риски, связанные с выполнением произвольного кода, и я проверил достоверность источника.", "ID": "", "Ignite curiosity": "Разожгите любопытство", + "Image Compression": "", "Image Generation (Experimental)": "Генерация изображений (Экспериментально)", "Image Generation Engine": "Механизм генерации изображений", + "Image Max Compression Size": "", "Image Settings": "Настройки изображения", "Images": "Изображения", "Import Chats": "Импортировать Чаты", diff --git a/src/lib/i18n/locales/sk-SK/translation.json b/src/lib/i18n/locales/sk-SK/translation.json index 03a287c5d..4bc879066 100644 --- a/src/lib/i18n/locales/sk-SK/translation.json +++ b/src/lib/i18n/locales/sk-SK/translation.json @@ -482,8 +482,10 @@ "I acknowledge that I have read and I understand the implications of my action. I am aware of the risks associated with executing arbitrary code and I have verified the trustworthiness of the source.": "Beriem na vedomie, že som si prečítal a chápem dôsledky svojich činov. Som si vedomý rizík spojených s vykonávaním ľubovoľného kódu a overil som dôveryhodnosť zdroja.", "ID": "ID", "Ignite curiosity": "", + "Image Compression": "", "Image Generation (Experimental)": "Generovanie obrázkov (experimentálne)", "Image Generation Engine": "Engine na generovanie obrázkov", + "Image Max Compression Size": "", "Image Settings": "Nastavenia obrázka", "Images": "Obrázky", "Import Chats": "Importovať konverzácie", diff --git a/src/lib/i18n/locales/sr-RS/translation.json b/src/lib/i18n/locales/sr-RS/translation.json index 35f24695d..f351f15b4 100644 --- a/src/lib/i18n/locales/sr-RS/translation.json +++ b/src/lib/i18n/locales/sr-RS/translation.json @@ -482,8 +482,10 @@ "I acknowledge that I have read and I understand the implications of my action. I am aware of the risks associated with executing arbitrary code and I have verified the trustworthiness of the source.": "", "ID": "", "Ignite curiosity": "", + "Image Compression": "", "Image Generation (Experimental)": "Стварање слика (експериментално)", "Image Generation Engine": "Мотор за стварање слика", + "Image Max Compression Size": "", "Image Settings": "Подешавања слике", "Images": "Слике", "Import Chats": "Увези ћаскања", diff --git a/src/lib/i18n/locales/sv-SE/translation.json b/src/lib/i18n/locales/sv-SE/translation.json index be9d7e135..f2fa63617 100644 --- a/src/lib/i18n/locales/sv-SE/translation.json +++ b/src/lib/i18n/locales/sv-SE/translation.json @@ -482,8 +482,10 @@ "I acknowledge that I have read and I understand the implications of my action. I am aware of the risks associated with executing arbitrary code and I have verified the trustworthiness of the source.": "", "ID": "", "Ignite curiosity": "", + "Image Compression": "", "Image Generation (Experimental)": "Bildgenerering (experimentell)", "Image Generation Engine": "Bildgenereringsmotor", + "Image Max Compression Size": "", "Image Settings": "Bildinställningar", "Images": "Bilder", "Import Chats": "Importera chattar", diff --git a/src/lib/i18n/locales/th-TH/translation.json b/src/lib/i18n/locales/th-TH/translation.json index 6d1138f12..8e542342f 100644 --- a/src/lib/i18n/locales/th-TH/translation.json +++ b/src/lib/i18n/locales/th-TH/translation.json @@ -482,8 +482,10 @@ "I acknowledge that I have read and I understand the implications of my action. I am aware of the risks associated with executing arbitrary code and I have verified the trustworthiness of the source.": "ฉันรับทราบว่าฉันได้อ่านและเข้าใจผลกระทบของการกระทำของฉัน ฉันทราบถึงความเสี่ยงที่เกี่ยวข้องกับการเรียกใช้โค้ดโดยพลการและฉันได้ตรวจสอบความน่าเชื่อถือของแหล่งที่มาแล้ว", "ID": "", "Ignite curiosity": "", + "Image Compression": "", "Image Generation (Experimental)": "การสร้างภาพ (การทดลอง)", "Image Generation Engine": "เครื่องยนต์การสร้างภาพ", + "Image Max Compression Size": "", "Image Settings": "การตั้งค่าภาพ", "Images": "ภาพ", "Import Chats": "นำเข้าการสนทนา", diff --git a/src/lib/i18n/locales/tk-TW/translation.json b/src/lib/i18n/locales/tk-TW/translation.json index 73768dda3..4ce5057ec 100644 --- a/src/lib/i18n/locales/tk-TW/translation.json +++ b/src/lib/i18n/locales/tk-TW/translation.json @@ -482,8 +482,10 @@ "I acknowledge that I have read and I understand the implications of my action. I am aware of the risks associated with executing arbitrary code and I have verified the trustworthiness of the source.": "", "ID": "", "Ignite curiosity": "", + "Image Compression": "", "Image Generation (Experimental)": "", "Image Generation Engine": "", + "Image Max Compression Size": "", "Image Settings": "", "Images": "", "Import Chats": "", diff --git a/src/lib/i18n/locales/tr-TR/translation.json b/src/lib/i18n/locales/tr-TR/translation.json index c4317bcb2..8c342e803 100644 --- a/src/lib/i18n/locales/tr-TR/translation.json +++ b/src/lib/i18n/locales/tr-TR/translation.json @@ -482,8 +482,10 @@ "I acknowledge that I have read and I understand the implications of my action. I am aware of the risks associated with executing arbitrary code and I have verified the trustworthiness of the source.": "Eylemimin sonuçlarını okuduğumu ve anladığımı kabul ediyorum. Rastgele kod çalıştırmayla ilgili risklerin farkındayım ve kaynağın güvenilirliğini doğruladım.", "ID": "", "Ignite curiosity": "Merak uyandırın", + "Image Compression": "", "Image Generation (Experimental)": "Görüntü Oluşturma (Deneysel)", "Image Generation Engine": "Görüntü Oluşturma Motoru", + "Image Max Compression Size": "", "Image Settings": "Görüntü Ayarları", "Images": "Görüntüler", "Import Chats": "Sohbetleri İçe Aktar", diff --git a/src/lib/i18n/locales/uk-UA/translation.json b/src/lib/i18n/locales/uk-UA/translation.json index 1afd18aa2..2a68b1360 100644 --- a/src/lib/i18n/locales/uk-UA/translation.json +++ b/src/lib/i18n/locales/uk-UA/translation.json @@ -482,8 +482,10 @@ "I acknowledge that I have read and I understand the implications of my action. I am aware of the risks associated with executing arbitrary code and I have verified the trustworthiness of the source.": "Я підтверджую, що прочитав і розумію наслідки своїх дій. Я усвідомлюю ризики, пов'язані з виконанням довільного коду, і перевірив надійність джерела.", "ID": "ID", "Ignite curiosity": "Запаліть цікавість", + "Image Compression": "", "Image Generation (Experimental)": "Генерування зображень (експериментально)", "Image Generation Engine": "Механізм генерації зображень", + "Image Max Compression Size": "", "Image Settings": "Налаштування зображення", "Images": "Зображення", "Import Chats": "Імпорт чатів", diff --git a/src/lib/i18n/locales/ur-PK/translation.json b/src/lib/i18n/locales/ur-PK/translation.json index 3cec00626..fa42317bc 100644 --- a/src/lib/i18n/locales/ur-PK/translation.json +++ b/src/lib/i18n/locales/ur-PK/translation.json @@ -482,8 +482,10 @@ "I acknowledge that I have read and I understand the implications of my action. I am aware of the risks associated with executing arbitrary code and I have verified the trustworthiness of the source.": "میں اقرار کرتا ہوں کہ میں نے پڑھ لیا ہے اور میں اپنی کارروائی کے مضمرات سمجھتا ہوں میں اس بات سے واقف ہوں کہ بلاوجہ کوڈ چلانے کے ساتھ منسلک خطرات ہوتے ہیں اور میں نے ماخذ کی اعتمادیت کی تصدیق کی ہے", "ID": "شناخت", "Ignite curiosity": "", + "Image Compression": "", "Image Generation (Experimental)": "تصویر کی تخلیق (تجرباتی)", "Image Generation Engine": "امیج جنریشن انجن", + "Image Max Compression Size": "", "Image Settings": "تصویری ترتیبات", "Images": "تصاویر", "Import Chats": "چیٹس درآمد کریں", diff --git a/src/lib/i18n/locales/vi-VN/translation.json b/src/lib/i18n/locales/vi-VN/translation.json index 7e189d4ce..f5d01dbd9 100644 --- a/src/lib/i18n/locales/vi-VN/translation.json +++ b/src/lib/i18n/locales/vi-VN/translation.json @@ -482,8 +482,10 @@ "I acknowledge that I have read and I understand the implications of my action. I am aware of the risks associated with executing arbitrary code and I have verified the trustworthiness of the source.": "Tôi thừa nhận rằng tôi đã đọc và tôi hiểu ý nghĩa của hành động của mình. Tôi nhận thức được những rủi ro liên quan đến việc thực thi mã tùy ý và tôi đã xác minh độ tin cậy của nguồn.", "ID": "", "Ignite curiosity": "", + "Image Compression": "", "Image Generation (Experimental)": "Tạo ảnh (thử nghiệm)", "Image Generation Engine": "Công cụ tạo ảnh", + "Image Max Compression Size": "", "Image Settings": "Cài đặt ảnh", "Images": "Hình ảnh", "Import Chats": "Nạp lại nội dung chat", diff --git a/src/lib/i18n/locales/zh-CN/translation.json b/src/lib/i18n/locales/zh-CN/translation.json index 87962f99a..98522374d 100644 --- a/src/lib/i18n/locales/zh-CN/translation.json +++ b/src/lib/i18n/locales/zh-CN/translation.json @@ -482,8 +482,10 @@ "I acknowledge that I have read and I understand the implications of my action. I am aware of the risks associated with executing arbitrary code and I have verified the trustworthiness of the source.": "我已阅读并理解我的行为所带来的影响,明白执行任意代码所涉及的风险。且我已验证代码来源可信度。", "ID": "ID", "Ignite curiosity": "点燃好奇心", + "Image Compression": "", "Image Generation (Experimental)": "图像生成(实验性)", "Image Generation Engine": "图像生成引擎", + "Image Max Compression Size": "", "Image Settings": "图像设置", "Images": "图像", "Import Chats": "导入对话记录", diff --git a/src/lib/i18n/locales/zh-TW/translation.json b/src/lib/i18n/locales/zh-TW/translation.json index 5517a6678..e3ff22b30 100644 --- a/src/lib/i18n/locales/zh-TW/translation.json +++ b/src/lib/i18n/locales/zh-TW/translation.json @@ -482,8 +482,10 @@ "I acknowledge that I have read and I understand the implications of my action. I am aware of the risks associated with executing arbitrary code and I have verified the trustworthiness of the source.": "我確認已閱讀並理解我的操作所帶來的影響。我了解執行任意程式碼的相關風險,並已驗證來源的可信度。", "ID": "ID", "Ignite curiosity": "點燃好奇心", + "Image Compression": "", "Image Generation (Experimental)": "圖片生成(實驗性功能)", "Image Generation Engine": "圖片生成引擎", + "Image Max Compression Size": "", "Image Settings": "圖片設定", "Images": "圖片", "Import Chats": "匯入對話紀錄", diff --git a/src/lib/utils/index.ts b/src/lib/utils/index.ts index 51deca306..463738bb2 100644 --- a/src/lib/utils/index.ts +++ b/src/lib/utils/index.ts @@ -14,7 +14,6 @@ function escapeRegExp(string: string): string { return string.replace(/[.*+?^${}()|[\]\\]/g, '\\$&'); } - export const replaceTokens = (content, sourceIds, char, user) => { const charToken = /{{char}}/gi; const userToken = /{{user}}/gi; @@ -190,72 +189,67 @@ export const canvasPixelTest = () => { return true; }; +export const compressImage = async (imageUrl, maxWidth, maxHeight) => { + return new Promise((resolve, reject) => { + const img = new Image(); + img.onload = () => { + const canvas = document.createElement('canvas'); + let width = img.width; + let height = img.height; -export const compressImage = async (imageUrl, maxWidth, maxHeight) => { - return new Promise((resolve, reject) => { - const img = new Image(); - img.onload = () => { - const canvas = document.createElement('canvas'); - let width = img.width; - let height = img.height; + // Maintain aspect ratio while resizing - // Maintain aspect ratio while resizing - - - - if (maxWidth && maxHeight) { - // Resize with both dimensions defined (preserves aspect ratio) + if (maxWidth && maxHeight) { + // Resize with both dimensions defined (preserves aspect ratio) if (width <= maxWidth && height <= maxHeight) { resolve(imageUrl); return; } - - if (width / height > maxWidth / maxHeight) { - height = Math.round((maxWidth * height) / width); - width = maxWidth; - } else { - width = Math.round((maxHeight * width) / height); - height = maxHeight; - } - } else if (maxWidth) { - // Only maxWidth defined + if (width / height > maxWidth / maxHeight) { + height = Math.round((maxWidth * height) / width); + width = maxWidth; + } else { + width = Math.round((maxHeight * width) / height); + height = maxHeight; + } + } else if (maxWidth) { + // Only maxWidth defined if (width <= maxWidth) { resolve(imageUrl); return; } - - height = Math.round((maxWidth * height) / width); - width = maxWidth; - } else if (maxHeight) { - // Only maxHeight defined + height = Math.round((maxWidth * height) / width); + width = maxWidth; + } else if (maxHeight) { + // Only maxHeight defined if (height <= maxHeight) { resolve(imageUrl); return; } - width = Math.round((maxHeight * width) / height); - height = maxHeight; - } + width = Math.round((maxHeight * width) / height); + height = maxHeight; + } - canvas.width = width; - canvas.height = height; + canvas.width = width; + canvas.height = height; - const context = canvas.getContext('2d'); - context.drawImage(img, 0, 0, width, height); + const context = canvas.getContext('2d'); + context.drawImage(img, 0, 0, width, height); - // Get compressed image URL - const compressedUrl = canvas.toDataURL(); - resolve(compressedUrl); - }; - img.onerror = (error) => reject(error); - img.src = imageUrl; - }); -} + // Get compressed image URL + const compressedUrl = canvas.toDataURL(); + resolve(compressedUrl); + }; + img.onerror = (error) => reject(error); + img.src = imageUrl; + }); +}; export const generateInitialsImage = (name) => { const canvas = document.createElement('canvas'); const ctx = canvas.getContext('2d');