From b01d72ade3de0187d026300a9d2df94533aad2bc Mon Sep 17 00:00:00 2001 From: Clivia <132346501+Yanyutin753@users.noreply.github.com> Date: Sat, 3 Aug 2024 08:59:08 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=84Fix=20format?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 💄Fix format --- src/lib/components/chat/MessageInput.svelte | 6 +----- src/lib/i18n/locales/ro-RO/translation.json | 3 +++ 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/lib/components/chat/MessageInput.svelte b/src/lib/components/chat/MessageInput.svelte index b166c4719..dcbc677ba 100644 --- a/src/lib/components/chat/MessageInput.svelte +++ b/src/lib/components/chat/MessageInput.svelte @@ -185,11 +185,7 @@ const totalFilesCount = currentFilesCount + inputFilesCount; if (currentFilesCount >= maxFiles || totalFilesCount > maxFiles) { - toast.error( - $i18n.t('File count exceeds the limit of {{size}}', { - count: maxFiles - }) - ); + toast.error(`File count exceeds the limit of '${maxFiles}'. Please remove some files.`); if (currentFilesCount >= maxFiles) { return [false, null]; } diff --git a/src/lib/i18n/locales/ro-RO/translation.json b/src/lib/i18n/locales/ro-RO/translation.json index ebcaf0f69..ef26b42b6 100644 --- a/src/lib/i18n/locales/ro-RO/translation.json +++ b/src/lib/i18n/locales/ro-RO/translation.json @@ -285,6 +285,7 @@ "File": "Fișier", "File Mode": "Mod Fișier", "File not found.": "Fișierul nu a fost găsit.", + "File size exceeds the limit of {{size}}MB": "", "Files": "Fișiere", "Filter is now globally disabled": "Filtrul este acum dezactivat global", "Filter is now globally enabled": "Filtrul este acum activat global", @@ -374,6 +375,8 @@ "Manage Ollama Models": "Gestionează Modelele Ollama", "Manage Pipelines": "Gestionează Conductele", "March": "Martie", + "Max File Count": "", + "Max File Size(MB)": "", "Max Tokens (num_predict)": "Număr Maxim de Tokeni (num_predict)", "Maximum of 3 models can be downloaded simultaneously. Please try again later.": "Maxim 3 modele pot fi descărcate simultan. Vă rugăm să încercați din nou mai târziu.", "May": "Mai",