forked from open-webui/open-webui
main #2
8 changed files with 11 additions and 9 deletions
|
@ -82,7 +82,7 @@
|
||||||
fullScreenMode = settings.fullScreenMode ?? false;
|
fullScreenMode = settings.fullScreenMode ?? false;
|
||||||
titleAutoGenerateModel = settings.titleAutoGenerateModel ?? '';
|
titleAutoGenerateModel = settings.titleAutoGenerateModel ?? '';
|
||||||
titleGenerationPrompt =
|
titleGenerationPrompt =
|
||||||
settings.titleGenerationPrompt ?? $i18n.t('Default titleGenerationPromt') + ' {{prompt}}';
|
settings.titleGenerationPrompt ?? $i18n.t("Create a concise, 3-5 word phrase as a header for the following query, strictly adhering to the 3-5 word limit and avoiding the use of the word 'title':") + ' {{prompt}}';
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
|
@ -87,7 +87,7 @@
|
||||||
"Default (Web API)": "Standard (Web-API)",
|
"Default (Web API)": "Standard (Web-API)",
|
||||||
"Default model updated": "Standardmodell aktualisiert",
|
"Default model updated": "Standardmodell aktualisiert",
|
||||||
"Default Prompt Suggestions": "Standard-Prompt-Vorschläge",
|
"Default Prompt Suggestions": "Standard-Prompt-Vorschläge",
|
||||||
"Default titleGenerationPromt": "Erstelle einen prägnanten Satz mit 3-5 Wörtern als Überschrift für die folgende Abfrage. Halte dich dabei strikt an die 3-5-Wort-Grenze und vermeide die Verwendung des Wortes Titel:",
|
"Create a concise, 3-5 word phrase as a header for the following query, strictly adhering to the 3-5 word limit and avoiding the use of the word 'title':": "Erstelle einen prägnanten Satz mit 3-5 Wörtern als Überschrift für die folgende Abfrage. Halte dich dabei strikt an die 3-5-Wort-Grenze und vermeide die Verwendung des Wortes Titel:",
|
||||||
"Default User Role": "Standardbenutzerrolle",
|
"Default User Role": "Standardbenutzerrolle",
|
||||||
"delete": "löschen",
|
"delete": "löschen",
|
||||||
"Delete a model": "Ein Modell löschen",
|
"Delete a model": "Ein Modell löschen",
|
||||||
|
|
|
@ -87,7 +87,7 @@
|
||||||
"Default (Web API)": "Default (Web API)",
|
"Default (Web API)": "Default (Web API)",
|
||||||
"Default model updated": "Default model updated",
|
"Default model updated": "Default model updated",
|
||||||
"Default Prompt Suggestions": "Default Prompt Suggestions",
|
"Default Prompt Suggestions": "Default Prompt Suggestions",
|
||||||
"Default titleGenerationPromt": "Create a concise, 3-5 word phrase as a header for the following query, strictly adhering to the 3-5 word limit and avoiding the use of the word 'title':",
|
"Create a concise, 3-5 word phrase as a header for the following query, strictly adhering to the 3-5 word limit and avoiding the use of the word 'title':": "Create a concise, 3-5 word phrase as a header for the following query, strictly adhering to the 3-5 word limit and avoiding the use of the word 'title':",
|
||||||
"Default User Role": "Default User Role",
|
"Default User Role": "Default User Role",
|
||||||
"delete": "delete",
|
"delete": "delete",
|
||||||
"Delete a model": "Delete a model",
|
"Delete a model": "Delete a model",
|
||||||
|
|
|
@ -251,7 +251,7 @@
|
||||||
"Enter OpenAI API Key": "کلید OpenAI API را وارد کنید",
|
"Enter OpenAI API Key": "کلید OpenAI API را وارد کنید",
|
||||||
"Current Model": "مدل فعلی",
|
"Current Model": "مدل فعلی",
|
||||||
"Display the username instead of You in the Chat": "نمایش نام کاربری به جای «شما» در چت",
|
"Display the username instead of You in the Chat": "نمایش نام کاربری به جای «شما» در چت",
|
||||||
"Default titleGenerationPromt": "یک عبارت مختصر و ۳ تا ۵ کلمه ای را به عنوان سرفصل برای پرس و جو زیر ایجاد کنید، به شدت محدودیت ۳-۵ کلمه را رعایت کنید و از استفاده از کلمه 'عنوان' خودداری کنید:",
|
"Create a concise, 3-5 word phrase as a header for the following query, strictly adhering to the 3-5 word limit and avoiding the use of the word 'title':": "یک عبارت مختصر و ۳ تا ۵ کلمه ای را به عنوان سرفصل برای پرس و جو زیر ایجاد کنید، به شدت محدودیت ۳-۵ کلمه را رعایت کنید و از استفاده از کلمه 'عنوان' خودداری کنید:",
|
||||||
"Search": "جستجو",
|
"Search": "جستجو",
|
||||||
"Search Documents": "جستجوی اسناد",
|
"Search Documents": "جستجوی اسناد",
|
||||||
"Use '#' in the prompt input to load and select your documents.": "در پرامپت از '#' برای لود و انتخاب اسناد خود استفاده کنید.",
|
"Use '#' in the prompt input to load and select your documents.": "در پرامپت از '#' برای لود و انتخاب اسناد خود استفاده کنید.",
|
||||||
|
|
|
@ -83,7 +83,7 @@
|
||||||
"Default (Web API)": "За замовчуванням (Web API)",
|
"Default (Web API)": "За замовчуванням (Web API)",
|
||||||
"Default model updated": "Модель за замовчуванням оновлено",
|
"Default model updated": "Модель за замовчуванням оновлено",
|
||||||
"Default Prompt Suggestions": "Запропоновані запити за замовчуванням",
|
"Default Prompt Suggestions": "Запропоновані запити за замовчуванням",
|
||||||
"Default titleGenerationPromt": "Створіть стислий, 3-5 слів заголовок для наступного запиту, суворо дотримуючись 3-5 слів обмеження та уникаючи використання слова 'заголовок':",
|
"Create a concise, 3-5 word phrase as a header for the following query, strictly adhering to the 3-5 word limit and avoiding the use of the word 'title':": "Створіть стислий, 3-5 слів заголовок для наступного запиту, суворо дотримуючись 3-5 слів обмеження та уникаючи використання слова 'заголовок':",
|
||||||
"Default User Role": "Роль користувача за замовчуванням",
|
"Default User Role": "Роль користувача за замовчуванням",
|
||||||
"delete": "видалити",
|
"delete": "видалити",
|
||||||
"Delete a model": "Видалити модель",
|
"Delete a model": "Видалити модель",
|
||||||
|
|
|
@ -770,7 +770,7 @@
|
||||||
if ($settings.titleAutoGenerate ?? true) {
|
if ($settings.titleAutoGenerate ?? true) {
|
||||||
const title = await generateTitle(
|
const title = await generateTitle(
|
||||||
localStorage.token,
|
localStorage.token,
|
||||||
$settings?.titleGenerationPrompt ?? $i18n.t('Default titleGenerationPromt') + ' {{prompt}}',
|
$settings?.titleGenerationPrompt ?? $i18n.t("Create a concise, 3-5 word phrase as a header for the following query, strictly adhering to the 3-5 word limit and avoiding the use of the word 'title':") + ' {{prompt}}',
|
||||||
$settings?.titleAutoGenerateModel ?? selectedModels[0],
|
$settings?.titleAutoGenerateModel ?? selectedModels[0],
|
||||||
userPrompt
|
userPrompt
|
||||||
);
|
);
|
||||||
|
|
|
@ -779,7 +779,7 @@
|
||||||
if ($settings.titleAutoGenerate ?? true) {
|
if ($settings.titleAutoGenerate ?? true) {
|
||||||
const title = await generateTitle(
|
const title = await generateTitle(
|
||||||
localStorage.token,
|
localStorage.token,
|
||||||
$settings?.titleGenerationPrompt ?? $i18n.t('Default titleGenerationPromt') + ' {{prompt}}',
|
$settings?.titleGenerationPrompt ?? $i18n.t("Create a concise, 3-5 word phrase as a header for the following query, strictly adhering to the 3-5 word limit and avoiding the use of the word 'title':") + ' {{prompt}}',
|
||||||
$settings?.titleAutoGenerateModel ?? selectedModels[0],
|
$settings?.titleAutoGenerateModel ?? selectedModels[0],
|
||||||
userPrompt
|
userPrompt
|
||||||
);
|
);
|
||||||
|
|
|
@ -116,7 +116,7 @@
|
||||||
<div>
|
<div>
|
||||||
<input
|
<input
|
||||||
class="px-3 py-1.5 text-sm w-full bg-transparent border dark:border-gray-600 outline-none rounded-lg"
|
class="px-3 py-1.5 text-sm w-full bg-transparent border dark:border-gray-600 outline-none rounded-lg"
|
||||||
placeholder="Add a short title for this prompt"
|
placeholder={$i18n.t('Add a short title for this prompt')}
|
||||||
bind:value={title}
|
bind:value={title}
|
||||||
required
|
required
|
||||||
/>
|
/>
|
||||||
|
@ -163,7 +163,9 @@
|
||||||
<div>
|
<div>
|
||||||
<textarea
|
<textarea
|
||||||
class="px-3 py-1.5 text-sm w-full bg-transparent border dark:border-gray-600 outline-none rounded-lg"
|
class="px-3 py-1.5 text-sm w-full bg-transparent border dark:border-gray-600 outline-none rounded-lg"
|
||||||
placeholder={`Write a summary in 50 words that summarizes [topic or keyword].`}
|
placeholder={$i18n.t(
|
||||||
|
`Write a summary in 50 words that summarizes [topic or keyword].`
|
||||||
|
)}
|
||||||
rows="6"
|
rows="6"
|
||||||
bind:value={content}
|
bind:value={content}
|
||||||
required
|
required
|
||||||
|
|
Loading…
Reference in a new issue