Merge branch 'feat/add-i18n' of https://github.com/asedmammad/open-webui into feat/add-i18n

This commit is contained in:
Jannik Streidl 2024-03-05 14:06:47 +01:00
commit 31fc9a04b6
8 changed files with 11 additions and 9 deletions

View file

@ -82,7 +82,7 @@
fullScreenMode = settings.fullScreenMode ?? false;
titleAutoGenerateModel = settings.titleAutoGenerateModel ?? '';
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>