Adding setting to enable model selector

This commit is contained in:
cvaz1306 2024-12-28 17:46:58 -08:00
parent 0399e4aa73
commit b3ddccac0e
50 changed files with 79 additions and 1 deletions

View File

@ -48,6 +48,8 @@
let showUpdateToast = true;
let showChangelog = true;
let showLoadedModelsIndicator = true;
let showEmojiInCall = false;
let voiceInterruption = false;
let hapticFeedback = false;
@ -91,7 +93,10 @@
showChangelog = !showChangelog;
saveSettings({ showChangelog: showChangelog });
};
const toggleShowLoadedModels = async () => {
showLoadedModelsIndicator = !showLoadedModelsIndicator;
saveSettings({ showLoadedModelsIndicator: showLoadedModelsIndicator });
};
const toggleShowUsername = async () => {
showUsername = !showUsername;
saveSettings({ showUsername: showUsername });
@ -208,6 +213,8 @@
showUpdateToast = $settings.showUpdateToast ?? true;
showChangelog = $settings.showChangelog ?? true;
showLoadedModelsIndicator = $settings.showLoadedModelsIndicator ?? true;
showEmojiInCall = $settings.showEmojiInCall ?? false;
voiceInterruption = $settings.voiceInterruption ?? false;
@ -447,6 +454,28 @@
</div>
{/if}
<div>
<div class=" py-0.5 flex w-full justify-between">
<div class=" self-center text-xs">
{$i18n.t(`Show Loaded Model indicator in model selector`)}
</div>
<button
class="p-1 px-3 text-xs flex rounded transition"
on:click={() => {
toggleShowLoadedModels();
}}
type="button"
>
{#if showLoadedModelsIndicator === true}
<span class="ml-2 self-center">{$i18n.t('On')}</span>
{:else}
<span class="ml-2 self-center">{$i18n.t('Off')}</span>
{/if}
</button>
</div>
</div>
<div class=" my-1.5 text-sm font-medium">{$i18n.t('Chat')}</div>
<div>

View File

@ -843,6 +843,7 @@
"Show": "عرض",
"Show \"What's New\" modal on login": "",
"Show Admin Details in Account Pending Overlay": "",
"Show Loaded Model indicator in model selector": "",
"Show shortcuts": "إظهار الاختصارات",
"Show your support!": "",
"Showcased creativity": "أظهر الإبداع",

View File

@ -843,6 +843,7 @@
"Show": "Покажи",
"Show \"What's New\" modal on login": "",
"Show Admin Details in Account Pending Overlay": "",
"Show Loaded Model indicator in model selector": "",
"Show shortcuts": "Покажи",
"Show your support!": "",
"Showcased creativity": "Показана креативност",

View File

@ -843,6 +843,7 @@
"Show": "দেখান",
"Show \"What's New\" modal on login": "",
"Show Admin Details in Account Pending Overlay": "",
"Show Loaded Model indicator in model selector": "",
"Show shortcuts": "শর্টকাটগুলো দেখান",
"Show your support!": "",
"Showcased creativity": "সৃজনশীলতা প্রদর্শন",

View File

@ -843,6 +843,7 @@
"Show": "Mostrar",
"Show \"What's New\" modal on login": "Veure 'Què hi ha de nou' a l'entrada",
"Show Admin Details in Account Pending Overlay": "Mostrar els detalls de l'administrador a la superposició del compte pendent",
"Show Loaded Model indicator in model selector": "",
"Show shortcuts": "Mostrar dreceres",
"Show your support!": "Mostra el teu suport!",
"Showcased creativity": "Creativitat mostrada",

View File

@ -843,6 +843,7 @@
"Show": "Pagpakita",
"Show \"What's New\" modal on login": "",
"Show Admin Details in Account Pending Overlay": "",
"Show Loaded Model indicator in model selector": "",
"Show shortcuts": "Ipakita ang mga shortcut",
"Show your support!": "",
"Showcased creativity": "",

View File

@ -843,6 +843,7 @@
"Show": "Zobrazit",
"Show \"What's New\" modal on login": "",
"Show Admin Details in Account Pending Overlay": "Zobrazit podrobnosti administrátora v překryvném okně s čekajícím účtem",
"Show Loaded Model indicator in model selector": "",
"Show shortcuts": "Zobrazit klávesové zkratky",
"Show your support!": "Vyjadřete svou podporu!",
"Showcased creativity": "Předvedená kreativita",

View File

@ -843,6 +843,7 @@
"Show": "Vis",
"Show \"What's New\" modal on login": "",
"Show Admin Details in Account Pending Overlay": "Vis administratordetaljer i overlay for ventende konto",
"Show Loaded Model indicator in model selector": "",
"Show shortcuts": "Vis genveje",
"Show your support!": "Vis din støtte!",
"Showcased creativity": "Udstillet kreativitet",

View File

@ -843,6 +843,7 @@
"Show": "Anzeigen",
"Show \"What's New\" modal on login": "\"Was gibt's Neues\"-Modal beim Anmelden anzeigen",
"Show Admin Details in Account Pending Overlay": "Admin-Details im Account-Pending-Overlay anzeigen",
"Show Loaded Model indicator in model selector": "",
"Show shortcuts": "Verknüpfungen anzeigen",
"Show your support!": "Zeigen Sie Ihre Unterstützung!",
"Showcased creativity": "Kreativität gezeigt",

View File

@ -843,6 +843,7 @@
"Show": "Show much show",
"Show \"What's New\" modal on login": "",
"Show Admin Details in Account Pending Overlay": "",
"Show Loaded Model indicator in model selector": "",
"Show shortcuts": "Show shortcuts much shortcut",
"Show your support!": "",
"Showcased creativity": "",

View File

@ -843,6 +843,7 @@
"Show": "Εμφάνιση",
"Show \"What's New\" modal on login": "Εμφάνιση του παράθυρου \"Τι νέο υπάρχει\" κατά την είσοδο",
"Show Admin Details in Account Pending Overlay": "Εμφάνιση Λεπτομερειών Διαχειριστή στο Υπέρθεση Εκκρεμής Λογαριασμού",
"Show Loaded Model indicator in model selector": "",
"Show shortcuts": "Εμφάνιση συντομεύσεων",
"Show your support!": "Δείξτε την υποστήριξή σας!",
"Showcased creativity": "Εμφανιζόμενη δημιουργικότητα",

View File

@ -843,6 +843,7 @@
"Show": "",
"Show \"What's New\" modal on login": "",
"Show Admin Details in Account Pending Overlay": "",
"Show Loaded Model indicator in model selector": "",
"Show shortcuts": "",
"Show your support!": "",
"Showcased creativity": "",

View File

@ -843,6 +843,7 @@
"Show": "",
"Show \"What's New\" modal on login": "",
"Show Admin Details in Account Pending Overlay": "",
"Show Loaded Model indicator in model selector": "",
"Show shortcuts": "",
"Show your support!": "",
"Showcased creativity": "",

View File

@ -843,6 +843,7 @@
"Show": "Mostrar",
"Show \"What's New\" modal on login": "",
"Show Admin Details in Account Pending Overlay": "Mostrar detalles de administración en la capa de espera de la cuenta",
"Show Loaded Model indicator in model selector": "",
"Show shortcuts": "Mostrar atajos",
"Show your support!": "¡Muestra tu apoyo!",
"Showcased creativity": "Creatividad mostrada",

View File

@ -843,6 +843,7 @@
"Show": "Erakutsi",
"Show \"What's New\" modal on login": "Erakutsi \"Berritasunak\" modala saioa hastean",
"Show Admin Details in Account Pending Overlay": "Erakutsi administratzaile xehetasunak kontu zain geruzan",
"Show Loaded Model indicator in model selector": "",
"Show shortcuts": "Erakutsi lasterbideak",
"Show your support!": "Erakutsi zure babesa!",
"Showcased creativity": "Erakutsitako sormena",

View File

@ -843,6 +843,7 @@
"Show": "نمایش",
"Show \"What's New\" modal on login": "",
"Show Admin Details in Account Pending Overlay": "",
"Show Loaded Model indicator in model selector": "",
"Show shortcuts": "نمایش میانبرها",
"Show your support!": "",
"Showcased creativity": "ایده\u200cآفرینی",

View File

@ -843,6 +843,7 @@
"Show": "Näytä",
"Show \"What's New\" modal on login": "Näytä \"Mitä uutta\" -modaali kirjautumisen yhteydessä",
"Show Admin Details in Account Pending Overlay": "Näytä ylläpitäjän tiedot odottavan tilin päällä",
"Show Loaded Model indicator in model selector": "",
"Show shortcuts": "Näytä pikanäppäimet",
"Show your support!": "Osoita tukesi!",
"Showcased creativity": "Osoitti luovuutta",

View File

@ -843,6 +843,7 @@
"Show": "Montrer",
"Show \"What's New\" modal on login": "",
"Show Admin Details in Account Pending Overlay": "Afficher les détails de l'administrateur dans la superposition en attente du compte",
"Show Loaded Model indicator in model selector": "",
"Show shortcuts": "Afficher les raccourcis",
"Show your support!": "Montre ton soutien !",
"Showcased creativity": "Créativité mise en avant",

View File

@ -843,6 +843,7 @@
"Show": "Afficher",
"Show \"What's New\" modal on login": "Afficher la fenêtre modale \"Quoi de neuf\" lors de la connexion",
"Show Admin Details in Account Pending Overlay": "Afficher les coordonnées de l'administrateur aux comptes en attente",
"Show Loaded Model indicator in model selector": "",
"Show shortcuts": "Afficher les raccourcis",
"Show your support!": "Montrez votre soutien !",
"Showcased creativity": "Créativité mise en avant",

View File

@ -843,6 +843,7 @@
"Show": "הצג",
"Show \"What's New\" modal on login": "",
"Show Admin Details in Account Pending Overlay": "",
"Show Loaded Model indicator in model selector": "",
"Show shortcuts": "הצג קיצורי דרך",
"Show your support!": "",
"Showcased creativity": "הצגת יצירתיות",

View File

@ -843,6 +843,7 @@
"Show": "दिखाओ",
"Show \"What's New\" modal on login": "",
"Show Admin Details in Account Pending Overlay": "",
"Show Loaded Model indicator in model selector": "",
"Show shortcuts": "शॉर्टकट दिखाएँ",
"Show your support!": "",
"Showcased creativity": "रचनात्मकता का प्रदर्शन किया",

View File

@ -843,6 +843,7 @@
"Show": "Pokaži",
"Show \"What's New\" modal on login": "",
"Show Admin Details in Account Pending Overlay": "",
"Show Loaded Model indicator in model selector": "",
"Show shortcuts": "Pokaži prečace",
"Show your support!": "",
"Showcased creativity": "Prikazana kreativnost",

View File

@ -843,6 +843,7 @@
"Show": "Mutat",
"Show \"What's New\" modal on login": "",
"Show Admin Details in Account Pending Overlay": "Admin részletek megjelenítése a függő fiók átfedésben",
"Show Loaded Model indicator in model selector": "",
"Show shortcuts": "Gyorsbillentyűk megjelenítése",
"Show your support!": "Mutassa meg támogatását!",
"Showcased creativity": "Kreativitás bemutatva",

View File

@ -843,6 +843,7 @@
"Show": "Tampilkan",
"Show \"What's New\" modal on login": "",
"Show Admin Details in Account Pending Overlay": "Tampilkan Detail Admin di Hamparan Akun Tertunda",
"Show Loaded Model indicator in model selector": "",
"Show shortcuts": "Tampilkan pintasan",
"Show your support!": "Tunjukkan dukungan Anda!",
"Showcased creativity": "Menampilkan kreativitas",

View File

@ -843,6 +843,7 @@
"Show": "Taispeáin",
"Show \"What's New\" modal on login": "Taispeáin módúil \"Cad atá Nua\" ar logáil isteach",
"Show Admin Details in Account Pending Overlay": "Taispeáin Sonraí Riaracháin sa Chuntas ar Feitheamh Forleagan",
"Show Loaded Model indicator in model selector": "",
"Show shortcuts": "Taispeáin aicearraí",
"Show your support!": "Taispeáin do thacaíocht!",
"Showcased creativity": "Cruthaitheacht léirithe",

View File

@ -843,6 +843,7 @@
"Show": "Mostra",
"Show \"What's New\" modal on login": "",
"Show Admin Details in Account Pending Overlay": "",
"Show Loaded Model indicator in model selector": "",
"Show shortcuts": "Mostra",
"Show your support!": "",
"Showcased creativity": "Creatività messa in mostra",

View File

@ -843,6 +843,7 @@
"Show": "表示",
"Show \"What's New\" modal on login": "",
"Show Admin Details in Account Pending Overlay": "",
"Show Loaded Model indicator in model selector": "",
"Show shortcuts": "表示",
"Show your support!": "",
"Showcased creativity": "創造性を披露",

View File

@ -843,6 +843,7 @@
"Show": "ჩვენება",
"Show \"What's New\" modal on login": "",
"Show Admin Details in Account Pending Overlay": "",
"Show Loaded Model indicator in model selector": "",
"Show shortcuts": "მალსახმობების ჩვენება",
"Show your support!": "",
"Showcased creativity": "ჩვენებული ქონება",

View File

@ -843,6 +843,7 @@
"Show": "보기",
"Show \"What's New\" modal on login": "",
"Show Admin Details in Account Pending Overlay": "사용자용 계정 보류 설명창에, 관리자 상세 정보 노출",
"Show Loaded Model indicator in model selector": "",
"Show shortcuts": "단축키 보기",
"Show your support!": "당신의 응원을 보내주세요!",
"Showcased creativity": "창의성 발휘",

View File

@ -843,6 +843,7 @@
"Show": "Rodyti",
"Show \"What's New\" modal on login": "",
"Show Admin Details in Account Pending Overlay": "Rodyti administratoriaus duomenis laukiant paskyros patvirtinimo",
"Show Loaded Model indicator in model selector": "",
"Show shortcuts": "Rodyti trumpinius",
"Show your support!": "Palaikykite",
"Showcased creativity": "Kūrybingų užklausų paroda",

View File

@ -843,6 +843,7 @@
"Show": "Tunjukkan",
"Show \"What's New\" modal on login": "",
"Show Admin Details in Account Pending Overlay": "Tunjukkan Butiran Pentadbir dalam Akaun Menunggu Tindanan",
"Show Loaded Model indicator in model selector": "",
"Show shortcuts": "Tunjukkan pintasan",
"Show your support!": "Tunjukkan sokongan anda!",
"Showcased creativity": "eativiti yang dipamerkan",

View File

@ -843,6 +843,7 @@
"Show": "Vis",
"Show \"What's New\" modal on login": "Vis \"Hva er nytt\"-modal ved innlogging",
"Show Admin Details in Account Pending Overlay": "Vis administratordetaljer i ventende kontovisning",
"Show Loaded Model indicator in model selector": "",
"Show shortcuts": "Vis snarveier",
"Show your support!": "Vis din støtte!",
"Showcased creativity": "Fremhevet kreativitet",

View File

@ -843,6 +843,7 @@
"Show": "Toon",
"Show \"What's New\" modal on login": "Toon \"Wat is nieuw\" bij inloggen",
"Show Admin Details in Account Pending Overlay": "Admin-details weergeven in overlay in afwachting van account",
"Show Loaded Model indicator in model selector": "",
"Show shortcuts": "Toon snelkoppelingen",
"Show your support!": "Toon je steun",
"Showcased creativity": "Toonde creativiteit",

View File

@ -843,6 +843,7 @@
"Show": "ਦਿਖਾਓ",
"Show \"What's New\" modal on login": "",
"Show Admin Details in Account Pending Overlay": "",
"Show Loaded Model indicator in model selector": "",
"Show shortcuts": "ਸ਼ਾਰਟਕਟ ਦਿਖਾਓ",
"Show your support!": "",
"Showcased creativity": "ਸਿਰਜਣਾਤਮਕਤਾ ਦਿਖਾਈ",

View File

@ -843,6 +843,7 @@
"Show": "Pokaż",
"Show \"What's New\" modal on login": "",
"Show Admin Details in Account Pending Overlay": "",
"Show Loaded Model indicator in model selector": "",
"Show shortcuts": "Pokaż skróty",
"Show your support!": "",
"Showcased creativity": "Pokaz kreatywności",

View File

@ -843,6 +843,7 @@
"Show": "Mostrar",
"Show \"What's New\" modal on login": "Mostrar \"O que há de Novo\" no login",
"Show Admin Details in Account Pending Overlay": "Mostrar Detalhes do Administrador na Sobreposição de Conta Pendentes",
"Show Loaded Model indicator in model selector": "",
"Show shortcuts": "Mostrar atalhos",
"Show your support!": "Mostre seu apoio!",
"Showcased creativity": "Criatividade exibida",

View File

@ -843,6 +843,7 @@
"Show": "Mostrar",
"Show \"What's New\" modal on login": "",
"Show Admin Details in Account Pending Overlay": "Mostrar Detalhes do Administrador na sobreposição de Conta Pendente",
"Show Loaded Model indicator in model selector": "",
"Show shortcuts": "Mostrar atalhos",
"Show your support!": "",
"Showcased creativity": "Criatividade Exibida",

View File

@ -843,6 +843,7 @@
"Show": "Afișează",
"Show \"What's New\" modal on login": "",
"Show Admin Details in Account Pending Overlay": "Afișează Detaliile Administratorului în Suprapunerea Contului În Așteptare",
"Show Loaded Model indicator in model selector": "",
"Show shortcuts": "Afișează scurtături",
"Show your support!": "Arată-ți susținerea!",
"Showcased creativity": "Creativitate expusă",

View File

@ -843,6 +843,7 @@
"Show": "Показать",
"Show \"What's New\" modal on login": "Показывать окно «Что нового» при входе в систему",
"Show Admin Details in Account Pending Overlay": "Показывать данные администратора в оверлее ожидающей учетной записи",
"Show Loaded Model indicator in model selector": "",
"Show shortcuts": "Показать горячие клавиши",
"Show your support!": "Поддержите нас!",
"Showcased creativity": "Продемонстрирован творческий подход",

View File

@ -843,6 +843,7 @@
"Show": "Zobraziť",
"Show \"What's New\" modal on login": "",
"Show Admin Details in Account Pending Overlay": "Zobraziť podrobnosti administrátora v prekryvnom okne s čakajúcim účtom",
"Show Loaded Model indicator in model selector": "",
"Show shortcuts": "Zobraziť klávesové skratky",
"Show your support!": "Vyjadrite svoju podporu!",
"Showcased creativity": "Predvedená kreativita",

View File

@ -843,6 +843,7 @@
"Show": "Прикажи",
"Show \"What's New\" modal on login": "",
"Show Admin Details in Account Pending Overlay": "",
"Show Loaded Model indicator in model selector": "",
"Show shortcuts": "Прикажи пречице",
"Show your support!": "",
"Showcased creativity": "Приказана креативност",

View File

@ -843,6 +843,7 @@
"Show": "Visa",
"Show \"What's New\" modal on login": "",
"Show Admin Details in Account Pending Overlay": "Visa administratörsinformation till väntande konton",
"Show Loaded Model indicator in model selector": "",
"Show shortcuts": "Visa genvägar",
"Show your support!": "",
"Showcased creativity": "Visade kreativitet",

View File

@ -843,6 +843,7 @@
"Show": "แสดง",
"Show \"What's New\" modal on login": "",
"Show Admin Details in Account Pending Overlay": "แสดงรายละเอียดผู้ดูแลระบบในหน้าจอรอการอนุมัติบัญชี",
"Show Loaded Model indicator in model selector": "",
"Show shortcuts": "แสดงทางลัด",
"Show your support!": "แสดงการสนับสนุนของคุณ!",
"Showcased creativity": "แสดงความคิดสร้างสรรค์",

View File

@ -843,6 +843,7 @@
"Show": "",
"Show \"What's New\" modal on login": "",
"Show Admin Details in Account Pending Overlay": "",
"Show Loaded Model indicator in model selector": "",
"Show shortcuts": "",
"Show your support!": "",
"Showcased creativity": "",

View File

@ -843,6 +843,7 @@
"Show": "Göster",
"Show \"What's New\" modal on login": "",
"Show Admin Details in Account Pending Overlay": "Yönetici Ayrıntılarını Hesap Bekliyor Ekranında Göster",
"Show Loaded Model indicator in model selector": "",
"Show shortcuts": "Kısayolları göster",
"Show your support!": "Desteğinizi gösterin!",
"Showcased creativity": "Sergilenen yaratıcılık",

View File

@ -843,6 +843,7 @@
"Show": "Показати",
"Show \"What's New\" modal on login": "Показати модальне вікно \"Що нового\" під час входу.",
"Show Admin Details in Account Pending Overlay": "Відобразити дані адміна у вікні очікування облікового запису",
"Show Loaded Model indicator in model selector": "",
"Show shortcuts": "Показати клавіатурні скорочення",
"Show your support!": "Підтримайте нас!",
"Showcased creativity": "Продемонстрований креатив",

View File

@ -843,6 +843,7 @@
"Show": "دکھائیں",
"Show \"What's New\" modal on login": "",
"Show Admin Details in Account Pending Overlay": "اکاؤنٹ پینڈنگ اوورلے میں ایڈمن کی تفصیلات دکھائیں",
"Show Loaded Model indicator in model selector": "",
"Show shortcuts": "شارٹ کٹ دکھائیں",
"Show your support!": "اپنی حمایت دکھائیں!",
"Showcased creativity": "نمائش شدہ تخلیقی صلاحیتیں",

View File

@ -843,6 +843,7 @@
"Show": "Hiển thị",
"Show \"What's New\" modal on login": "",
"Show Admin Details in Account Pending Overlay": "Hiển thị thông tin của Quản trị viên trên màn hình hiển thị Tài khoản đang chờ xử lý",
"Show Loaded Model indicator in model selector": "",
"Show shortcuts": "Hiển thị phím tắt",
"Show your support!": "Thể hiện sự ủng hộ của bạn!",
"Showcased creativity": "Thể hiện sự sáng tạo",

View File

@ -843,6 +843,7 @@
"Show": "显示",
"Show \"What's New\" modal on login": "在登录时显示“更新内容”弹窗",
"Show Admin Details in Account Pending Overlay": "在用户待激活界面中显示管理员邮箱等详细信息",
"Show Loaded Model indicator in model selector": "",
"Show shortcuts": "显示快捷方式",
"Show your support!": "表达你的支持!",
"Showcased creativity": "很有创意",

View File

@ -843,6 +843,7 @@
"Show": "顯示",
"Show \"What's New\" modal on login": "登入時顯示「新功能」對話框",
"Show Admin Details in Account Pending Overlay": "在帳號待審覆蓋層中顯示管理員詳細資訊",
"Show Loaded Model indicator in model selector": "",
"Show shortcuts": "顯示快捷鍵",
"Show your support!": "表達您的支持!",
"Showcased creativity": "展現創意",