mirror of
https://github.com/open-webui/open-webui
synced 2024-11-06 00:32:05 +00:00
fix: Ternary expression workaround for i18n:parse
This commit is contained in:
parent
b85385385a
commit
f9bc35a11c
@ -26,13 +26,15 @@
|
||||
</div>
|
||||
|
||||
<div class="flex-1">
|
||||
<!-- $i18n.t('a user') -->
|
||||
<!-- $i18n.t('an assistant') -->
|
||||
<textarea
|
||||
id="{message.role}-{idx}-textarea"
|
||||
bind:this={textAreaElement}
|
||||
class="w-full bg-transparent outline-none rounded-lg p-2 text-sm resize-none overflow-hidden"
|
||||
placeholder={$i18n.t(
|
||||
`Enter ${message.role === 'user' ? 'a user' : 'an assistant'} message here`
|
||||
)}
|
||||
placeholder={$i18n.t(`Enter {{role}} message here`, {
|
||||
role: message.role === 'user' ? $i18n.t('a user') : $i18n.t('an assistant')
|
||||
})}
|
||||
rows="1"
|
||||
on:input={(e) => {
|
||||
textAreaElement.style.height = '';
|
||||
|
@ -5,6 +5,7 @@
|
||||
"(latest)": "(neueste)",
|
||||
"{{modelName}} is thinking...": "{{modelName}} denkt nach...",
|
||||
"{{webUIName}} Backend Required": "{{webUIName}}-Backend erforderlich",
|
||||
"a user": "",
|
||||
"About": "Über",
|
||||
"Account": "Account",
|
||||
"Action": "Aktion",
|
||||
@ -28,6 +29,7 @@
|
||||
"Allow Chat Deletion": "Chat Löschung erlauben",
|
||||
"alphanumeric characters and hyphens": "alphanumerische Zeichen und Bindestriche",
|
||||
"Already have an account?": "Hast du vielleicht schon ein Account?",
|
||||
"an assistant": "",
|
||||
"and": "und",
|
||||
"API Base URL": "API Basis URL",
|
||||
"API Key": "API Key",
|
||||
@ -121,6 +123,7 @@
|
||||
"Enable Chat History": "Chat-Verlauf aktivieren",
|
||||
"Enable New Sign Ups": "Neue Anmeldungen aktivieren",
|
||||
"Enabled": "Aktiviert",
|
||||
"Enter {{role}} message here": "",
|
||||
"Enter API Key": "",
|
||||
"Enter Chunk Overlap": "",
|
||||
"Enter Chunk Size": "",
|
||||
|
@ -5,6 +5,7 @@
|
||||
"(latest)": "(latest)",
|
||||
"{{modelName}} is thinking...": "{{modelName}} is thinking...",
|
||||
"{{webUIName}} Backend Required": "{{webUIName}} Backend Required",
|
||||
"a user": "",
|
||||
"About": "About",
|
||||
"Account": "Account",
|
||||
"Action": "Action",
|
||||
@ -28,6 +29,7 @@
|
||||
"Allow Chat Deletion": "Allow Chat Deletion",
|
||||
"alphanumeric characters and hyphens": "alphanumeric characters and hyphens",
|
||||
"Already have an account?": "Already have an account?",
|
||||
"an assistant": "",
|
||||
"and": "and",
|
||||
"API Base URL": "API Base URL",
|
||||
"API Key": "API Key",
|
||||
@ -121,6 +123,7 @@
|
||||
"Enable Chat History": "Enable Chat History",
|
||||
"Enable New Sign Ups": "Enable New Sign Ups",
|
||||
"Enabled": "Enabled",
|
||||
"Enter {{role}} message here": "",
|
||||
"Enter API Key": "",
|
||||
"Enter Chunk Overlap": "",
|
||||
"Enter Chunk Size": "",
|
||||
|
@ -5,6 +5,7 @@
|
||||
"(latest)": "(آخرین)",
|
||||
"{{modelName}} is thinking...": "{{modelName}} در حال فکر کردن است...",
|
||||
"{{webUIName}} Backend Required": "بکند {{webUIName}} نیاز است.",
|
||||
"a user": "یک کاربر",
|
||||
"About": "درباره",
|
||||
"Account": "حساب کاربری",
|
||||
"Action": "عمل",
|
||||
@ -28,6 +29,7 @@
|
||||
"Allow Chat Deletion": "اجازه حذف گپ",
|
||||
"alphanumeric characters and hyphens": "حروف الفبایی و خط فاصله",
|
||||
"Already have an account?": "از قبل حساب کاربری دارید؟",
|
||||
"an assistant": "یک دستیار",
|
||||
"and": "و",
|
||||
"API Base URL": "API Base URL",
|
||||
"API Key": "API Key",
|
||||
@ -121,6 +123,7 @@
|
||||
"Enable Chat History": "تاریخچه چت را فعال کنید",
|
||||
"Enable New Sign Ups": "فعال کردن ثبت نام\u200cهای جدید",
|
||||
"Enabled": "فعال",
|
||||
"Enter {{role}} message here": "پیام {{role}} را اینجا وارد کنید",
|
||||
"Enter API Key": "کلید API را وارد کنید",
|
||||
"Enter Chunk Overlap": "مقدار Chunk Overlap را وارد کنید",
|
||||
"Enter Chunk Size": "مقدار Chunk Size را وارد کنید",
|
||||
@ -180,7 +183,7 @@
|
||||
"Made by OpenWebUI Community": "ساخته شده توسط OpenWebUI Community",
|
||||
"Make sure to enclose them with": "مطمئن شوید که آنها را با این محصور کنید:",
|
||||
"Manage LiteLLM Models": "Manage LiteLLM Models",
|
||||
"Manage Models": "مدیریت مدلها",
|
||||
"Manage Models": "مدیریت مدل\u200cها",
|
||||
"Manage Ollama Models": "مدیریت مدل\u200cهای اولاما",
|
||||
"Max Tokens": "حداکثر توکن",
|
||||
"Maximum of 3 models can be downloaded simultaneously. Please try again later.": "حداکثر 3 مدل را می توان به طور همزمان دانلود کرد. لطفاً بعداً دوباره امتحان کنید.",
|
||||
@ -348,7 +351,7 @@
|
||||
"Web": "وب",
|
||||
"WebUI Add-ons": "WebUI افزونه\u200cهای",
|
||||
"WebUI Settings": "تنظیمات WebUI",
|
||||
"WebUI will make requests to": "WebUI درخواستها را ارسال خواهد کرد به",
|
||||
"WebUI will make requests to": "WebUI درخواست\u200cها را ارسال خواهد کرد به",
|
||||
"What’s New in": "موارد جدید در",
|
||||
"When history is turned off, new chats on this browser won't appear in your history on any of your devices.": "وقتی سابقه خاموش است، چت\u200cهای جدید در این مرورگر در سابقه شما در هیچ یک از دستگاه\u200cهایتان ظاهر نمی\u200cشوند.",
|
||||
"Whisper (Local)": "ویسپر (محلی)",
|
||||
|
@ -5,6 +5,7 @@
|
||||
"(latest)": "",
|
||||
"{{modelName}} is thinking...": "{{modelName}} réfléchit...",
|
||||
"{{webUIName}} Backend Required": "Backend {{webUIName}} requis",
|
||||
"a user": "",
|
||||
"About": "À propos",
|
||||
"Account": "Compte",
|
||||
"Action": "Action",
|
||||
@ -28,6 +29,7 @@
|
||||
"Allow Chat Deletion": "Autoriser la suppression du chat",
|
||||
"alphanumeric characters and hyphens": "caractères alphanumériques et tirets",
|
||||
"Already have an account?": "Vous avez déjà un compte ?",
|
||||
"an assistant": "",
|
||||
"and": "et",
|
||||
"API Base URL": "URL de base de l'API",
|
||||
"API Key": "Clé API",
|
||||
@ -121,6 +123,7 @@
|
||||
"Enable Chat History": "Activer l'historique du chat",
|
||||
"Enable New Sign Ups": "Activer les nouvelles inscriptions",
|
||||
"Enabled": "Activé",
|
||||
"Enter {{role}} message here": "",
|
||||
"Enter API Key": "",
|
||||
"Enter Chunk Overlap": "",
|
||||
"Enter Chunk Size": "",
|
||||
|
@ -5,6 +5,7 @@
|
||||
"(latest)": "(остання)",
|
||||
"{{modelName}} is thinking...": "{{modelName}} думає...",
|
||||
"{{webUIName}} Backend Required": "Необхідний бекенд {{webUIName}}",
|
||||
"a user": "",
|
||||
"About": "Про програму",
|
||||
"Account": "Обліковий запис",
|
||||
"Action": "Дія",
|
||||
@ -28,6 +29,7 @@
|
||||
"Allow Chat Deletion": "Дозволити видалення чату",
|
||||
"alphanumeric characters and hyphens": "алфавітно-цифрові символи та дефіси",
|
||||
"Already have an account?": "Вже є обліковий запис?",
|
||||
"an assistant": "",
|
||||
"and": "та",
|
||||
"API Base URL": "Базова адреса URL API",
|
||||
"API Key": "Ключ API",
|
||||
@ -121,6 +123,7 @@
|
||||
"Enable Chat History": "Увімкнути історію чату",
|
||||
"Enable New Sign Ups": "Дозволити нові реєстрації",
|
||||
"Enabled": "Увімкнено",
|
||||
"Enter {{role}} message here": "",
|
||||
"Enter API Key": "Введіть API-ключ",
|
||||
"Enter Chunk Overlap": "Введіть перекриття фрагменту",
|
||||
"Enter Chunk Size": "Введіть розмір фрагменту",
|
||||
|
@ -5,6 +5,7 @@
|
||||
"(latest)": "",
|
||||
"{{modelName}} is thinking...": "{{modelName}} 正在思考...",
|
||||
"{{webUIName}} Backend Required": "需要 {{webUIName}} 后端",
|
||||
"a user": "",
|
||||
"About": "关于",
|
||||
"Account": "账户",
|
||||
"Action": "操作",
|
||||
@ -28,6 +29,7 @@
|
||||
"Allow Chat Deletion": "允许删除聊天",
|
||||
"alphanumeric characters and hyphens": "字母数字字符和连字符",
|
||||
"Already have an account?": "已经有账户了吗?",
|
||||
"an assistant": "",
|
||||
"and": "和",
|
||||
"API Base URL": "API 基础 URL",
|
||||
"API Key": "API 密钥",
|
||||
@ -121,6 +123,7 @@
|
||||
"Enable Chat History": "启用聊天历史",
|
||||
"Enable New Sign Ups": "启用新注册",
|
||||
"Enabled": "启用",
|
||||
"Enter {{role}} message here": "",
|
||||
"Enter API Key": "",
|
||||
"Enter Chunk Overlap": "",
|
||||
"Enter Chunk Size": "",
|
||||
|
@ -5,6 +5,7 @@
|
||||
"(latest)": "",
|
||||
"{{modelName}} is thinking...": "{{modelName}} 正在思考...",
|
||||
"{{webUIName}} Backend Required": "需要 {{webUIName}} 後端",
|
||||
"a user": "",
|
||||
"About": "關於",
|
||||
"Account": "帳戶",
|
||||
"Action": "動作",
|
||||
@ -28,6 +29,7 @@
|
||||
"Allow Chat Deletion": "允許刪除聊天",
|
||||
"alphanumeric characters and hyphens": "字母數字字符和連字符",
|
||||
"Already have an account?": "已經有帳戶了嗎?",
|
||||
"an assistant": "",
|
||||
"and": "和",
|
||||
"API Base URL": "API Base URL",
|
||||
"API Key": "API Key",
|
||||
@ -121,6 +123,7 @@
|
||||
"Enable Chat History": "啟用聊天歷史",
|
||||
"Enable New Sign Ups": "允許新用戶註冊",
|
||||
"Enabled": "已啟用",
|
||||
"Enter {{role}} message here": "",
|
||||
"Enter API Key": "輸入API Key",
|
||||
"Enter Chunk Overlap": "輸入區塊重疊",
|
||||
"Enter Chunk Size": "輸入區塊大小",
|
||||
|
Loading…
Reference in New Issue
Block a user