diff --git a/CHANGELOG.md b/CHANGELOG.md index 2b6ec226e..927454962 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,23 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.4.3] - 2024-11-21 + +### Added + +- **📚 Inline Citations for RAG Results**: Get seamless inline citations for Retrieval-Augmented Generation (RAG) responses using the default RAG prompt. Note: This feature only supports newly uploaded files, improving traceability and providing source clarity. +- **🎨 Better Rich Text Input Support**: Enjoy smoother and more reliable rich text formatting for chats, enhancing communication quality. +- **⚡ Faster Model Retrieval**: Implemented caching optimizations for faster model loading, providing a noticeable speed boost across workflows. Further improvements are on the way! + +### Fixed + +- **🔗 Pipelines Feature Restored**: Resolved a critical issue that previously prevented Pipelines from functioning, ensuring seamless workflows. +- **✏️ Missing Suffix Field in Ollama Form**: Added the missing "suffix" field to the Ollama generate form, enhancing customization options. + +### Changed + +- **🗂️ Renamed "Citations" to "Sources"**: Improved clarity and consistency by renaming the "citations" field to "sources" in messages. + ## [0.4.2] - 2024-11-20 ### Fixed diff --git a/src/lib/i18n/locales/ar-BH/translation.json b/src/lib/i18n/locales/ar-BH/translation.json index b972fa825..7c13f0bfc 100644 --- a/src/lib/i18n/locales/ar-BH/translation.json +++ b/src/lib/i18n/locales/ar-BH/translation.json @@ -329,6 +329,7 @@ "Enter language codes": "أدخل كود اللغة", "Enter Model ID": "", "Enter model tag (e.g. {{modelTag}})": "(e.g. {{modelTag}}) أدخل الموديل تاق", + "Enter Mojeek Search API Key": "", "Enter Number of Steps (e.g. 50)": "(e.g. 50) أدخل عدد الخطوات", "Enter Sampler (e.g. Euler a)": "", "Enter Scheduler (e.g. Karras)": "", @@ -569,6 +570,7 @@ "Modelfile Content": "محتوى الملف النموذجي", "Models": "الموديلات", "Models Access": "", + "Mojeek Search API Key": "", "more": "", "More": "المزيد", "Name": "الأسم", diff --git a/src/lib/i18n/locales/bg-BG/translation.json b/src/lib/i18n/locales/bg-BG/translation.json index d9aeee6d1..4103a40e8 100644 --- a/src/lib/i18n/locales/bg-BG/translation.json +++ b/src/lib/i18n/locales/bg-BG/translation.json @@ -329,6 +329,7 @@ "Enter language codes": "Въведете кодове на езика", "Enter Model ID": "", "Enter model tag (e.g. {{modelTag}})": "Въведете таг на модел (напр. {{modelTag}})", + "Enter Mojeek Search API Key": "", "Enter Number of Steps (e.g. 50)": "Въведете брой стъпки (напр. 50)", "Enter Sampler (e.g. Euler a)": "", "Enter Scheduler (e.g. Karras)": "", @@ -569,6 +570,7 @@ "Modelfile Content": "Съдържание на модфайл", "Models": "Модели", "Models Access": "", + "Mojeek Search API Key": "", "more": "", "More": "Повече", "Name": "Име", diff --git a/src/lib/i18n/locales/bn-BD/translation.json b/src/lib/i18n/locales/bn-BD/translation.json index 098c0fc71..5fdcaa07e 100644 --- a/src/lib/i18n/locales/bn-BD/translation.json +++ b/src/lib/i18n/locales/bn-BD/translation.json @@ -329,6 +329,7 @@ "Enter language codes": "ল্যাঙ্গুয়েজ কোড লিখুন", "Enter Model ID": "", "Enter model tag (e.g. {{modelTag}})": "মডেল ট্যাগ লিখুন (e.g. {{modelTag}})", + "Enter Mojeek Search API Key": "", "Enter Number of Steps (e.g. 50)": "ধাপের সংখ্যা দিন (যেমন: 50)", "Enter Sampler (e.g. Euler a)": "", "Enter Scheduler (e.g. Karras)": "", @@ -569,6 +570,7 @@ "Modelfile Content": "মডেলফাইল কনটেন্ট", "Models": "মডেলসমূহ", "Models Access": "", + "Mojeek Search API Key": "", "more": "", "More": "আরো", "Name": "নাম", diff --git a/src/lib/i18n/locales/ca-ES/translation.json b/src/lib/i18n/locales/ca-ES/translation.json index 2412108d6..afa90f38f 100644 --- a/src/lib/i18n/locales/ca-ES/translation.json +++ b/src/lib/i18n/locales/ca-ES/translation.json @@ -329,6 +329,7 @@ "Enter language codes": "Introdueix els codis de llenguatge", "Enter Model ID": "Introdueix l'identificador del model", "Enter model tag (e.g. {{modelTag}})": "Introdueix l'etiqueta del model (p. ex. {{modelTag}})", + "Enter Mojeek Search API Key": "", "Enter Number of Steps (e.g. 50)": "Introdueix el nombre de passos (p. ex. 50)", "Enter Sampler (e.g. Euler a)": "Introdueix el mostrejador (p.ex. Euler a)", "Enter Scheduler (e.g. Karras)": "Entra el programador (p.ex. Karras)", @@ -569,6 +570,7 @@ "Modelfile Content": "Contingut del Modelfile", "Models": "Models", "Models Access": "", + "Mojeek Search API Key": "", "more": "més", "More": "Més", "Name": "Nom", diff --git a/src/lib/i18n/locales/ceb-PH/translation.json b/src/lib/i18n/locales/ceb-PH/translation.json index e80fddcdf..957003ced 100644 --- a/src/lib/i18n/locales/ceb-PH/translation.json +++ b/src/lib/i18n/locales/ceb-PH/translation.json @@ -329,6 +329,7 @@ "Enter language codes": "", "Enter Model ID": "", "Enter model tag (e.g. {{modelTag}})": "Pagsulod sa template tag (e.g. {{modelTag}})", + "Enter Mojeek Search API Key": "", "Enter Number of Steps (e.g. 50)": "Pagsulod sa gidaghanon sa mga lakang (e.g. 50)", "Enter Sampler (e.g. Euler a)": "", "Enter Scheduler (e.g. Karras)": "", @@ -569,6 +570,7 @@ "Modelfile Content": "Mga sulod sa template file", "Models": "Mga modelo", "Models Access": "", + "Mojeek Search API Key": "", "more": "", "More": "", "Name": "Ngalan", diff --git a/src/lib/i18n/locales/cs-CZ/translation.json b/src/lib/i18n/locales/cs-CZ/translation.json index 289e109d9..a85db7253 100644 --- a/src/lib/i18n/locales/cs-CZ/translation.json +++ b/src/lib/i18n/locales/cs-CZ/translation.json @@ -329,6 +329,7 @@ "Enter language codes": "Zadejte kódy jazyků", "Enter Model ID": "Zadejte ID modelu", "Enter model tag (e.g. {{modelTag}})": "Zadejte označení modelu (např. {{modelTag}})", + "Enter Mojeek Search API Key": "", "Enter Number of Steps (e.g. 50)": "Zadejte počet kroků (např. 50)", "Enter Sampler (e.g. Euler a)": "Zadejte vzorkovač (např. Euler a)", "Enter Scheduler (e.g. Karras)": "Zadejte plánovač (např. Karras)", @@ -569,6 +570,7 @@ "Modelfile Content": "Obsah souboru modelfile", "Models": "Modely", "Models Access": "", + "Mojeek Search API Key": "", "more": "více", "More": "Více", "Name": "Jméno", diff --git a/src/lib/i18n/locales/da-DK/translation.json b/src/lib/i18n/locales/da-DK/translation.json index d988ad914..0b078062e 100644 --- a/src/lib/i18n/locales/da-DK/translation.json +++ b/src/lib/i18n/locales/da-DK/translation.json @@ -329,6 +329,7 @@ "Enter language codes": "Indtast sprogkoder", "Enter Model ID": "Indtast model-ID", "Enter model tag (e.g. {{modelTag}})": "Indtast modelmærke (f.eks. {{modelTag}})", + "Enter Mojeek Search API Key": "", "Enter Number of Steps (e.g. 50)": "Indtast antal trin (f.eks. 50)", "Enter Sampler (e.g. Euler a)": "Indtast sampler (f.eks. Euler a)", "Enter Scheduler (e.g. Karras)": "Indtast scheduler (f.eks. Karras)", @@ -569,6 +570,7 @@ "Modelfile Content": "Modelfilindhold", "Models": "Modeller", "Models Access": "", + "Mojeek Search API Key": "", "more": "", "More": "Mere", "Name": "Navn", diff --git a/src/lib/i18n/locales/de-DE/translation.json b/src/lib/i18n/locales/de-DE/translation.json index 5a83f396c..ebf9c3e19 100644 --- a/src/lib/i18n/locales/de-DE/translation.json +++ b/src/lib/i18n/locales/de-DE/translation.json @@ -329,6 +329,7 @@ "Enter language codes": "Geben Sie die Sprachcodes ein", "Enter Model ID": "Geben Sie die Modell-ID ein", "Enter model tag (e.g. {{modelTag}})": "Gebn Sie den Model-Tag ein", + "Enter Mojeek Search API Key": "", "Enter Number of Steps (e.g. 50)": "Geben Sie die Anzahl an Schritten ein (z. B. 50)", "Enter Sampler (e.g. Euler a)": "Geben Sie den Sampler ein (z. B. Euler a)", "Enter Scheduler (e.g. Karras)": "Geben Sie den Scheduler ein (z. B. Karras)", @@ -569,6 +570,7 @@ "Modelfile Content": "Modelfile-Inhalt", "Models": "Modelle", "Models Access": "", + "Mojeek Search API Key": "", "more": "mehr", "More": "Mehr", "Name": "Name", diff --git a/src/lib/i18n/locales/dg-DG/translation.json b/src/lib/i18n/locales/dg-DG/translation.json index 851c82f1f..4213db9bd 100644 --- a/src/lib/i18n/locales/dg-DG/translation.json +++ b/src/lib/i18n/locales/dg-DG/translation.json @@ -329,6 +329,7 @@ "Enter language codes": "", "Enter Model ID": "", "Enter model tag (e.g. {{modelTag}})": "Enter model doge tag (e.g. {{modelTag}})", + "Enter Mojeek Search API Key": "", "Enter Number of Steps (e.g. 50)": "Enter Number of Steps (e.g. 50)", "Enter Sampler (e.g. Euler a)": "", "Enter Scheduler (e.g. Karras)": "", @@ -569,6 +570,7 @@ "Modelfile Content": "Modelfile Content", "Models": "Wowdels", "Models Access": "", + "Mojeek Search API Key": "", "more": "", "More": "", "Name": "Name", diff --git a/src/lib/i18n/locales/en-GB/translation.json b/src/lib/i18n/locales/en-GB/translation.json index fab637d2d..892461173 100644 --- a/src/lib/i18n/locales/en-GB/translation.json +++ b/src/lib/i18n/locales/en-GB/translation.json @@ -329,6 +329,7 @@ "Enter language codes": "", "Enter Model ID": "", "Enter model tag (e.g. {{modelTag}})": "", + "Enter Mojeek Search API Key": "", "Enter Number of Steps (e.g. 50)": "", "Enter Sampler (e.g. Euler a)": "", "Enter Scheduler (e.g. Karras)": "", @@ -569,6 +570,7 @@ "Modelfile Content": "", "Models": "", "Models Access": "", + "Mojeek Search API Key": "", "more": "", "More": "", "Name": "", diff --git a/src/lib/i18n/locales/en-US/translation.json b/src/lib/i18n/locales/en-US/translation.json index fab637d2d..892461173 100644 --- a/src/lib/i18n/locales/en-US/translation.json +++ b/src/lib/i18n/locales/en-US/translation.json @@ -329,6 +329,7 @@ "Enter language codes": "", "Enter Model ID": "", "Enter model tag (e.g. {{modelTag}})": "", + "Enter Mojeek Search API Key": "", "Enter Number of Steps (e.g. 50)": "", "Enter Sampler (e.g. Euler a)": "", "Enter Scheduler (e.g. Karras)": "", @@ -569,6 +570,7 @@ "Modelfile Content": "", "Models": "", "Models Access": "", + "Mojeek Search API Key": "", "more": "", "More": "", "Name": "", diff --git a/src/lib/i18n/locales/es-ES/translation.json b/src/lib/i18n/locales/es-ES/translation.json index b7051b504..0ae406b4d 100644 --- a/src/lib/i18n/locales/es-ES/translation.json +++ b/src/lib/i18n/locales/es-ES/translation.json @@ -329,6 +329,7 @@ "Enter language codes": "Ingrese códigos de idioma", "Enter Model ID": "Ingresa el ID del modelo", "Enter model tag (e.g. {{modelTag}})": "Ingrese la etiqueta del modelo (p.ej. {{modelTag}})", + "Enter Mojeek Search API Key": "", "Enter Number of Steps (e.g. 50)": "Ingrese el número de pasos (p.ej., 50)", "Enter Sampler (e.g. Euler a)": "Ingrese el sampler (p.ej., Euler a)", "Enter Scheduler (e.g. Karras)": "Ingrese el planificador (p.ej., Karras)", @@ -569,6 +570,7 @@ "Modelfile Content": "Contenido del Modelfile", "Models": "Modelos", "Models Access": "", + "Mojeek Search API Key": "", "more": "", "More": "Más", "Name": "Nombre", diff --git a/src/lib/i18n/locales/fa-IR/translation.json b/src/lib/i18n/locales/fa-IR/translation.json index d45a393ff..f965ce8a3 100644 --- a/src/lib/i18n/locales/fa-IR/translation.json +++ b/src/lib/i18n/locales/fa-IR/translation.json @@ -329,6 +329,7 @@ "Enter language codes": "کد زبان را وارد کنید", "Enter Model ID": "", "Enter model tag (e.g. {{modelTag}})": "تگ مدل را وارد کنید (مثلا {{modelTag}})", + "Enter Mojeek Search API Key": "", "Enter Number of Steps (e.g. 50)": "تعداد گام ها را وارد کنید (مثال: 50)", "Enter Sampler (e.g. Euler a)": "", "Enter Scheduler (e.g. Karras)": "", @@ -569,6 +570,7 @@ "Modelfile Content": "محتویات فایل مدل", "Models": "مدل\u200cها", "Models Access": "", + "Mojeek Search API Key": "", "more": "", "More": "بیشتر", "Name": "نام", diff --git a/src/lib/i18n/locales/fi-FI/translation.json b/src/lib/i18n/locales/fi-FI/translation.json index 0b899594c..0b8f86d76 100644 --- a/src/lib/i18n/locales/fi-FI/translation.json +++ b/src/lib/i18n/locales/fi-FI/translation.json @@ -329,6 +329,7 @@ "Enter language codes": "Syötä kielikoodit", "Enter Model ID": "", "Enter model tag (e.g. {{modelTag}})": "Syötä mallitagi (esim. {{modelTag}})", + "Enter Mojeek Search API Key": "", "Enter Number of Steps (e.g. 50)": "Syötä askelien määrä (esim. 50)", "Enter Sampler (e.g. Euler a)": "", "Enter Scheduler (e.g. Karras)": "", @@ -569,6 +570,7 @@ "Modelfile Content": "Mallitiedoston sisältö", "Models": "Mallit", "Models Access": "", + "Mojeek Search API Key": "", "more": "", "More": "Lisää", "Name": "Nimi", diff --git a/src/lib/i18n/locales/fr-CA/translation.json b/src/lib/i18n/locales/fr-CA/translation.json index 28e5666c2..4e4411304 100644 --- a/src/lib/i18n/locales/fr-CA/translation.json +++ b/src/lib/i18n/locales/fr-CA/translation.json @@ -329,6 +329,7 @@ "Enter language codes": "Entrez les codes de langue", "Enter Model ID": "", "Enter model tag (e.g. {{modelTag}})": "Entrez l'étiquette du modèle (par ex. {{modelTag}})", + "Enter Mojeek Search API Key": "", "Enter Number of Steps (e.g. 50)": "Entrez le nombre de pas (par ex. 50)", "Enter Sampler (e.g. Euler a)": "", "Enter Scheduler (e.g. Karras)": "", @@ -569,6 +570,7 @@ "Modelfile Content": "Contenu du Fichier de Modèle", "Models": "Modèles", "Models Access": "", + "Mojeek Search API Key": "", "more": "", "More": "Plus de", "Name": "Nom", diff --git a/src/lib/i18n/locales/fr-FR/translation.json b/src/lib/i18n/locales/fr-FR/translation.json index 4a6d99d93..418985ebc 100644 --- a/src/lib/i18n/locales/fr-FR/translation.json +++ b/src/lib/i18n/locales/fr-FR/translation.json @@ -329,6 +329,7 @@ "Enter language codes": "Entrez les codes de langue", "Enter Model ID": "Entrez l'ID du modèle", "Enter model tag (e.g. {{modelTag}})": "Entrez le tag du modèle (par ex. {{modelTag}})", + "Enter Mojeek Search API Key": "", "Enter Number of Steps (e.g. 50)": "Entrez le nombre d'étapes (par ex. 50)", "Enter Sampler (e.g. Euler a)": "Entrez le sampler (par ex. Euler a)", "Enter Scheduler (e.g. Karras)": "Entrez le planificateur (par ex. Karras)", @@ -569,6 +570,7 @@ "Modelfile Content": "Contenu du Fichier de Modèle", "Models": "Modèles", "Models Access": "", + "Mojeek Search API Key": "", "more": "plus", "More": "Plus", "Name": "Nom d'utilisateur", diff --git a/src/lib/i18n/locales/he-IL/translation.json b/src/lib/i18n/locales/he-IL/translation.json index 22a3311ad..35ebe9370 100644 --- a/src/lib/i18n/locales/he-IL/translation.json +++ b/src/lib/i18n/locales/he-IL/translation.json @@ -329,6 +329,7 @@ "Enter language codes": "הזן קודי שפה", "Enter Model ID": "", "Enter model tag (e.g. {{modelTag}})": "הזן תג מודל (למשל {{modelTag}})", + "Enter Mojeek Search API Key": "", "Enter Number of Steps (e.g. 50)": "הזן מספר שלבים (למשל 50)", "Enter Sampler (e.g. Euler a)": "", "Enter Scheduler (e.g. Karras)": "", @@ -569,6 +570,7 @@ "Modelfile Content": "תוכן קובץ מודל", "Models": "מודלים", "Models Access": "", + "Mojeek Search API Key": "", "more": "", "More": "עוד", "Name": "שם", diff --git a/src/lib/i18n/locales/hi-IN/translation.json b/src/lib/i18n/locales/hi-IN/translation.json index 178c971b3..b583d43c3 100644 --- a/src/lib/i18n/locales/hi-IN/translation.json +++ b/src/lib/i18n/locales/hi-IN/translation.json @@ -329,6 +329,7 @@ "Enter language codes": "भाषा कोड दर्ज करें", "Enter Model ID": "", "Enter model tag (e.g. {{modelTag}})": "Model tag दर्ज करें (उदा. {{modelTag}})", + "Enter Mojeek Search API Key": "", "Enter Number of Steps (e.g. 50)": "चरणों की संख्या दर्ज करें (उदा. 50)", "Enter Sampler (e.g. Euler a)": "", "Enter Scheduler (e.g. Karras)": "", @@ -569,6 +570,7 @@ "Modelfile Content": "मॉडल फ़ाइल सामग्री", "Models": "सभी मॉडल", "Models Access": "", + "Mojeek Search API Key": "", "more": "", "More": "और..", "Name": "नाम", diff --git a/src/lib/i18n/locales/hr-HR/translation.json b/src/lib/i18n/locales/hr-HR/translation.json index 6a0969ce1..877255f39 100644 --- a/src/lib/i18n/locales/hr-HR/translation.json +++ b/src/lib/i18n/locales/hr-HR/translation.json @@ -329,6 +329,7 @@ "Enter language codes": "Unesite kodove jezika", "Enter Model ID": "", "Enter model tag (e.g. {{modelTag}})": "Unesite oznaku modela (npr. {{modelTag}})", + "Enter Mojeek Search API Key": "", "Enter Number of Steps (e.g. 50)": "Unesite broj koraka (npr. 50)", "Enter Sampler (e.g. Euler a)": "", "Enter Scheduler (e.g. Karras)": "", @@ -569,6 +570,7 @@ "Modelfile Content": "Sadržaj datoteke modela", "Models": "Modeli", "Models Access": "", + "Mojeek Search API Key": "", "more": "", "More": "Više", "Name": "Ime", diff --git a/src/lib/i18n/locales/hu-HU/translation.json b/src/lib/i18n/locales/hu-HU/translation.json index cd82d0278..8fdaf6c51 100644 --- a/src/lib/i18n/locales/hu-HU/translation.json +++ b/src/lib/i18n/locales/hu-HU/translation.json @@ -329,6 +329,7 @@ "Enter language codes": "Add meg a nyelvi kódokat", "Enter Model ID": "Add meg a modell azonosítót", "Enter model tag (e.g. {{modelTag}})": "Add meg a modell címkét (pl. {{modelTag}})", + "Enter Mojeek Search API Key": "", "Enter Number of Steps (e.g. 50)": "Add meg a lépések számát (pl. 50)", "Enter Sampler (e.g. Euler a)": "Add meg a mintavételezőt (pl. Euler a)", "Enter Scheduler (e.g. Karras)": "Add meg az ütemezőt (pl. Karras)", @@ -569,6 +570,7 @@ "Modelfile Content": "Modellfájl tartalom", "Models": "Modellek", "Models Access": "", + "Mojeek Search API Key": "", "more": "több", "More": "Több", "Name": "Név", diff --git a/src/lib/i18n/locales/id-ID/translation.json b/src/lib/i18n/locales/id-ID/translation.json index 5c78031a4..9aadc832a 100644 --- a/src/lib/i18n/locales/id-ID/translation.json +++ b/src/lib/i18n/locales/id-ID/translation.json @@ -329,6 +329,7 @@ "Enter language codes": "Masukkan kode bahasa", "Enter Model ID": "", "Enter model tag (e.g. {{modelTag}})": "Masukkan tag model (misalnya {{modelTag}})", + "Enter Mojeek Search API Key": "", "Enter Number of Steps (e.g. 50)": "Masukkan Jumlah Langkah (mis. 50)", "Enter Sampler (e.g. Euler a)": "", "Enter Scheduler (e.g. Karras)": "", @@ -569,6 +570,7 @@ "Modelfile Content": "Konten File Model", "Models": "Model", "Models Access": "", + "Mojeek Search API Key": "", "more": "", "More": "Lainnya", "Name": "Nama", diff --git a/src/lib/i18n/locales/ie-GA/translation.json b/src/lib/i18n/locales/ie-GA/translation.json index fdc4cc437..6fc712a7c 100644 --- a/src/lib/i18n/locales/ie-GA/translation.json +++ b/src/lib/i18n/locales/ie-GA/translation.json @@ -329,6 +329,7 @@ "Enter language codes": "Cuir isteach cóid teanga", "Enter Model ID": "Iontráil ID Mhúnla", "Enter model tag (e.g. {{modelTag}})": "Cuir isteach chlib samhail (m.sh. {{modelTag}})", + "Enter Mojeek Search API Key": "", "Enter Number of Steps (e.g. 50)": "Iontráil Líon na gCéimeanna (m.sh. 50)", "Enter Sampler (e.g. Euler a)": "Cuir isteach Sampler (m.sh. Euler a)", "Enter Scheduler (e.g. Karras)": "Cuir isteach Sceidealóir (m.sh. Karras)", @@ -569,6 +570,7 @@ "Modelfile Content": "Ábhar Modelfile", "Models": "Múnlaí", "Models Access": "Rochtain Múnlaí", + "Mojeek Search API Key": "", "more": "níos mó", "More": "Tuilleadh", "Name": "Ainm", diff --git a/src/lib/i18n/locales/it-IT/translation.json b/src/lib/i18n/locales/it-IT/translation.json index ea5d497c0..73a246c57 100644 --- a/src/lib/i18n/locales/it-IT/translation.json +++ b/src/lib/i18n/locales/it-IT/translation.json @@ -329,6 +329,7 @@ "Enter language codes": "Inserisci i codici lingua", "Enter Model ID": "", "Enter model tag (e.g. {{modelTag}})": "Inserisci il tag del modello (ad esempio {{modelTag}})", + "Enter Mojeek Search API Key": "", "Enter Number of Steps (e.g. 50)": "Inserisci il numero di passaggi (ad esempio 50)", "Enter Sampler (e.g. Euler a)": "", "Enter Scheduler (e.g. Karras)": "", @@ -569,6 +570,7 @@ "Modelfile Content": "Contenuto del file modello", "Models": "Modelli", "Models Access": "", + "Mojeek Search API Key": "", "more": "", "More": "Altro", "Name": "Nome", diff --git a/src/lib/i18n/locales/ja-JP/translation.json b/src/lib/i18n/locales/ja-JP/translation.json index 2b88a3157..944ecf6cc 100644 --- a/src/lib/i18n/locales/ja-JP/translation.json +++ b/src/lib/i18n/locales/ja-JP/translation.json @@ -329,6 +329,7 @@ "Enter language codes": "言語コードを入力してください", "Enter Model ID": "モデルIDを入力してください。", "Enter model tag (e.g. {{modelTag}})": "モデルタグを入力してください (例: {{modelTag}})", + "Enter Mojeek Search API Key": "", "Enter Number of Steps (e.g. 50)": "ステップ数を入力してください (例: 50)", "Enter Sampler (e.g. Euler a)": "サンプラーを入力してください(e.g. Euler a)。", "Enter Scheduler (e.g. Karras)": "スケジューラーを入力してください。(e.g. Karras)", @@ -569,6 +570,7 @@ "Modelfile Content": "モデルファイルの内容", "Models": "モデル", "Models Access": "", + "Mojeek Search API Key": "", "more": "", "More": "もっと見る", "Name": "名前", diff --git a/src/lib/i18n/locales/ka-GE/translation.json b/src/lib/i18n/locales/ka-GE/translation.json index 62b3d2dec..4ab700ddb 100644 --- a/src/lib/i18n/locales/ka-GE/translation.json +++ b/src/lib/i18n/locales/ka-GE/translation.json @@ -329,6 +329,7 @@ "Enter language codes": "შეიყვანეთ ენის კოდი", "Enter Model ID": "", "Enter model tag (e.g. {{modelTag}})": "შეიყვანეთ მოდელის ტეგი (მაგ. {{modelTag}})", + "Enter Mojeek Search API Key": "", "Enter Number of Steps (e.g. 50)": "შეიყვანეთ ნაბიჯების რაოდენობა (მაგ. 50)", "Enter Sampler (e.g. Euler a)": "", "Enter Scheduler (e.g. Karras)": "", @@ -569,6 +570,7 @@ "Modelfile Content": "მოდელური ფაილის კონტენტი", "Models": "მოდელები", "Models Access": "", + "Mojeek Search API Key": "", "more": "", "More": "ვრცლად", "Name": "სახელი", diff --git a/src/lib/i18n/locales/ko-KR/translation.json b/src/lib/i18n/locales/ko-KR/translation.json index 34e41b10a..d4b4ff7f9 100644 --- a/src/lib/i18n/locales/ko-KR/translation.json +++ b/src/lib/i18n/locales/ko-KR/translation.json @@ -329,6 +329,7 @@ "Enter language codes": "언어 코드 입력", "Enter Model ID": "모델 ID 입력", "Enter model tag (e.g. {{modelTag}})": "모델 태그 입력(예: {{modelTag}})", + "Enter Mojeek Search API Key": "", "Enter Number of Steps (e.g. 50)": "단계 수 입력(예: 50)", "Enter Sampler (e.g. Euler a)": "샘플러 입력 (예: 오일러 a(Euler a))", "Enter Scheduler (e.g. Karras)": "스케쥴러 입력 (예: 카라스(Karras))", @@ -569,6 +570,7 @@ "Modelfile Content": "Modelfile 내용", "Models": "모델", "Models Access": "", + "Mojeek Search API Key": "", "more": "더보기", "More": "더보기", "Name": "이름", diff --git a/src/lib/i18n/locales/lt-LT/translation.json b/src/lib/i18n/locales/lt-LT/translation.json index 123dacbcb..7503df48a 100644 --- a/src/lib/i18n/locales/lt-LT/translation.json +++ b/src/lib/i18n/locales/lt-LT/translation.json @@ -329,6 +329,7 @@ "Enter language codes": "Įveskite kalbos kodus", "Enter Model ID": "", "Enter model tag (e.g. {{modelTag}})": "Įveskite modelio žymą (pvz. {{modelTag}})", + "Enter Mojeek Search API Key": "", "Enter Number of Steps (e.g. 50)": "Įveskite žingsnių kiekį (pvz. 50)", "Enter Sampler (e.g. Euler a)": "", "Enter Scheduler (e.g. Karras)": "", @@ -569,6 +570,7 @@ "Modelfile Content": "Modelio failo turinys", "Models": "Modeliai", "Models Access": "", + "Mojeek Search API Key": "", "more": "", "More": "Daugiau", "Name": "Pavadinimas", diff --git a/src/lib/i18n/locales/ms-MY/translation.json b/src/lib/i18n/locales/ms-MY/translation.json index 1b3a19f85..bf1b49254 100644 --- a/src/lib/i18n/locales/ms-MY/translation.json +++ b/src/lib/i18n/locales/ms-MY/translation.json @@ -329,6 +329,7 @@ "Enter language codes": "Masukkan kod bahasa", "Enter Model ID": "", "Enter model tag (e.g. {{modelTag}})": "Masukkan tag model (cth {{ modelTag }})", + "Enter Mojeek Search API Key": "", "Enter Number of Steps (e.g. 50)": "Masukkan Bilangan Langkah (cth 50)", "Enter Sampler (e.g. Euler a)": "", "Enter Scheduler (e.g. Karras)": "", @@ -569,6 +570,7 @@ "Modelfile Content": "Kandungan Modelfail", "Models": "Model", "Models Access": "", + "Mojeek Search API Key": "", "more": "", "More": "Lagi", "Name": "Nama", diff --git a/src/lib/i18n/locales/nb-NO/translation.json b/src/lib/i18n/locales/nb-NO/translation.json index 0f980c384..9271f4dd4 100644 --- a/src/lib/i18n/locales/nb-NO/translation.json +++ b/src/lib/i18n/locales/nb-NO/translation.json @@ -329,6 +329,7 @@ "Enter language codes": "Angi språkkoder", "Enter Model ID": "Angi modellens ID", "Enter model tag (e.g. {{modelTag}})": "Angi modellens etikett (f.eks. {{modelTag}})", + "Enter Mojeek Search API Key": "", "Enter Number of Steps (e.g. 50)": "Angi antall steg (f.eks. 50)", "Enter Sampler (e.g. Euler a)": "Angi Sampler (e.g. Euler a)", "Enter Scheduler (e.g. Karras)": "Angi Scheduler (f.eks. Karras)", @@ -569,6 +570,7 @@ "Modelfile Content": "Modellfilinnhold", "Models": "Modeller", "Models Access": "", + "Mojeek Search API Key": "", "more": "mer", "More": "Mer", "Name": "Navn", diff --git a/src/lib/i18n/locales/nl-NL/translation.json b/src/lib/i18n/locales/nl-NL/translation.json index 301d7ebdf..1d5dc32b9 100644 --- a/src/lib/i18n/locales/nl-NL/translation.json +++ b/src/lib/i18n/locales/nl-NL/translation.json @@ -329,6 +329,7 @@ "Enter language codes": "Voeg taal codes toe", "Enter Model ID": "Voer model-ID in", "Enter model tag (e.g. {{modelTag}})": "Voeg model tag toe (Bijv. {{modelTag}})", + "Enter Mojeek Search API Key": "", "Enter Number of Steps (e.g. 50)": "Voeg aantal stappen toe (Bijv. 50)", "Enter Sampler (e.g. Euler a)": "Voer Sampler in (bv. Euler a)", "Enter Scheduler (e.g. Karras)": "Voer Scheduler in (bv. Karras)", @@ -569,6 +570,7 @@ "Modelfile Content": "Modelfile Inhoud", "Models": "Modellen", "Models Access": "Modellentoegang", + "Mojeek Search API Key": "", "more": "Meer", "More": "Meer", "Name": "Naam", diff --git a/src/lib/i18n/locales/pa-IN/translation.json b/src/lib/i18n/locales/pa-IN/translation.json index 2e43beba3..93ecac0b2 100644 --- a/src/lib/i18n/locales/pa-IN/translation.json +++ b/src/lib/i18n/locales/pa-IN/translation.json @@ -329,6 +329,7 @@ "Enter language codes": "ਭਾਸ਼ਾ ਕੋਡ ਦਰਜ ਕਰੋ", "Enter Model ID": "", "Enter model tag (e.g. {{modelTag}})": "ਮਾਡਲ ਟੈਗ ਦਰਜ ਕਰੋ (ਉਦਾਹਰਣ ਲਈ {{modelTag}})", + "Enter Mojeek Search API Key": "", "Enter Number of Steps (e.g. 50)": "ਕਦਮਾਂ ਦੀ ਗਿਣਤੀ ਦਰਜ ਕਰੋ (ਉਦਾਹਰਣ ਲਈ 50)", "Enter Sampler (e.g. Euler a)": "", "Enter Scheduler (e.g. Karras)": "", @@ -569,6 +570,7 @@ "Modelfile Content": "ਮਾਡਲਫਾਈਲ ਸਮੱਗਰੀ", "Models": "ਮਾਡਲ", "Models Access": "", + "Mojeek Search API Key": "", "more": "", "More": "ਹੋਰ", "Name": "ਨਾਮ", diff --git a/src/lib/i18n/locales/pl-PL/translation.json b/src/lib/i18n/locales/pl-PL/translation.json index 617626fe2..5f6519629 100644 --- a/src/lib/i18n/locales/pl-PL/translation.json +++ b/src/lib/i18n/locales/pl-PL/translation.json @@ -329,6 +329,7 @@ "Enter language codes": "Wprowadź kody języków", "Enter Model ID": "", "Enter model tag (e.g. {{modelTag}})": "Wprowadź tag modelu (np. {{modelTag}})", + "Enter Mojeek Search API Key": "", "Enter Number of Steps (e.g. 50)": "Wprowadź liczbę kroków (np. 50)", "Enter Sampler (e.g. Euler a)": "", "Enter Scheduler (e.g. Karras)": "", @@ -569,6 +570,7 @@ "Modelfile Content": "Zawartość pliku modelu", "Models": "Modele", "Models Access": "", + "Mojeek Search API Key": "", "more": "", "More": "Więcej", "Name": "Nazwa", diff --git a/src/lib/i18n/locales/pt-BR/translation.json b/src/lib/i18n/locales/pt-BR/translation.json index b9a4826a5..d8dd7b48b 100644 --- a/src/lib/i18n/locales/pt-BR/translation.json +++ b/src/lib/i18n/locales/pt-BR/translation.json @@ -329,6 +329,7 @@ "Enter language codes": "Digite os códigos de idioma", "Enter Model ID": "Digite o ID do modelo", "Enter model tag (e.g. {{modelTag}})": "Digite a tag do modelo (por exemplo, {{modelTag}})", + "Enter Mojeek Search API Key": "", "Enter Number of Steps (e.g. 50)": "Digite o Número de Passos (por exemplo, 50)", "Enter Sampler (e.g. Euler a)": "Digite o Sampler (por exemplo, Euler a)", "Enter Scheduler (e.g. Karras)": "Digite o Agendador (por exemplo, Karras)", @@ -569,6 +570,7 @@ "Modelfile Content": "Conteúdo do Arquivo do Modelo", "Models": "Modelos", "Models Access": "Acesso aos Modelos", + "Mojeek Search API Key": "", "more": "mais", "More": "Mais", "Name": "Nome", diff --git a/src/lib/i18n/locales/pt-PT/translation.json b/src/lib/i18n/locales/pt-PT/translation.json index 0f5626c55..025b458d0 100644 --- a/src/lib/i18n/locales/pt-PT/translation.json +++ b/src/lib/i18n/locales/pt-PT/translation.json @@ -329,6 +329,7 @@ "Enter language codes": "Escreva os códigos de idioma", "Enter Model ID": "", "Enter model tag (e.g. {{modelTag}})": "Escreva a tag do modelo (por exemplo, {{modelTag}})", + "Enter Mojeek Search API Key": "", "Enter Number of Steps (e.g. 50)": "Escreva o Número de Etapas (por exemplo, 50)", "Enter Sampler (e.g. Euler a)": "", "Enter Scheduler (e.g. Karras)": "", @@ -569,6 +570,7 @@ "Modelfile Content": "Conteúdo do Ficheiro do Modelo", "Models": "Modelos", "Models Access": "", + "Mojeek Search API Key": "", "more": "", "More": "Mais", "Name": "Nome", diff --git a/src/lib/i18n/locales/ro-RO/translation.json b/src/lib/i18n/locales/ro-RO/translation.json index 4657f8c73..0fe4d2a86 100644 --- a/src/lib/i18n/locales/ro-RO/translation.json +++ b/src/lib/i18n/locales/ro-RO/translation.json @@ -329,6 +329,7 @@ "Enter language codes": "Introduceți codurile limbilor", "Enter Model ID": "Introdu codul modelului", "Enter model tag (e.g. {{modelTag}})": "Introduceți eticheta modelului (de ex. {{modelTag}})", + "Enter Mojeek Search API Key": "", "Enter Number of Steps (e.g. 50)": "Introduceți Numărul de Pași (de ex. 50)", "Enter Sampler (e.g. Euler a)": "Introduce Sampler (de exemplu, Euler a)", "Enter Scheduler (e.g. Karras)": "Introduceți Programatorul (de exemplu, Karras)", @@ -569,6 +570,7 @@ "Modelfile Content": "Conținutul Fișierului Model", "Models": "Modele", "Models Access": "", + "Mojeek Search API Key": "", "more": "mai mult", "More": "Mai multe", "Name": "Nume", diff --git a/src/lib/i18n/locales/ru-RU/translation.json b/src/lib/i18n/locales/ru-RU/translation.json index f9c898452..39c9e3399 100644 --- a/src/lib/i18n/locales/ru-RU/translation.json +++ b/src/lib/i18n/locales/ru-RU/translation.json @@ -329,6 +329,7 @@ "Enter language codes": "Введите коды языков", "Enter Model ID": "Введите ID модели", "Enter model tag (e.g. {{modelTag}})": "Введите тег модели (например, {{modelTag}})", + "Enter Mojeek Search API Key": "", "Enter Number of Steps (e.g. 50)": "Введите количество шагов (например, 50)", "Enter Sampler (e.g. Euler a)": "Введите сэмплер (например, Euler a)", "Enter Scheduler (e.g. Karras)": "Введите планировщик (например, Karras)", @@ -569,6 +570,7 @@ "Modelfile Content": "Содержимое файла модели", "Models": "Модели", "Models Access": "", + "Mojeek Search API Key": "", "more": "", "More": "Больше", "Name": "Имя", diff --git a/src/lib/i18n/locales/sr-RS/translation.json b/src/lib/i18n/locales/sr-RS/translation.json index 91627f729..3f4a6f0d4 100644 --- a/src/lib/i18n/locales/sr-RS/translation.json +++ b/src/lib/i18n/locales/sr-RS/translation.json @@ -329,6 +329,7 @@ "Enter language codes": "Унесите кодове језика", "Enter Model ID": "", "Enter model tag (e.g. {{modelTag}})": "Унесите ознаку модела (нпр. {{modelTag}})", + "Enter Mojeek Search API Key": "", "Enter Number of Steps (e.g. 50)": "Унесите број корака (нпр. 50)", "Enter Sampler (e.g. Euler a)": "", "Enter Scheduler (e.g. Karras)": "", @@ -569,6 +570,7 @@ "Modelfile Content": "Садржај модел-датотеке", "Models": "Модели", "Models Access": "", + "Mojeek Search API Key": "", "more": "", "More": "Више", "Name": "Име", diff --git a/src/lib/i18n/locales/sv-SE/translation.json b/src/lib/i18n/locales/sv-SE/translation.json index 048850b84..cf9ce4895 100644 --- a/src/lib/i18n/locales/sv-SE/translation.json +++ b/src/lib/i18n/locales/sv-SE/translation.json @@ -329,6 +329,7 @@ "Enter language codes": "Skriv språkkoder", "Enter Model ID": "", "Enter model tag (e.g. {{modelTag}})": "Ange modelltagg (t.ex. {{modelTag}})", + "Enter Mojeek Search API Key": "", "Enter Number of Steps (e.g. 50)": "Ange antal steg (t.ex. 50)", "Enter Sampler (e.g. Euler a)": "", "Enter Scheduler (e.g. Karras)": "", @@ -569,6 +570,7 @@ "Modelfile Content": "Modelfilens innehåll", "Models": "Modeller", "Models Access": "", + "Mojeek Search API Key": "", "more": "", "More": "Mer", "Name": "Namn", diff --git a/src/lib/i18n/locales/th-TH/translation.json b/src/lib/i18n/locales/th-TH/translation.json index e652f513d..6982ab4de 100644 --- a/src/lib/i18n/locales/th-TH/translation.json +++ b/src/lib/i18n/locales/th-TH/translation.json @@ -329,6 +329,7 @@ "Enter language codes": "ใส่รหัสภาษา", "Enter Model ID": "", "Enter model tag (e.g. {{modelTag}})": "ใส่แท็กโมเดล (เช่น {{modelTag}})", + "Enter Mojeek Search API Key": "", "Enter Number of Steps (e.g. 50)": "ใส่จำนวนขั้นตอน (เช่น 50)", "Enter Sampler (e.g. Euler a)": "", "Enter Scheduler (e.g. Karras)": "", @@ -569,6 +570,7 @@ "Modelfile Content": "เนื้อหาของไฟล์โมเดล", "Models": "โมเดล", "Models Access": "", + "Mojeek Search API Key": "", "more": "", "More": "เพิ่มเติม", "Name": "ชื่อ", diff --git a/src/lib/i18n/locales/tk-TW/translation.json b/src/lib/i18n/locales/tk-TW/translation.json index fab637d2d..892461173 100644 --- a/src/lib/i18n/locales/tk-TW/translation.json +++ b/src/lib/i18n/locales/tk-TW/translation.json @@ -329,6 +329,7 @@ "Enter language codes": "", "Enter Model ID": "", "Enter model tag (e.g. {{modelTag}})": "", + "Enter Mojeek Search API Key": "", "Enter Number of Steps (e.g. 50)": "", "Enter Sampler (e.g. Euler a)": "", "Enter Scheduler (e.g. Karras)": "", @@ -569,6 +570,7 @@ "Modelfile Content": "", "Models": "", "Models Access": "", + "Mojeek Search API Key": "", "more": "", "More": "", "Name": "", diff --git a/src/lib/i18n/locales/tr-TR/translation.json b/src/lib/i18n/locales/tr-TR/translation.json index 9d8ba6f97..bb2fc3d8d 100644 --- a/src/lib/i18n/locales/tr-TR/translation.json +++ b/src/lib/i18n/locales/tr-TR/translation.json @@ -329,6 +329,7 @@ "Enter language codes": "Dil kodlarını girin", "Enter Model ID": "Model ID'sini Girin", "Enter model tag (e.g. {{modelTag}})": "Model etiketini girin (örn. {{modelTag}})", + "Enter Mojeek Search API Key": "", "Enter Number of Steps (e.g. 50)": "Adım Sayısını Girin (örn. 50)", "Enter Sampler (e.g. Euler a)": "Örnekleyiciyi Girin (örn. Euler a)", "Enter Scheduler (e.g. Karras)": "Zamanlayıcıyı Girin (örn. Karras)", @@ -569,6 +570,7 @@ "Modelfile Content": "Model Dosyası İçeriği", "Models": "Modeller", "Models Access": "", + "Mojeek Search API Key": "", "more": "", "More": "Daha Fazla", "Name": "Ad", diff --git a/src/lib/i18n/locales/uk-UA/translation.json b/src/lib/i18n/locales/uk-UA/translation.json index 9261747bb..6f84ac37f 100644 --- a/src/lib/i18n/locales/uk-UA/translation.json +++ b/src/lib/i18n/locales/uk-UA/translation.json @@ -329,6 +329,7 @@ "Enter language codes": "Введіть мовні коди", "Enter Model ID": "Введіть ID моделі", "Enter model tag (e.g. {{modelTag}})": "Введіть тег моделі (напр., {{modelTag}})", + "Enter Mojeek Search API Key": "", "Enter Number of Steps (e.g. 50)": "Введіть кількість кроків (напр., 50)", "Enter Sampler (e.g. Euler a)": "Введіть семплер (напр., Euler a)", "Enter Scheduler (e.g. Karras)": "Введіть планувальник (напр., Karras)", @@ -569,6 +570,7 @@ "Modelfile Content": "Вміст файлу моделі", "Models": "Моделі", "Models Access": "", + "Mojeek Search API Key": "", "more": "більше", "More": "Більше", "Name": "Ім'я", diff --git a/src/lib/i18n/locales/ur-PK/translation.json b/src/lib/i18n/locales/ur-PK/translation.json index 1165c0bfe..0639d8df8 100644 --- a/src/lib/i18n/locales/ur-PK/translation.json +++ b/src/lib/i18n/locales/ur-PK/translation.json @@ -329,6 +329,7 @@ "Enter language codes": "زبان کے کوڈ درج کریں", "Enter Model ID": "ماڈل آئی ڈی درج کریں", "Enter model tag (e.g. {{modelTag}})": "ماڈل ٹیگ داخل کریں (مثال کے طور پر {{modelTag}})", + "Enter Mojeek Search API Key": "", "Enter Number of Steps (e.g. 50)": "درج کریں مراحل کی تعداد (جیسے 50)", "Enter Sampler (e.g. Euler a)": "نمونہ درج کریں (مثال: آئلر a)", "Enter Scheduler (e.g. Karras)": "شیڈیولر درج کریں (مثلاً Karras)", @@ -569,6 +570,7 @@ "Modelfile Content": "ماڈل فائل مواد", "Models": "ماڈلز", "Models Access": "", + "Mojeek Search API Key": "", "more": "مزید", "More": "مزید", "Name": "نام", diff --git a/src/lib/i18n/locales/vi-VN/translation.json b/src/lib/i18n/locales/vi-VN/translation.json index b3128fde8..bd9c9b2c0 100644 --- a/src/lib/i18n/locales/vi-VN/translation.json +++ b/src/lib/i18n/locales/vi-VN/translation.json @@ -329,6 +329,7 @@ "Enter language codes": "Nhập mã ngôn ngữ", "Enter Model ID": "", "Enter model tag (e.g. {{modelTag}})": "Nhập thẻ mô hình (vd: {{modelTag}})", + "Enter Mojeek Search API Key": "", "Enter Number of Steps (e.g. 50)": "Nhập số Steps (vd: 50)", "Enter Sampler (e.g. Euler a)": "", "Enter Scheduler (e.g. Karras)": "", @@ -569,6 +570,7 @@ "Modelfile Content": "Nội dung Tệp Mô hình", "Models": "Mô hình", "Models Access": "", + "Mojeek Search API Key": "", "more": "", "More": "Thêm", "Name": "Tên", diff --git a/src/lib/i18n/locales/zh-CN/translation.json b/src/lib/i18n/locales/zh-CN/translation.json index 2bcad8e3e..a09b5b3e1 100644 --- a/src/lib/i18n/locales/zh-CN/translation.json +++ b/src/lib/i18n/locales/zh-CN/translation.json @@ -329,6 +329,7 @@ "Enter language codes": "输入语言代码", "Enter Model ID": "输入模型 ID", "Enter model tag (e.g. {{modelTag}})": "输入模型标签 (例如:{{modelTag}})", + "Enter Mojeek Search API Key": "", "Enter Number of Steps (e.g. 50)": "输入步骤数 (Steps) (例如:50)", "Enter Sampler (e.g. Euler a)": "输入 Sampler (例如:Euler a)", "Enter Scheduler (e.g. Karras)": "输入 Scheduler (例如:Karras)", @@ -569,6 +570,7 @@ "Modelfile Content": "模型文件内容", "Models": "模型", "Models Access": "访问模型列表", + "Mojeek Search API Key": "", "more": "更多", "More": "更多", "Name": "名称", diff --git a/src/lib/i18n/locales/zh-TW/translation.json b/src/lib/i18n/locales/zh-TW/translation.json index 625986646..2114c31e0 100644 --- a/src/lib/i18n/locales/zh-TW/translation.json +++ b/src/lib/i18n/locales/zh-TW/translation.json @@ -329,6 +329,7 @@ "Enter language codes": "輸入語言代碼", "Enter Model ID": "輸入模型 ID", "Enter model tag (e.g. {{modelTag}})": "輸入模型標籤(例如:{{modelTag}})", + "Enter Mojeek Search API Key": "", "Enter Number of Steps (e.g. 50)": "輸入步驟數(例如:50)", "Enter Sampler (e.g. Euler a)": "輸入取樣器(例如:Euler a)", "Enter Scheduler (e.g. Karras)": "輸入排程器(例如:Karras)", @@ -569,6 +570,7 @@ "Modelfile Content": "模型檔案內容", "Models": "模型", "Models Access": "", + "Mojeek Search API Key": "", "more": "", "More": "更多", "Name": "名稱", diff --git a/src/lib/utils/index.ts b/src/lib/utils/index.ts index a5716fa36..e3f5b0b35 100644 --- a/src/lib/utils/index.ts +++ b/src/lib/utils/index.ts @@ -14,7 +14,6 @@ export const replaceTokens = (content, sourceIds, char, user) => { const videoIdToken = /{{VIDEO_FILE_ID_([a-f0-9-]+)}}/gi; // Regex to capture the video ID const htmlIdToken = /{{HTML_FILE_ID_([a-f0-9-]+)}}/gi; // Regex to capture the HTML ID - // Replace {{char}} if char is provided if (char !== undefined && char !== null) { content = content.replace(charToken, char); @@ -37,17 +36,16 @@ export const replaceTokens = (content, sourceIds, char, user) => { return ``; }); - // Remove sourceIds from the content and replace them with ... - if (Array.isArray(sourceIds)) { - sourceIds.forEach((sourceId) => { - // Create a token based on the exact `[sourceId]` string - const sourceToken = `\\[${sourceId}\\]`; // Escape special characters for RegExp - const sourceRegex = new RegExp(sourceToken, 'g'); // Match all occurrences of [sourceId] + if (Array.isArray(sourceIds)) { + sourceIds.forEach((sourceId) => { + // Create a token based on the exact `[sourceId]` string + const sourceToken = `\\[${sourceId}\\]`; // Escape special characters for RegExp + const sourceRegex = new RegExp(sourceToken, 'g'); // Match all occurrences of [sourceId] - content = content.replace(sourceRegex, ``); - }); - } + content = content.replace(sourceRegex, ``); + }); + } return content; };