Explorar o código

fix: document selector

Timothy J. Baek hai 11 meses
pai
achega
d6520e7fd8
Modificáronse 38 ficheiros con 141 adicións e 61 borrados
  1. 67 61
      src/lib/components/workspace/Models/Knowledge/Selector.svelte
  2. 2 0
      src/lib/i18n/locales/ar-BH/translation.json
  3. 2 0
      src/lib/i18n/locales/bg-BG/translation.json
  4. 2 0
      src/lib/i18n/locales/bn-BD/translation.json
  5. 2 0
      src/lib/i18n/locales/ca-ES/translation.json
  6. 2 0
      src/lib/i18n/locales/ceb-PH/translation.json
  7. 2 0
      src/lib/i18n/locales/de-DE/translation.json
  8. 2 0
      src/lib/i18n/locales/dg-DG/translation.json
  9. 2 0
      src/lib/i18n/locales/en-GB/translation.json
  10. 2 0
      src/lib/i18n/locales/en-US/translation.json
  11. 2 0
      src/lib/i18n/locales/es-ES/translation.json
  12. 2 0
      src/lib/i18n/locales/fa-IR/translation.json
  13. 2 0
      src/lib/i18n/locales/fi-FI/translation.json
  14. 2 0
      src/lib/i18n/locales/fr-CA/translation.json
  15. 2 0
      src/lib/i18n/locales/fr-FR/translation.json
  16. 2 0
      src/lib/i18n/locales/he-IL/translation.json
  17. 2 0
      src/lib/i18n/locales/hi-IN/translation.json
  18. 2 0
      src/lib/i18n/locales/hr-HR/translation.json
  19. 2 0
      src/lib/i18n/locales/it-IT/translation.json
  20. 2 0
      src/lib/i18n/locales/ja-JP/translation.json
  21. 2 0
      src/lib/i18n/locales/ka-GE/translation.json
  22. 2 0
      src/lib/i18n/locales/ko-KR/translation.json
  23. 2 0
      src/lib/i18n/locales/lt-LT/translation.json
  24. 2 0
      src/lib/i18n/locales/nb-NO/translation.json
  25. 2 0
      src/lib/i18n/locales/nl-NL/translation.json
  26. 2 0
      src/lib/i18n/locales/pa-IN/translation.json
  27. 2 0
      src/lib/i18n/locales/pl-PL/translation.json
  28. 2 0
      src/lib/i18n/locales/pt-BR/translation.json
  29. 2 0
      src/lib/i18n/locales/pt-PT/translation.json
  30. 2 0
      src/lib/i18n/locales/ru-RU/translation.json
  31. 2 0
      src/lib/i18n/locales/sr-RS/translation.json
  32. 2 0
      src/lib/i18n/locales/sv-SE/translation.json
  33. 2 0
      src/lib/i18n/locales/tk-TW/translation.json
  34. 2 0
      src/lib/i18n/locales/tr-TR/translation.json
  35. 2 0
      src/lib/i18n/locales/uk-UA/translation.json
  36. 2 0
      src/lib/i18n/locales/vi-VN/translation.json
  37. 2 0
      src/lib/i18n/locales/zh-CN/translation.json
  38. 2 0
      src/lib/i18n/locales/zh-TW/translation.json

+ 67 - 61
src/lib/components/workspace/Models/Knowledge/Selector.svelte

@@ -58,74 +58,80 @@
 			class="w-full max-w-[300px]  rounded-lg px-1 py-1.5 border border-gray-300/30 dark:border-gray-700/50 z-50 bg-white dark:bg-gray-850 dark:text-white shadow-lg"
 			sideOffset={8}
 			side="bottom"
-			align="end"
+			align="start"
 			transition={flyAndScale}
 		>
 			<div class="max-h-[10rem] overflow-y-scroll">
-				{#each items as item}
-					<DropdownMenu.Item
-						class="flex gap-2.5 items-center px-3 py-2 text-sm  cursor-pointer hover:bg-gray-50 dark:hover:bg-gray-800 rounded-md"
-						on:click={() => {
-							if (!knowledge.find((k) => k.name === item.name)) {
-								knowledge = [
-									...knowledge,
-									{
-										...item,
-										type: item?.type ?? 'doc'
-									}
-								];
-							}
-						}}
-					>
-						<div class="flex self-start">
-							{#if (item?.type ?? 'doc') === 'doc'}
-								<svg
-									xmlns="http://www.w3.org/2000/svg"
-									viewBox="0 0 24 24"
-									fill="currentColor"
-									class="w-4"
-								>
-									<path
-										fill-rule="evenodd"
-										d="M5.625 1.5c-1.036 0-1.875.84-1.875 1.875v17.25c0 1.035.84 1.875 1.875 1.875h12.75c1.035 0 1.875-.84 1.875-1.875V12.75A3.75 3.75 0 0 0 16.5 9h-1.875a1.875 1.875 0 0 1-1.875-1.875V5.25A3.75 3.75 0 0 0 9 1.5H5.625ZM7.5 15a.75.75 0 0 1 .75-.75h7.5a.75.75 0 0 1 0 1.5h-7.5A.75.75 0 0 1 7.5 15Zm.75 2.25a.75.75 0 0 0 0 1.5H12a.75.75 0 0 0 0-1.5H8.25Z"
-										clip-rule="evenodd"
-									/>
-									<path
-										d="M12.971 1.816A5.23 5.23 0 0 1 14.25 5.25v1.875c0 .207.168.375.375.375H16.5a5.23 5.23 0 0 1 3.434 1.279 9.768 9.768 0 0 0-6.963-6.963Z"
-									/>
-								</svg>
-							{:else if item.type === 'collection'}
-								<svg
-									xmlns="http://www.w3.org/2000/svg"
-									viewBox="0 0 24 24"
-									fill="currentColor"
-									class="size-4"
-								>
-									<path
-										d="M7.5 3.375c0-1.036.84-1.875 1.875-1.875h.375a3.75 3.75 0 0 1 3.75 3.75v1.875C13.5 8.161 14.34 9 15.375 9h1.875A3.75 3.75 0 0 1 21 12.75v3.375C21 17.16 20.16 18 19.125 18h-9.75A1.875 1.875 0 0 1 7.5 16.125V3.375Z"
-									/>
-									<path
-										d="M15 5.25a5.23 5.23 0 0 0-1.279-3.434 9.768 9.768 0 0 1 6.963 6.963A5.23 5.23 0 0 0 17.25 7.5h-1.875A.375.375 0 0 1 15 7.125V5.25ZM4.875 6H6v10.125A3.375 3.375 0 0 0 9.375 19.5H16.5v1.125c0 1.035-.84 1.875-1.875 1.875h-9.75A1.875 1.875 0 0 1 3 20.625V7.875C3 6.839 3.84 6 4.875 6Z"
-									/>
-								</svg>
-							{/if}
-						</div>
+				{#if items.length === 0}
+					<div class="text-center text-sm text-gray-500 dark:text-gray-400">
+						{$i18n.t('No documents found')}
+					</div>
+				{:else}
+					{#each items as item}
+						<DropdownMenu.Item
+							class="flex gap-2.5 items-center px-3 py-2 text-sm  cursor-pointer hover:bg-gray-50 dark:hover:bg-gray-800 rounded-md"
+							on:click={() => {
+								if (!knowledge.find((k) => k.name === item.name)) {
+									knowledge = [
+										...knowledge,
+										{
+											...item,
+											type: item?.type ?? 'doc'
+										}
+									];
+								}
+							}}
+						>
+							<div class="flex self-start">
+								{#if (item?.type ?? 'doc') === 'doc'}
+									<svg
+										xmlns="http://www.w3.org/2000/svg"
+										viewBox="0 0 24 24"
+										fill="currentColor"
+										class="w-4"
+									>
+										<path
+											fill-rule="evenodd"
+											d="M5.625 1.5c-1.036 0-1.875.84-1.875 1.875v17.25c0 1.035.84 1.875 1.875 1.875h12.75c1.035 0 1.875-.84 1.875-1.875V12.75A3.75 3.75 0 0 0 16.5 9h-1.875a1.875 1.875 0 0 1-1.875-1.875V5.25A3.75 3.75 0 0 0 9 1.5H5.625ZM7.5 15a.75.75 0 0 1 .75-.75h7.5a.75.75 0 0 1 0 1.5h-7.5A.75.75 0 0 1 7.5 15Zm.75 2.25a.75.75 0 0 0 0 1.5H12a.75.75 0 0 0 0-1.5H8.25Z"
+											clip-rule="evenodd"
+										/>
+										<path
+											d="M12.971 1.816A5.23 5.23 0 0 1 14.25 5.25v1.875c0 .207.168.375.375.375H16.5a5.23 5.23 0 0 1 3.434 1.279 9.768 9.768 0 0 0-6.963-6.963Z"
+										/>
+									</svg>
+								{:else if item.type === 'collection'}
+									<svg
+										xmlns="http://www.w3.org/2000/svg"
+										viewBox="0 0 24 24"
+										fill="currentColor"
+										class="size-4"
+									>
+										<path
+											d="M7.5 3.375c0-1.036.84-1.875 1.875-1.875h.375a3.75 3.75 0 0 1 3.75 3.75v1.875C13.5 8.161 14.34 9 15.375 9h1.875A3.75 3.75 0 0 1 21 12.75v3.375C21 17.16 20.16 18 19.125 18h-9.75A1.875 1.875 0 0 1 7.5 16.125V3.375Z"
+										/>
+										<path
+											d="M15 5.25a5.23 5.23 0 0 0-1.279-3.434 9.768 9.768 0 0 1 6.963 6.963A5.23 5.23 0 0 0 17.25 7.5h-1.875A.375.375 0 0 1 15 7.125V5.25ZM4.875 6H6v10.125A3.375 3.375 0 0 0 9.375 19.5H16.5v1.125c0 1.035-.84 1.875-1.875 1.875h-9.75A1.875 1.875 0 0 1 3 20.625V7.875C3 6.839 3.84 6 4.875 6Z"
+										/>
+									</svg>
+								{/if}
+							</div>
 
-						<div class="flex items-center">
-							<div class="flex flex-col">
-								<div
-									class=" w-fit text-xs font-black px-1 rounded uppercase line-clamp-1 bg-gray-500/20 text-gray-700 dark:text-gray-200"
-								>
-									{item?.type ?? 'Document'}
-								</div>
+							<div class="flex items-center">
+								<div class="flex flex-col">
+									<div
+										class=" w-fit text-xs font-black px-1 rounded uppercase line-clamp-1 bg-gray-500/20 text-gray-700 dark:text-gray-200"
+									>
+										{item?.type ?? 'Document'}
+									</div>
 
-								<div class="line-clamp-1 font-medium pr-0.5">
-									{item.name}
+									<div class="line-clamp-1 font-medium pr-0.5">
+										{item.name}
+									</div>
 								</div>
 							</div>
-						</div>
-					</DropdownMenu.Item>
-				{/each}
+						</DropdownMenu.Item>
+					{/each}
+				{/if}
 			</div>
 		</DropdownMenu.Content>
 	</div>

+ 2 - 0
src/lib/i18n/locales/ar-BH/translation.json

@@ -74,6 +74,7 @@
 	"Bypass SSL verification for Websites": "تجاوز التحقق من SSL للموقع",
 	"Call": "",
 	"Call feature is not supported when using Web STT engine": "",
+	"Camera": "",
 	"Cancel": "اللغاء",
 	"Capabilities": "قدرات",
 	"Change Password": "تغير الباسورد",
@@ -318,6 +319,7 @@
 	"Name your model": "قم بتسمية النموذج الخاص بك",
 	"New Chat": "دردشة جديدة",
 	"New Password": "كلمة المرور الجديدة",
+	"No documents found": "",
 	"No results found": "لا توجد نتايج",
 	"No search query generated": "لم يتم إنشاء استعلام بحث",
 	"No source available": "لا يوجد مصدر متاح",

+ 2 - 0
src/lib/i18n/locales/bg-BG/translation.json

@@ -74,6 +74,7 @@
 	"Bypass SSL verification for Websites": "Изключване на SSL проверката за сайтове",
 	"Call": "",
 	"Call feature is not supported when using Web STT engine": "",
+	"Camera": "",
 	"Cancel": "Отказ",
 	"Capabilities": "Възможности",
 	"Change Password": "Промяна на Парола",
@@ -318,6 +319,7 @@
 	"Name your model": "Дайте име на вашия модел",
 	"New Chat": "Нов чат",
 	"New Password": "Нова парола",
+	"No documents found": "",
 	"No results found": "Няма намерени резултати",
 	"No search query generated": "Не е генерирана заявка за търсене",
 	"No source available": "Няма наличен източник",

+ 2 - 0
src/lib/i18n/locales/bn-BD/translation.json

@@ -74,6 +74,7 @@
 	"Bypass SSL verification for Websites": "ওয়েবসাইটের জন্য SSL যাচাই বাতিল করুন",
 	"Call": "",
 	"Call feature is not supported when using Web STT engine": "",
+	"Camera": "",
 	"Cancel": "বাতিল",
 	"Capabilities": "সক্ষমতা",
 	"Change Password": "পাসওয়ার্ড পরিবর্তন করুন",
@@ -318,6 +319,7 @@
 	"Name your model": "আপনার মডেলের নাম দিন",
 	"New Chat": "নতুন চ্যাট",
 	"New Password": "নতুন পাসওয়ার্ড",
+	"No documents found": "",
 	"No results found": "কোন ফলাফল পাওয়া যায়নি",
 	"No search query generated": "কোনও অনুসন্ধান ক্যোয়ারী উত্পন্ন হয়নি",
 	"No source available": "কোন উৎস পাওয়া যায়নি",

+ 2 - 0
src/lib/i18n/locales/ca-ES/translation.json

@@ -74,6 +74,7 @@
 	"Bypass SSL verification for Websites": "Desactivar la verificació SSL per a l'accés a l'Internet",
 	"Call": "",
 	"Call feature is not supported when using Web STT engine": "",
+	"Camera": "",
 	"Cancel": "Cancel·la",
 	"Capabilities": "Capacitats",
 	"Change Password": "Canvia la Contrasenya",
@@ -318,6 +319,7 @@
 	"Name your model": "Posa un nom al model",
 	"New Chat": "Xat Nou",
 	"New Password": "Nova Contrasenya",
+	"No documents found": "",
 	"No results found": "No s'han trobat resultats",
 	"No search query generated": "No es genera cap consulta de cerca",
 	"No source available": "Sense font disponible",

+ 2 - 0
src/lib/i18n/locales/ceb-PH/translation.json

@@ -74,6 +74,7 @@
 	"Bypass SSL verification for Websites": "",
 	"Call": "",
 	"Call feature is not supported when using Web STT engine": "",
+	"Camera": "",
 	"Cancel": "Pagkanselar",
 	"Capabilities": "",
 	"Change Password": "Usba ang password",
@@ -318,6 +319,7 @@
 	"Name your model": "",
 	"New Chat": "Bag-ong diskusyon",
 	"New Password": "Bag-ong Password",
+	"No documents found": "",
 	"No results found": "",
 	"No search query generated": "",
 	"No source available": "Walay tinubdan nga anaa",

+ 2 - 0
src/lib/i18n/locales/de-DE/translation.json

@@ -74,6 +74,7 @@
 	"Bypass SSL verification for Websites": "Bypass SSL-Verifizierung für Websites",
 	"Call": "",
 	"Call feature is not supported when using Web STT engine": "",
+	"Camera": "",
 	"Cancel": "Abbrechen",
 	"Capabilities": "Fähigkeiten",
 	"Change Password": "Passwort ändern",
@@ -318,6 +319,7 @@
 	"Name your model": "Benennen Sie Ihr Modell",
 	"New Chat": "Neuer Chat",
 	"New Password": "Neues Passwort",
+	"No documents found": "",
 	"No results found": "Keine Ergebnisse gefunden",
 	"No search query generated": "Keine Suchanfrage generiert",
 	"No source available": "Keine Quelle verfügbar.",

+ 2 - 0
src/lib/i18n/locales/dg-DG/translation.json

@@ -74,6 +74,7 @@
 	"Bypass SSL verification for Websites": "",
 	"Call": "",
 	"Call feature is not supported when using Web STT engine": "",
+	"Camera": "",
 	"Cancel": "Cancel",
 	"Capabilities": "",
 	"Change Password": "Change Password",
@@ -318,6 +319,7 @@
 	"Name your model": "",
 	"New Chat": "New Bark",
 	"New Password": "New Barkword",
+	"No documents found": "",
 	"No results found": "",
 	"No search query generated": "",
 	"No source available": "No source available",

+ 2 - 0
src/lib/i18n/locales/en-GB/translation.json

@@ -74,6 +74,7 @@
 	"Bypass SSL verification for Websites": "",
 	"Call": "",
 	"Call feature is not supported when using Web STT engine": "",
+	"Camera": "",
 	"Cancel": "",
 	"Capabilities": "",
 	"Change Password": "",
@@ -318,6 +319,7 @@
 	"Name your model": "",
 	"New Chat": "",
 	"New Password": "",
+	"No documents found": "",
 	"No results found": "",
 	"No search query generated": "",
 	"No source available": "",

+ 2 - 0
src/lib/i18n/locales/en-US/translation.json

@@ -74,6 +74,7 @@
 	"Bypass SSL verification for Websites": "",
 	"Call": "",
 	"Call feature is not supported when using Web STT engine": "",
+	"Camera": "",
 	"Cancel": "",
 	"Capabilities": "",
 	"Change Password": "",
@@ -318,6 +319,7 @@
 	"Name your model": "",
 	"New Chat": "",
 	"New Password": "",
+	"No documents found": "",
 	"No results found": "",
 	"No search query generated": "",
 	"No source available": "",

+ 2 - 0
src/lib/i18n/locales/es-ES/translation.json

@@ -74,6 +74,7 @@
 	"Bypass SSL verification for Websites": "Desactivar la verificación SSL para sitios web",
 	"Call": "",
 	"Call feature is not supported when using Web STT engine": "",
+	"Camera": "",
 	"Cancel": "Cancelar",
 	"Capabilities": "Capacidades",
 	"Change Password": "Cambia la Contraseña",
@@ -318,6 +319,7 @@
 	"Name your model": "Asigne un nombre a su modelo",
 	"New Chat": "Nuevo Chat",
 	"New Password": "Nueva Contraseña",
+	"No documents found": "",
 	"No results found": "No se han encontrado resultados",
 	"No search query generated": "No se ha generado ninguna consulta de búsqueda",
 	"No source available": "No hay fuente disponible",

+ 2 - 0
src/lib/i18n/locales/fa-IR/translation.json

@@ -74,6 +74,7 @@
 	"Bypass SSL verification for Websites": "عبور از تأیید SSL برای وب سایت ها",
 	"Call": "",
 	"Call feature is not supported when using Web STT engine": "",
+	"Camera": "",
 	"Cancel": "لغو",
 	"Capabilities": "قابلیت",
 	"Change Password": "تغییر رمز عبور",
@@ -318,6 +319,7 @@
 	"Name your model": "نام مدل خود را",
 	"New Chat": "گپ جدید",
 	"New Password": "رمز عبور جدید",
+	"No documents found": "",
 	"No results found": "نتیجه\u200cای یافت نشد",
 	"No search query generated": "پرسوجوی جستجویی ایجاد نشده است",
 	"No source available": "منبعی در دسترس نیست",

+ 2 - 0
src/lib/i18n/locales/fi-FI/translation.json

@@ -74,6 +74,7 @@
 	"Bypass SSL verification for Websites": "Ohita SSL-varmennus verkkosivustoille",
 	"Call": "",
 	"Call feature is not supported when using Web STT engine": "",
+	"Camera": "",
 	"Cancel": "Peruuta",
 	"Capabilities": "Ominaisuuksia",
 	"Change Password": "Vaihda salasana",
@@ -318,6 +319,7 @@
 	"Name your model": "Mallin nimeäminen",
 	"New Chat": "Uusi keskustelu",
 	"New Password": "Uusi salasana",
+	"No documents found": "",
 	"No results found": "Ei tuloksia",
 	"No search query generated": "Hakukyselyä ei luotu",
 	"No source available": "Ei lähdettä saatavilla",

+ 2 - 0
src/lib/i18n/locales/fr-CA/translation.json

@@ -74,6 +74,7 @@
 	"Bypass SSL verification for Websites": "Parcourir la vérification SSL pour les sites Web",
 	"Call": "",
 	"Call feature is not supported when using Web STT engine": "",
+	"Camera": "",
 	"Cancel": "Annuler",
 	"Capabilities": "Capacités",
 	"Change Password": "Changer le mot de passe",
@@ -318,6 +319,7 @@
 	"Name your model": "Nommez votre modèle",
 	"New Chat": "Nouvelle discussion",
 	"New Password": "Nouveau mot de passe",
+	"No documents found": "",
 	"No results found": "Aucun résultat trouvé",
 	"No search query generated": "Aucune requête de recherche générée",
 	"No source available": "Aucune source disponible",

+ 2 - 0
src/lib/i18n/locales/fr-FR/translation.json

@@ -74,6 +74,7 @@
 	"Bypass SSL verification for Websites": "Contourner la vérification SSL pour les sites Web.",
 	"Call": "",
 	"Call feature is not supported when using Web STT engine": "",
+	"Camera": "",
 	"Cancel": "Annuler",
 	"Capabilities": "Capacités",
 	"Change Password": "Changer le mot de passe",
@@ -318,6 +319,7 @@
 	"Name your model": "Nommez votre modèle",
 	"New Chat": "Nouveau chat",
 	"New Password": "Nouveau mot de passe",
+	"No documents found": "",
 	"No results found": "Aucun résultat",
 	"No search query generated": "Aucune requête de recherche générée",
 	"No source available": "Aucune source disponible",

+ 2 - 0
src/lib/i18n/locales/he-IL/translation.json

@@ -74,6 +74,7 @@
 	"Bypass SSL verification for Websites": "עקוף אימות SSL עבור אתרים",
 	"Call": "",
 	"Call feature is not supported when using Web STT engine": "",
+	"Camera": "",
 	"Cancel": "בטל",
 	"Capabilities": "יכולות",
 	"Change Password": "שנה סיסמה",
@@ -318,6 +319,7 @@
 	"Name your model": "תן שם לדגם שלך",
 	"New Chat": "צ'אט חדש",
 	"New Password": "סיסמה חדשה",
+	"No documents found": "",
 	"No results found": "לא נמצאו תוצאות",
 	"No search query generated": "לא נוצרה שאילתת חיפוש",
 	"No source available": "אין מקור זמין",

+ 2 - 0
src/lib/i18n/locales/hi-IN/translation.json

@@ -74,6 +74,7 @@
 	"Bypass SSL verification for Websites": "वेबसाइटों के लिए SSL सुनिश्चिती को छोड़ें",
 	"Call": "",
 	"Call feature is not supported when using Web STT engine": "",
+	"Camera": "",
 	"Cancel": "रद्द करें",
 	"Capabilities": "क्षमताओं",
 	"Change Password": "पासवर्ड बदलें",
@@ -318,6 +319,7 @@
 	"Name your model": "अपने मॉडल को नाम दें",
 	"New Chat": "नई चैट",
 	"New Password": "नया पासवर्ड",
+	"No documents found": "",
 	"No results found": "कोई परिणाम नहीं मिला",
 	"No search query generated": "कोई खोज क्वेरी जनरेट नहीं हुई",
 	"No source available": "कोई स्रोत उपलब्ध नहीं है",

+ 2 - 0
src/lib/i18n/locales/hr-HR/translation.json

@@ -74,6 +74,7 @@
 	"Bypass SSL verification for Websites": "Zaobiđi SSL provjeru za web stranice",
 	"Call": "",
 	"Call feature is not supported when using Web STT engine": "",
+	"Camera": "",
 	"Cancel": "Otkaži",
 	"Capabilities": "Mogućnosti",
 	"Change Password": "Promijeni lozinku",
@@ -318,6 +319,7 @@
 	"Name your model": "Dodijelite naziv modelu",
 	"New Chat": "Novi razgovor",
 	"New Password": "Nova lozinka",
+	"No documents found": "",
 	"No results found": "Nema rezultata",
 	"No search query generated": "Nije generiran upit za pretraživanje",
 	"No source available": "Nema dostupnog izvora",

+ 2 - 0
src/lib/i18n/locales/it-IT/translation.json

@@ -74,6 +74,7 @@
 	"Bypass SSL verification for Websites": "Aggira la verifica SSL per i siti web",
 	"Call": "",
 	"Call feature is not supported when using Web STT engine": "",
+	"Camera": "",
 	"Cancel": "Annulla",
 	"Capabilities": "Funzionalità",
 	"Change Password": "Cambia password",
@@ -318,6 +319,7 @@
 	"Name your model": "Assegna un nome al tuo modello",
 	"New Chat": "Nuova chat",
 	"New Password": "Nuova password",
+	"No documents found": "",
 	"No results found": "Nessun risultato trovato",
 	"No search query generated": "Nessuna query di ricerca generata",
 	"No source available": "Nessuna fonte disponibile",

+ 2 - 0
src/lib/i18n/locales/ja-JP/translation.json

@@ -74,6 +74,7 @@
 	"Bypass SSL verification for Websites": "SSL 検証をバイパスする",
 	"Call": "",
 	"Call feature is not supported when using Web STT engine": "",
+	"Camera": "",
 	"Cancel": "キャンセル",
 	"Capabilities": "資格",
 	"Change Password": "パスワードを変更",
@@ -318,6 +319,7 @@
 	"Name your model": "モデルに名前を付ける",
 	"New Chat": "新しいチャット",
 	"New Password": "新しいパスワード",
+	"No documents found": "",
 	"No results found": "結果が見つかりません",
 	"No search query generated": "検索クエリは生成されません",
 	"No source available": "使用可能なソースがありません",

+ 2 - 0
src/lib/i18n/locales/ka-GE/translation.json

@@ -74,6 +74,7 @@
 	"Bypass SSL verification for Websites": "SSL-ის ვერიფიკაციის გააუქმება ვებსაიტებზე",
 	"Call": "",
 	"Call feature is not supported when using Web STT engine": "",
+	"Camera": "",
 	"Cancel": "გაუქმება",
 	"Capabilities": "შესაძლებლობები",
 	"Change Password": "პაროლის შეცვლა",
@@ -318,6 +319,7 @@
 	"Name your model": "დაასახელეთ თქვენი მოდელი",
 	"New Chat": "ახალი მიმოწერა",
 	"New Password": "ახალი პაროლი",
+	"No documents found": "",
 	"No results found": "ჩვენ ვერ პოულობით ნაპოვნი ჩაწერები",
 	"No search query generated": "ძიების მოთხოვნა არ არის გენერირებული",
 	"No source available": "წყარო არ არის ხელმისაწვდომი",

+ 2 - 0
src/lib/i18n/locales/ko-KR/translation.json

@@ -74,6 +74,7 @@
 	"Bypass SSL verification for Websites": "SSL 검증을 무시하려면 웹 사이트를 선택하세요.",
 	"Call": "",
 	"Call feature is not supported when using Web STT engine": "",
+	"Camera": "",
 	"Cancel": "취소",
 	"Capabilities": "기능",
 	"Change Password": "비밀번호 변경",
@@ -318,6 +319,7 @@
 	"Name your model": "모델 이름 지정",
 	"New Chat": "새 채팅",
 	"New Password": "새 비밀번호",
+	"No documents found": "",
 	"No results found": "결과 없음",
 	"No search query generated": "검색어가 생성되지 않았습니다.",
 	"No source available": "사용 가능한 소스 없음",

+ 2 - 0
src/lib/i18n/locales/lt-LT/translation.json

@@ -74,6 +74,7 @@
 	"Bypass SSL verification for Websites": "Išvengti SSL patikros puslapiams",
 	"Call": "",
 	"Call feature is not supported when using Web STT engine": "",
+	"Camera": "",
 	"Cancel": "Atšaukti",
 	"Capabilities": "",
 	"Change Password": "Keisti slaptažodį",
@@ -318,6 +319,7 @@
 	"Name your model": "",
 	"New Chat": "Naujas pokalbis",
 	"New Password": "Naujas slaptažodis",
+	"No documents found": "",
 	"No results found": "Rezultatų nerasta",
 	"No search query generated": "",
 	"No source available": "Šaltinių nerasta",

+ 2 - 0
src/lib/i18n/locales/nb-NO/translation.json

@@ -74,6 +74,7 @@
 	"Bypass SSL verification for Websites": "Omgå SSL-verifisering for nettsteder",
 	"Call": "",
 	"Call feature is not supported when using Web STT engine": "",
+	"Camera": "",
 	"Cancel": "Avbryt",
 	"Capabilities": "Muligheter",
 	"Change Password": "Endre passord",
@@ -318,6 +319,7 @@
 	"Name your model": "Gi modellen din et navn",
 	"New Chat": "Ny chat",
 	"New Password": "Nytt passord",
+	"No documents found": "",
 	"No results found": "Ingen resultater funnet",
 	"No search query generated": "Ingen søkeforespørsel generert",
 	"No source available": "Ingen kilde tilgjengelig",

+ 2 - 0
src/lib/i18n/locales/nl-NL/translation.json

@@ -74,6 +74,7 @@
 	"Bypass SSL verification for Websites": "SSL-verificatie omzeilen voor websites",
 	"Call": "",
 	"Call feature is not supported when using Web STT engine": "",
+	"Camera": "",
 	"Cancel": "Annuleren",
 	"Capabilities": "Mogelijkheden",
 	"Change Password": "Wijzig Wachtwoord",
@@ -318,6 +319,7 @@
 	"Name your model": "Geef uw model een naam",
 	"New Chat": "Nieuwe Chat",
 	"New Password": "Nieuw Wachtwoord",
+	"No documents found": "",
 	"No results found": "Geen resultaten gevonden",
 	"No search query generated": "Geen zoekopdracht gegenereerd",
 	"No source available": "Geen bron beschikbaar",

+ 2 - 0
src/lib/i18n/locales/pa-IN/translation.json

@@ -74,6 +74,7 @@
 	"Bypass SSL verification for Websites": "ਵੈਬਸਾਈਟਾਂ ਲਈ SSL ਪ੍ਰਮਾਣਿਕਤਾ ਨੂੰ ਬਾਈਪਾਸ ਕਰੋ",
 	"Call": "",
 	"Call feature is not supported when using Web STT engine": "",
+	"Camera": "",
 	"Cancel": "ਰੱਦ ਕਰੋ",
 	"Capabilities": "ਸਮਰੱਥਾਵਾਂ",
 	"Change Password": "ਪਾਸਵਰਡ ਬਦਲੋ",
@@ -318,6 +319,7 @@
 	"Name your model": "ਆਪਣੇ ਮਾਡਲ ਦਾ ਨਾਮ ਦੱਸੋ",
 	"New Chat": "ਨਵੀਂ ਗੱਲਬਾਤ",
 	"New Password": "ਨਵਾਂ ਪਾਸਵਰਡ",
+	"No documents found": "",
 	"No results found": "ਕੋਈ ਨਤੀਜੇ ਨਹੀਂ ਮਿਲੇ",
 	"No search query generated": "ਕੋਈ ਖੋਜ ਪੁੱਛਗਿੱਛ ਤਿਆਰ ਨਹੀਂ ਕੀਤੀ ਗਈ",
 	"No source available": "ਕੋਈ ਸਰੋਤ ਉਪਲਬਧ ਨਹੀਂ",

+ 2 - 0
src/lib/i18n/locales/pl-PL/translation.json

@@ -74,6 +74,7 @@
 	"Bypass SSL verification for Websites": "Pomiń weryfikację SSL dla stron webowych",
 	"Call": "",
 	"Call feature is not supported when using Web STT engine": "",
+	"Camera": "",
 	"Cancel": "Anuluj",
 	"Capabilities": "Możliwości",
 	"Change Password": "Zmień hasło",
@@ -318,6 +319,7 @@
 	"Name your model": "Nazwij swój model",
 	"New Chat": "Nowy czat",
 	"New Password": "Nowe hasło",
+	"No documents found": "",
 	"No results found": "Nie znaleziono rezultatów",
 	"No search query generated": "Nie wygenerowano zapytania wyszukiwania",
 	"No source available": "Źródło nie dostępne",

+ 2 - 0
src/lib/i18n/locales/pt-BR/translation.json

@@ -74,6 +74,7 @@
 	"Bypass SSL verification for Websites": "Ignorar verificação SSL para sites",
 	"Call": "",
 	"Call feature is not supported when using Web STT engine": "",
+	"Camera": "",
 	"Cancel": "Cancelar",
 	"Capabilities": "Capacidades",
 	"Change Password": "Alterar Senha",
@@ -318,6 +319,7 @@
 	"Name your model": "Nomeie seu modelo",
 	"New Chat": "Novo Bate-papo",
 	"New Password": "Nova Senha",
+	"No documents found": "",
 	"No results found": "Nenhum resultado encontrado",
 	"No search query generated": "Nenhuma consulta de pesquisa gerada",
 	"No source available": "Nenhuma fonte disponível",

+ 2 - 0
src/lib/i18n/locales/pt-PT/translation.json

@@ -74,6 +74,7 @@
 	"Bypass SSL verification for Websites": "Ignorar verificação SSL para sites",
 	"Call": "",
 	"Call feature is not supported when using Web STT engine": "",
+	"Camera": "",
 	"Cancel": "Cancelar",
 	"Capabilities": "Capacidades",
 	"Change Password": "Alterar Senha",
@@ -318,6 +319,7 @@
 	"Name your model": "Atribua um nome ao seu modelo",
 	"New Chat": "Novo Bate-papo",
 	"New Password": "Nova Senha",
+	"No documents found": "",
 	"No results found": "Nenhum resultado encontrado",
 	"No search query generated": "Nenhuma consulta de pesquisa gerada",
 	"No source available": "Nenhuma fonte disponível",

+ 2 - 0
src/lib/i18n/locales/ru-RU/translation.json

@@ -74,6 +74,7 @@
 	"Bypass SSL verification for Websites": "Обход SSL-проверки для веб-сайтов",
 	"Call": "",
 	"Call feature is not supported when using Web STT engine": "",
+	"Camera": "",
 	"Cancel": "Аннулировать",
 	"Capabilities": "Возможности",
 	"Change Password": "Изменить пароль",
@@ -318,6 +319,7 @@
 	"Name your model": "Присвойте модели имя",
 	"New Chat": "Новый чат",
 	"New Password": "Новый пароль",
+	"No documents found": "",
 	"No results found": "Результатов не найдено",
 	"No search query generated": "Поисковый запрос не сгенерирован",
 	"No source available": "Нет доступных источников",

+ 2 - 0
src/lib/i18n/locales/sr-RS/translation.json

@@ -74,6 +74,7 @@
 	"Bypass SSL verification for Websites": "Заобиђи SSL потврђивање за веб странице",
 	"Call": "",
 	"Call feature is not supported when using Web STT engine": "",
+	"Camera": "",
 	"Cancel": "Откажи",
 	"Capabilities": "Могућности",
 	"Change Password": "Промени лозинку",
@@ -318,6 +319,7 @@
 	"Name your model": "Наведи свој модел",
 	"New Chat": "Ново ћаскање",
 	"New Password": "Нова лозинка",
+	"No documents found": "",
 	"No results found": "Нема резултата",
 	"No search query generated": "Није генерисан упит за претрагу",
 	"No source available": "Нема доступног извора",

+ 2 - 0
src/lib/i18n/locales/sv-SE/translation.json

@@ -74,6 +74,7 @@
 	"Bypass SSL verification for Websites": "Kringgå SSL-verifiering för webbplatser",
 	"Call": "",
 	"Call feature is not supported when using Web STT engine": "",
+	"Camera": "",
 	"Cancel": "Avbryt",
 	"Capabilities": "Kapacitet",
 	"Change Password": "Ändra lösenord",
@@ -318,6 +319,7 @@
 	"Name your model": "Namnge din modell",
 	"New Chat": "Ny chatt",
 	"New Password": "Nytt lösenord",
+	"No documents found": "",
 	"No results found": "Inga resultat hittades",
 	"No search query generated": "Ingen sökfråga genererad",
 	"No source available": "Ingen tilgjengelig kilde",

+ 2 - 0
src/lib/i18n/locales/tk-TW/translation.json

@@ -74,6 +74,7 @@
 	"Bypass SSL verification for Websites": "",
 	"Call": "",
 	"Call feature is not supported when using Web STT engine": "",
+	"Camera": "",
 	"Cancel": "",
 	"Capabilities": "",
 	"Change Password": "",
@@ -318,6 +319,7 @@
 	"Name your model": "",
 	"New Chat": "",
 	"New Password": "",
+	"No documents found": "",
 	"No results found": "",
 	"No search query generated": "",
 	"No source available": "",

+ 2 - 0
src/lib/i18n/locales/tr-TR/translation.json

@@ -74,6 +74,7 @@
 	"Bypass SSL verification for Websites": "Web Siteleri için SSL doğrulamasını atlayın",
 	"Call": "",
 	"Call feature is not supported when using Web STT engine": "",
+	"Camera": "",
 	"Cancel": "İptal",
 	"Capabilities": "Yetenekler",
 	"Change Password": "Parola Değiştir",
@@ -318,6 +319,7 @@
 	"Name your model": "Modelinizi Adlandırın",
 	"New Chat": "Yeni Sohbet",
 	"New Password": "Yeni Parola",
+	"No documents found": "",
 	"No results found": "Sonuç bulunamadı",
 	"No search query generated": "Hiç arama sorgusu oluşturulmadı",
 	"No source available": "Kaynak mevcut değil",

+ 2 - 0
src/lib/i18n/locales/uk-UA/translation.json

@@ -74,6 +74,7 @@
 	"Bypass SSL verification for Websites": "Обхід SSL-перевірки для веб-сайтів",
 	"Call": "Виклик",
 	"Call feature is not supported when using Web STT engine": "Функція виклику не підтримується при використанні Web STT (розпізнавання мовлення) рушія",
+	"Camera": "",
 	"Cancel": "Скасувати",
 	"Capabilities": "Можливості",
 	"Change Password": "Змінити пароль",
@@ -318,6 +319,7 @@
 	"Name your model": "Назвіть свою модель",
 	"New Chat": "Новий чат",
 	"New Password": "Новий пароль",
+	"No documents found": "",
 	"No results found": "Не знайдено жодного результату",
 	"No search query generated": "Пошуковий запит не сформовано",
 	"No source available": "Джерело не доступне",

+ 2 - 0
src/lib/i18n/locales/vi-VN/translation.json

@@ -74,6 +74,7 @@
 	"Bypass SSL verification for Websites": "Bỏ qua xác thực SSL cho các trang web",
 	"Call": "",
 	"Call feature is not supported when using Web STT engine": "",
+	"Camera": "",
 	"Cancel": "Hủy bỏ",
 	"Capabilities": "Năng lực",
 	"Change Password": "Đổi Mật khẩu",
@@ -318,6 +319,7 @@
 	"Name your model": "Tên model",
 	"New Chat": "Tạo chat mới",
 	"New Password": "Mật khẩu mới",
+	"No documents found": "",
 	"No results found": "Không tìm thấy kết quả",
 	"No search query generated": "Không có truy vấn tìm kiếm nào được tạo ra",
 	"No source available": "Không có nguồn",

+ 2 - 0
src/lib/i18n/locales/zh-CN/translation.json

@@ -74,6 +74,7 @@
 	"Bypass SSL verification for Websites": "绕过网站的 SSL 验证",
 	"Call": "呼叫",
 	"Call feature is not supported when using Web STT engine": "使用 Web 语音转文字引擎时不支持呼叫功能。",
+	"Camera": "",
 	"Cancel": "取消",
 	"Capabilities": "能力",
 	"Change Password": "更改密码",
@@ -318,6 +319,7 @@
 	"Name your model": "为您的模型命名",
 	"New Chat": "新对话",
 	"New Password": "新密码",
+	"No documents found": "",
 	"No results found": "未找到结果",
 	"No search query generated": "未生成搜索查询",
 	"No source available": "没有可用来源",

+ 2 - 0
src/lib/i18n/locales/zh-TW/translation.json

@@ -74,6 +74,7 @@
 	"Bypass SSL verification for Websites": "跳過 SSL 驗證",
 	"Call": "",
 	"Call feature is not supported when using Web STT engine": "",
+	"Camera": "",
 	"Cancel": "取消",
 	"Capabilities": "功能",
 	"Change Password": "修改密碼",
@@ -318,6 +319,7 @@
 	"Name your model": "請輸入模型名稱",
 	"New Chat": "新增聊天",
 	"New Password": "新密碼",
+	"No documents found": "",
 	"No results found": "沒有找到結果",
 	"No search query generated": "沒有生成搜索查詢",
 	"No source available": "沒有可用的來源",