Commit 1948e783 authored by Timothy J. Baek's avatar Timothy J. Baek
Browse files

refac: rename fullscreen -> widescreen

parent 73a98ff9
......@@ -286,7 +286,7 @@
{#each messages as message, messageIdx}
<div class=" w-full {messageIdx === messages.length - 1 ? ' pb-12' : ''}">
<div
class="flex flex-col justify-between px-5 mb-3 {$settings?.fullScreenMode ?? null
class="flex flex-col justify-between px-5 mb-3 {$settings?.widescreenMode ?? null
? 'max-w-full'
: 'max-w-5xl'} mx-auto rounded-lg group"
>
......
......@@ -16,7 +16,7 @@
let responseAutoCopy = false;
let titleAutoGenerateModel = '';
let titleAutoGenerateModelExternal = '';
let fullScreenMode = false;
let widescreenMode = false;
let titleGenerationPrompt = '';
let splitLargeChunks = false;
......@@ -31,9 +31,9 @@
saveSettings({ splitLargeChunks: splitLargeChunks });
};
const toggleFullScreenMode = async () => {
fullScreenMode = !fullScreenMode;
saveSettings({ fullScreenMode: fullScreenMode });
const togglewidescreenMode = async () => {
widescreenMode = !widescreenMode;
saveSettings({ widescreenMode: widescreenMode });
};
const toggleChatBubble = async () => {
......@@ -114,7 +114,7 @@
responseAutoCopy = $settings.responseAutoCopy ?? false;
showUsername = $settings.showUsername ?? false;
chatBubble = $settings.chatBubble ?? true;
fullScreenMode = $settings.fullScreenMode ?? false;
widescreenMode = $settings.widescreenMode ?? false;
splitLargeChunks = $settings.splitLargeChunks ?? false;
chatDirection = $settings.chatDirection ?? 'LTR';
});
......@@ -195,16 +195,16 @@
<div>
<div class=" py-0.5 flex w-full justify-between">
<div class=" self-center text-xs font-medium">{$i18n.t('Full Screen Mode')}</div>
<div class=" self-center text-xs font-medium">{$i18n.t('Widescreen Mode')}</div>
<button
class="p-1 px-3 text-xs flex rounded transition"
on:click={() => {
toggleFullScreenMode();
togglewidescreenMode();
}}
type="button"
>
{#if fullScreenMode === true}
{#if widescreenMode === true}
<span class="ml-2 self-center">{$i18n.t('On')}</span>
{:else}
<span class="ml-2 self-center">{$i18n.t('Off')}</span>
......
......@@ -226,7 +226,6 @@
"Followed instructions perfectly": "اتبعت التعليمات على أكمل وجه",
"Format your variables using square brackets like this:": "قم بتنسيق المتغيرات الخاصة بك باستخدام الأقواس المربعة مثل هذا:",
"Frequency Penalty": "عقوبة التردد",
"Full Screen Mode": "وضع ملء الشاشة",
"General": "عام",
"General Settings": "الاعدادات العامة",
"Generating search query": "إنشاء استعلام بحث",
......@@ -531,6 +530,7 @@
"What’s New in": "ما هو الجديد",
"When history is turned off, new chats on this browser won't appear in your history on any of your devices.": "عند إيقاف تشغيل السجل، لن تظهر الدردشات الجديدة على هذا المتصفح في سجلك على أي من أجهزتك.",
"Whisper (Local)": "Whisper (Local)",
"Widescreen Mode": "",
"Workspace": "مساحة العمل",
"Write a prompt suggestion (e.g. Who are you?)": "اكتب اقتراحًا سريعًا (على سبيل المثال، من أنت؟)",
"Write a summary in 50 words that summarizes [topic or keyword].": "اكتب ملخصًا في 50 كلمة يلخص [الموضوع أو الكلمة الرئيسية]",
......
......@@ -226,7 +226,6 @@
"Followed instructions perfectly": "Следвайте инструкциите перфектно",
"Format your variables using square brackets like this:": "Форматирайте вашите променливи, като използвате квадратни скоби, както следва:",
"Frequency Penalty": "Наказание за честота",
"Full Screen Mode": "На Цял екран",
"General": "Основни",
"General Settings": "Основни Настройки",
"Generating search query": "Генериране на заявка за търсене",
......@@ -527,6 +526,7 @@
"What’s New in": "Какво е новото в",
"When history is turned off, new chats on this browser won't appear in your history on any of your devices.": "Когато историята е изключена, нови чатове в този браузър ще не се показват в историята на никои от вашия профил.",
"Whisper (Local)": "Whisper (Локален)",
"Widescreen Mode": "",
"Workspace": "Работно пространство",
"Write a prompt suggestion (e.g. Who are you?)": "Напиши предложение за промпт (напр. Кой сте вие?)",
"Write a summary in 50 words that summarizes [topic or keyword].": "Напиши описание в 50 знака, което описва [тема или ключова дума].",
......
......@@ -226,7 +226,6 @@
"Followed instructions perfectly": "নির্দেশাবলী নিখুঁতভাবে অনুসরণ করা হয়েছে",
"Format your variables using square brackets like this:": "আপনার ভেরিয়বলগুলো এভাবে স্কয়ার ব্রাকেটের মাধ্যমে সাজান",
"Frequency Penalty": "ফ্রিকোয়েন্সি পেনাল্টি",
"Full Screen Mode": "ফুলস্ক্রিন মোড",
"General": "সাধারণ",
"General Settings": "সাধারণ সেটিংসমূহ",
"Generating search query": "অনুসন্ধান ক্যোয়ারী তৈরি করা হচ্ছে",
......@@ -527,6 +526,7 @@
"What’s New in": "এতে নতুন কী",
"When history is turned off, new chats on this browser won't appear in your history on any of your devices.": "যদি হিস্টোরি বন্ধ থাকে তাহলে এই ব্রাউজারের নতুন চ্যাটগুলো আপনার কোন ডিভাইসের হিস্টোরিতেই দেখা যাবে না।",
"Whisper (Local)": "Whisper (লোকাল)",
"Widescreen Mode": "",
"Workspace": "ওয়ার্কস্পেস",
"Write a prompt suggestion (e.g. Who are you?)": "একটি প্রম্পট সাজেশন লিখুন (যেমন Who are you?)",
"Write a summary in 50 words that summarizes [topic or keyword].": "৫০ শব্দের মধ্যে [topic or keyword] এর একটি সারসংক্ষেপ লিখুন।",
......
......@@ -226,7 +226,6 @@
"Followed instructions perfectly": "Siguiu les instruccions perfeicte",
"Format your variables using square brackets like this:": "Formata les teves variables utilitzant claudàtors així:",
"Frequency Penalty": "Pena de freqüència",
"Full Screen Mode": "Mode de Pantalla Completa",
"General": "General",
"General Settings": "Configuració General",
"Generating search query": "Generació de consultes de cerca",
......@@ -528,6 +527,7 @@
"What’s New in": "Què hi ha de Nou en",
"When history is turned off, new chats on this browser won't appear in your history on any of your devices.": "Quan l'historial està desactivat, els nous xats en aquest navegador no apareixeran en el teu historial en cap dels teus dispositius.",
"Whisper (Local)": "Whisper (Local)",
"Widescreen Mode": "",
"Workspace": "Treball",
"Write a prompt suggestion (e.g. Who are you?)": "Escriu una suggerència de prompt (p. ex. Qui ets tu?)",
"Write a summary in 50 words that summarizes [topic or keyword].": "Escriu un resum en 50 paraules que resumeixi [tema o paraula clau].",
......
......@@ -226,7 +226,6 @@
"Followed instructions perfectly": "",
"Format your variables using square brackets like this:": "I-format ang imong mga variable gamit ang square brackets sama niini:",
"Frequency Penalty": "",
"Full Screen Mode": "Full screen mode",
"General": "Heneral",
"General Settings": "kinatibuk-ang mga setting",
"Generating search query": "",
......@@ -527,6 +526,7 @@
"What’s New in": "Unsay bag-o sa",
"When history is turned off, new chats on this browser won't appear in your history on any of your devices.": "Kung ang kasaysayan gipalong, ang mga bag-ong chat sa kini nga browser dili makita sa imong kasaysayan sa bisan unsang mga aparato.",
"Whisper (Local)": "Whisper (Lokal)",
"Widescreen Mode": "",
"Workspace": "",
"Write a prompt suggestion (e.g. Who are you?)": "Pagsulat og gisugyot nga prompt (eg. Kinsa ka?)",
"Write a summary in 50 words that summarizes [topic or keyword].": "Pagsulat og 50 ka pulong nga summary nga nagsumaryo [topic o keyword].",
......
......@@ -226,7 +226,6 @@
"Followed instructions perfectly": "Anweisungen perfekt befolgt",
"Format your variables using square brackets like this:": "Formatiere deine Variablen mit eckigen Klammern wie folgt:",
"Frequency Penalty": "Frequenz-Strafe",
"Full Screen Mode": "Vollbildmodus",
"General": "Allgemein",
"General Settings": "Allgemeine Einstellungen",
"Generating search query": "Suchanfrage generieren",
......@@ -527,6 +526,7 @@
"What’s New in": "Was gibt's Neues in",
"When history is turned off, new chats on this browser won't appear in your history on any of your devices.": "Wenn die Historie ausgeschaltet ist, werden neue Chats nicht in deiner Historie auf deine Geräte angezeigt.",
"Whisper (Local)": "Whisper (Lokal)",
"Widescreen Mode": "",
"Workspace": "Arbeitsbereich",
"Write a prompt suggestion (e.g. Who are you?)": "Gebe einen Prompt-Vorschlag ein (z.B. Wer bist du?)",
"Write a summary in 50 words that summarizes [topic or keyword].": "Schreibe eine kurze Zusammenfassung in 50 Wörtern, die [Thema oder Schlüsselwort] zusammenfasst.",
......
......@@ -226,7 +226,6 @@
"Followed instructions perfectly": "",
"Format your variables using square brackets like this:": "Format variables using square brackets like wow:",
"Frequency Penalty": "",
"Full Screen Mode": "Much Full Bark Mode",
"General": "Woweral",
"General Settings": "General Doge Settings",
"Generating search query": "",
......@@ -527,6 +526,7 @@
"What’s New in": "What’s New in much new",
"When history is turned off, new chats on this browser won't appear in your history on any of your devices.": "When history is turned off, new chats on this browser won't appear in your history on any of your devices. Much history.",
"Whisper (Local)": "Whisper (Local) much whisper",
"Widescreen Mode": "",
"Workspace": "",
"Write a prompt suggestion (e.g. Who are you?)": "Write a prompt suggestion (e.g. Who are you?) much suggest",
"Write a summary in 50 words that summarizes [topic or keyword].": "Write a summary in 50 words that summarizes [topic or keyword]. Much summarize.",
......
......@@ -226,7 +226,6 @@
"Followed instructions perfectly": "",
"Format your variables using square brackets like this:": "",
"Frequency Penalty": "",
"Full Screen Mode": "",
"General": "",
"General Settings": "",
"Generating search query": "",
......@@ -527,6 +526,7 @@
"What’s New in": "",
"When history is turned off, new chats on this browser won't appear in your history on any of your devices.": "",
"Whisper (Local)": "",
"Widescreen Mode": "",
"Workspace": "",
"Write a prompt suggestion (e.g. Who are you?)": "",
"Write a summary in 50 words that summarizes [topic or keyword].": "",
......
......@@ -226,7 +226,6 @@
"Followed instructions perfectly": "",
"Format your variables using square brackets like this:": "",
"Frequency Penalty": "",
"Full Screen Mode": "",
"General": "",
"General Settings": "",
"Generating search query": "",
......@@ -527,6 +526,7 @@
"What’s New in": "",
"When history is turned off, new chats on this browser won't appear in your history on any of your devices.": "",
"Whisper (Local)": "",
"Widescreen Mode": "",
"Workspace": "",
"Write a prompt suggestion (e.g. Who are you?)": "",
"Write a summary in 50 words that summarizes [topic or keyword].": "",
......
......@@ -226,7 +226,6 @@
"Followed instructions perfectly": "Siguió las instrucciones perfectamente",
"Format your variables using square brackets like this:": "Formatea tus variables usando corchetes de la siguiente manera:",
"Frequency Penalty": "Penalización de frecuencia",
"Full Screen Mode": "Modo de Pantalla Completa",
"General": "General",
"General Settings": "Opciones Generales",
"Generating search query": "Generación de consultas de búsqueda",
......@@ -528,6 +527,7 @@
"What’s New in": "Novedades en",
"When history is turned off, new chats on this browser won't appear in your history on any of your devices.": "Cuando el historial está desactivado, los nuevos chats en este navegador no aparecerán en el historial de ninguno de sus dispositivos..",
"Whisper (Local)": "Whisper (Local)",
"Widescreen Mode": "",
"Workspace": "Espacio de trabajo",
"Write a prompt suggestion (e.g. Who are you?)": "Escribe una sugerencia para un prompt (por ejemplo, ¿quién eres?)",
"Write a summary in 50 words that summarizes [topic or keyword].": "Escribe un resumen en 50 palabras que resuma [tema o palabra clave].",
......
......@@ -226,7 +226,6 @@
"Followed instructions perfectly": "دستورالعمل ها را کاملا دنبال کرد",
"Format your variables using square brackets like this:": "متغیرهای خود را با استفاده از براکت مربع به شکل زیر قالب بندی کنید:",
"Frequency Penalty": "مجازات فرکانس",
"Full Screen Mode": "حالت تمام صفحه",
"General": "عمومی",
"General Settings": "تنظیمات عمومی",
"Generating search query": "در حال تولید پرسوجوی جستجو",
......@@ -527,6 +526,7 @@
"What’s New in": "موارد جدید در",
"When history is turned off, new chats on this browser won't appear in your history on any of your devices.": "وقتی سابقه خاموش است، چت\u200cهای جدید در این مرورگر در سابقه شما در هیچ یک از دستگاه\u200cهایتان ظاهر نمی\u200cشوند.",
"Whisper (Local)": "ویسپر (محلی)",
"Widescreen Mode": "",
"Workspace": "محیط کار",
"Write a prompt suggestion (e.g. Who are you?)": "یک پیشنهاد پرامپت بنویسید (مثلاً شما کی هستید؟)",
"Write a summary in 50 words that summarizes [topic or keyword].": "خلاصه ای در 50 کلمه بنویسید که [موضوع یا کلمه کلیدی] را خلاصه کند.",
......
......@@ -226,7 +226,6 @@
"Followed instructions perfectly": "Noudatti ohjeita täydellisesti",
"Format your variables using square brackets like this:": "Muotoile muuttujat hakasulkeilla näin:",
"Frequency Penalty": "Taajuussakko",
"Full Screen Mode": "Koko näytön tila",
"General": "Yleinen",
"General Settings": "Yleisasetukset",
"Generating search query": "Hakukyselyn luominen",
......@@ -527,6 +526,7 @@
"What’s New in": "Mitä uutta",
"When history is turned off, new chats on this browser won't appear in your history on any of your devices.": "Kun historia on pois päältä, uudet keskustelut tässä selaimessa eivät näy historiassasi millään laitteellasi.",
"Whisper (Local)": "Whisper (paikallinen)",
"Widescreen Mode": "",
"Workspace": "Työtilat",
"Write a prompt suggestion (e.g. Who are you?)": "Kirjoita ehdotettu kehote (esim. Kuka olet?)",
"Write a summary in 50 words that summarizes [topic or keyword].": "Kirjoita 50 sanan yhteenveto, joka tiivistää [aihe tai avainsana].",
......
......@@ -226,7 +226,6 @@
"Followed instructions perfectly": "Suivi des instructions parfaitement",
"Format your variables using square brackets like this:": "Formatez vos variables en utilisant des crochets comme ceci :",
"Frequency Penalty": "Pénalité de fréquence",
"Full Screen Mode": "Mode plein écran",
"General": "Général",
"General Settings": "Paramètres généraux",
"Generating search query": "Génération d’une requête de recherche",
......@@ -528,6 +527,7 @@
"What’s New in": "Quoi de neuf dans",
"When history is turned off, new chats on this browser won't appear in your history on any of your devices.": "Lorsque l'historique est désactivé, les nouvelles discussions sur ce navigateur n'apparaîtront pas dans votre historique sur aucun de vos appareils.",
"Whisper (Local)": "Whisper (Local)",
"Widescreen Mode": "",
"Workspace": "Espace de travail",
"Write a prompt suggestion (e.g. Who are you?)": "Rédigez une suggestion de prompt (p. ex. Qui êtes-vous ?)",
"Write a summary in 50 words that summarizes [topic or keyword].": "Rédigez un résumé en 50 mots qui résume [sujet ou mot-clé].",
......
......@@ -226,7 +226,6 @@
"Followed instructions perfectly": "A suivi les instructions parfaitement",
"Format your variables using square brackets like this:": "Formatez vos variables en utilisant des crochets comme ceci :",
"Frequency Penalty": "Pénalité de fréquence",
"Full Screen Mode": "Mode plein écran",
"General": "Général",
"General Settings": "Paramètres Généraux",
"Generating search query": "Génération d’une requête de recherche",
......@@ -528,6 +527,7 @@
"What’s New in": "Quoi de neuf dans",
"When history is turned off, new chats on this browser won't appear in your history on any of your devices.": "Lorsque l'historique est désactivé, les nouveaux chats sur ce navigateur n'apparaîtront pas dans votre historique sur aucun de vos appareils.",
"Whisper (Local)": "Whisper (Local)",
"Widescreen Mode": "",
"Workspace": "Espace de Travail",
"Write a prompt suggestion (e.g. Who are you?)": "Écrivez une suggestion de prompt (e.x. Qui est-tu ?)",
"Write a summary in 50 words that summarizes [topic or keyword].": "Ecrivez un résumé en 50 mots qui résume [sujet ou mot-clé]",
......
......@@ -226,7 +226,6 @@
"Followed instructions perfectly": "עקב אחר ההוראות במושלמות",
"Format your variables using square brackets like this:": "עצב את המשתנים שלך באמצעות סוגריים מרובעים כך:",
"Frequency Penalty": "עונש תדירות",
"Full Screen Mode": "מצב מסך מלא",
"General": "כללי",
"General Settings": "הגדרות כלליות",
"Generating search query": "יצירת שאילתת חיפוש",
......@@ -528,6 +527,7 @@
"What’s New in": "מה חדש ב",
"When history is turned off, new chats on this browser won't appear in your history on any of your devices.": "כאשר ההיסטוריה מושבתת, צ'אטים חדשים בדפדפן זה לא יופיעו בהיסטוריה שלך באף אחד מהמכשירים שלך.",
"Whisper (Local)": "ושפה (מקומית)",
"Widescreen Mode": "",
"Workspace": "סביבה",
"Write a prompt suggestion (e.g. Who are you?)": "כתוב הצעה מהירה (למשל, מי אתה?)",
"Write a summary in 50 words that summarizes [topic or keyword].": "כתוב סיכום ב-50 מילים שמסכם [נושא או מילת מפתח].",
......
......@@ -226,7 +226,6 @@
"Followed instructions perfectly": "निर्देशों का पूर्णतः पालन किया",
"Format your variables using square brackets like this:": "वर्गाकार कोष्ठकों का उपयोग करके अपने चरों को इस प्रकार प्रारूपित करें :",
"Frequency Penalty": "फ्रीक्वेंसी पेनल्टी",
"Full Screen Mode": "पूर्ण स्क्रीन मोड",
"General": "सामान्य",
"General Settings": "सामान्य सेटिंग्स",
"Generating search query": "खोज क्वेरी जनरेट करना",
......@@ -527,6 +526,7 @@
"What’s New in": "इसमें नया क्या है",
"When history is turned off, new chats on this browser won't appear in your history on any of your devices.": "जब इतिहास बंद हो जाता है, तो इस ब्राउज़र पर नई चैट आपके किसी भी डिवाइस पर इतिहास में दिखाई नहीं देंगी।",
"Whisper (Local)": "Whisper (स्थानीय)",
"Widescreen Mode": "",
"Workspace": "वर्कस्पेस",
"Write a prompt suggestion (e.g. Who are you?)": "एक त्वरित सुझाव लिखें (जैसे कि आप कौन हैं?)",
"Write a summary in 50 words that summarizes [topic or keyword].": "50 शब्दों में एक सारांश लिखें जो [विषय या कीवर्ड] का सारांश प्रस्तुत करता हो।",
......
......@@ -226,7 +226,6 @@
"Followed instructions perfectly": "Savršeno slijedio upute",
"Format your variables using square brackets like this:": "Formatirajte svoje varijable pomoću uglatih zagrada ovako:",
"Frequency Penalty": "Kazna za učestalost",
"Full Screen Mode": "Način cijelog zaslona",
"General": "Općenito",
"General Settings": "Opće postavke",
"Generating search query": "Generiranje upita za pretraživanje",
......@@ -528,6 +527,7 @@
"What’s New in": "Što je novo u",
"When history is turned off, new chats on this browser won't appear in your history on any of your devices.": "Kada je povijest isključena, novi razgovori na ovom pregledniku neće se pojaviti u vašoj povijesti na bilo kojem od vaših uređaja.",
"Whisper (Local)": "Whisper (lokalno)",
"Widescreen Mode": "",
"Workspace": "Radna ploča",
"Write a prompt suggestion (e.g. Who are you?)": "Napišite prijedlog prompta (npr. Tko si ti?)",
"Write a summary in 50 words that summarizes [topic or keyword].": "Napišite sažetak u 50 riječi koji sažima [temu ili ključnu riječ].",
......
......@@ -226,7 +226,6 @@
"Followed instructions perfectly": "Ha seguito le istruzioni alla perfezione",
"Format your variables using square brackets like this:": "Formatta le tue variabili usando parentesi quadre come questa:",
"Frequency Penalty": "Penalità di frequenza",
"Full Screen Mode": "Modalità a schermo intero",
"General": "Generale",
"General Settings": "Impostazioni generali",
"Generating search query": "Generazione di query di ricerca",
......@@ -528,6 +527,7 @@
"What’s New in": "Novità in",
"When history is turned off, new chats on this browser won't appear in your history on any of your devices.": "Quando la cronologia è disattivata, le nuove chat su questo browser non verranno visualizzate nella cronologia su nessuno dei tuoi dispositivi.",
"Whisper (Local)": "Whisper (locale)",
"Widescreen Mode": "",
"Workspace": "Area di lavoro",
"Write a prompt suggestion (e.g. Who are you?)": "Scrivi un suggerimento per il prompt (ad esempio Chi sei?)",
"Write a summary in 50 words that summarizes [topic or keyword].": "Scrivi un riassunto in 50 parole che riassume [argomento o parola chiave].",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment