diff --git a/packages/ui/src/components/chat/ChatInput.tsx b/packages/ui/src/components/chat/ChatInput.tsx index cc4c6d08..b5dee769 100644 --- a/packages/ui/src/components/chat/ChatInput.tsx +++ b/packages/ui/src/components/chat/ChatInput.tsx @@ -1829,8 +1829,8 @@ const ChatInputComponent: React.FC = ({ onOpenSettings, scrollTo largeTextPasteToastIdRef.current = toast.info( t('chat.chatInput.toast.largeTextPaste.title'), { - description: t('chat.chatInput.toast.largeTextPaste.description'), duration: Infinity, + className: '!min-w-[22rem] !w-auto [&_[data-icon]]:!hidden', action: { label: t('chat.chatInput.toast.largeTextPaste.attach'), onClick: () => resolveLargePaste('attach'), diff --git a/packages/ui/src/lib/i18n/messages/de.ts b/packages/ui/src/lib/i18n/messages/de.ts index 679c1812..9bcdd585 100644 --- a/packages/ui/src/lib/i18n/messages/de.ts +++ b/packages/ui/src/lib/i18n/messages/de.ts @@ -1965,7 +1965,6 @@ export const dict = { 'chat.chatInput.toast.clipboardAttachFailed': 'Fehler beim Anhängen des Bildes aus der Zwischenablage', 'chat.chatInput.toast.clipboardTextAttachFailed': 'Fehler beim Anhängen des eingefügten Texts als Datei', 'chat.chatInput.toast.largeTextPaste.title': 'Großes Texteinfügen', - 'chat.chatInput.toast.largeTextPaste.description': 'Als Datei anhängen, um das Eingabefeld übersichtlich zu halten, oder den Text direkt einfügen.', 'chat.chatInput.toast.largeTextPaste.attach': 'Als Datei anhängen', 'chat.chatInput.toast.largeTextPaste.inline': 'Direkt einfügen', 'chat.chatInput.toast.addedFileMentions': '{count} Datei(er) hinzugefügt', diff --git a/packages/ui/src/lib/i18n/messages/en.ts b/packages/ui/src/lib/i18n/messages/en.ts index 9953d07d..22c51d6e 100644 --- a/packages/ui/src/lib/i18n/messages/en.ts +++ b/packages/ui/src/lib/i18n/messages/en.ts @@ -2126,7 +2126,6 @@ export const dict = { 'chat.chatInput.toast.clipboardAttachFailed': 'Failed to attach image from clipboard', 'chat.chatInput.toast.clipboardTextAttachFailed': 'Failed to attach pasted text as a file', 'chat.chatInput.toast.largeTextPaste.title': 'Large text paste', - 'chat.chatInput.toast.largeTextPaste.description': 'Attach as a file to keep the composer clear, or paste the text inline.', 'chat.chatInput.toast.largeTextPaste.attach': 'Attach as file', 'chat.chatInput.toast.largeTextPaste.inline': 'Paste inline', 'chat.chatInput.toast.addedFileMentions': 'Added {count} file mention(s)', diff --git a/packages/ui/src/lib/i18n/messages/es.ts b/packages/ui/src/lib/i18n/messages/es.ts index a4e2ea13..a45604e5 100644 --- a/packages/ui/src/lib/i18n/messages/es.ts +++ b/packages/ui/src/lib/i18n/messages/es.ts @@ -2092,7 +2092,6 @@ export const dict: Record = { "chat.chatInput.toast.clipboardAttachFailed": "No se pudo adjuntar la imagen desde el portapapeles", "chat.chatInput.toast.clipboardTextAttachFailed": "No se pudo adjuntar el texto pegado como archivo", "chat.chatInput.toast.largeTextPaste.title": "Pegado de texto grande", - "chat.chatInput.toast.largeTextPaste.description": "Adjunta como archivo para mantener el compositor despejado, o pega el texto en línea.", "chat.chatInput.toast.largeTextPaste.attach": "Adjuntar como archivo", "chat.chatInput.toast.largeTextPaste.inline": "Pegar en línea", "chat.chatInput.toast.addedFileMentions": "Se añadieron {count} mención(es) de archivo", diff --git a/packages/ui/src/lib/i18n/messages/fr.ts b/packages/ui/src/lib/i18n/messages/fr.ts index a56f5434..7b5d5ed4 100644 --- a/packages/ui/src/lib/i18n/messages/fr.ts +++ b/packages/ui/src/lib/i18n/messages/fr.ts @@ -1895,7 +1895,6 @@ export const dict = { 'chat.chatInput.toast.clipboardAttachFailed': 'Échec de la pièce jointe de l\'image du presse-papiers', 'chat.chatInput.toast.clipboardTextAttachFailed': 'Échec de la pièce jointe du texte collé comme fichier', 'chat.chatInput.toast.largeTextPaste.title': 'Collage de texte volumineux', - 'chat.chatInput.toast.largeTextPaste.description': 'Joindre comme fichier pour garder la zone de saisie claire, ou coller le texte en ligne.', 'chat.chatInput.toast.largeTextPaste.attach': 'Joindre comme fichier', 'chat.chatInput.toast.largeTextPaste.inline': 'Coller en ligne', 'chat.chatInput.toast.addedFileMentions': 'Ajout des mentions du fichier {count}', diff --git a/packages/ui/src/lib/i18n/messages/ja.ts b/packages/ui/src/lib/i18n/messages/ja.ts index a8e8e4b9..b3bf1ccd 100644 --- a/packages/ui/src/lib/i18n/messages/ja.ts +++ b/packages/ui/src/lib/i18n/messages/ja.ts @@ -2122,7 +2122,6 @@ export const dict: Record = { 'chat.chatInput.toast.clipboardAttachFailed': 'クリップボードからの画像添付に失敗しました', 'chat.chatInput.toast.clipboardTextAttachFailed': '貼り付けたテキストのファイル添付に失敗しました', 'chat.chatInput.toast.largeTextPaste.title': '大きなテキストの貼り付け', - 'chat.chatInput.toast.largeTextPaste.description': '入力欄をすっきり保つためにファイルとして添付するか、そのまま貼り付けます。', 'chat.chatInput.toast.largeTextPaste.attach': 'ファイルとして添付', 'chat.chatInput.toast.largeTextPaste.inline': 'そのまま貼り付け', 'chat.chatInput.toast.addedFileMentions': '{count}件のファイルメンションを追加しました', diff --git a/packages/ui/src/lib/i18n/messages/ko.ts b/packages/ui/src/lib/i18n/messages/ko.ts index 5794969b..3fe5a80c 100644 --- a/packages/ui/src/lib/i18n/messages/ko.ts +++ b/packages/ui/src/lib/i18n/messages/ko.ts @@ -2126,7 +2126,6 @@ export const dict: Record = { 'chat.chatInput.toast.clipboardAttachFailed': '클립보드 이미지 첨부 실패', 'chat.chatInput.toast.clipboardTextAttachFailed': '붙여넣은 텍스트를 파일로 첨부하지 못했습니다', 'chat.chatInput.toast.largeTextPaste.title': '긴 텍스트 붙여넣기', - 'chat.chatInput.toast.largeTextPaste.description': '입력창을 깔끔하게 유지하려면 파일로 첨부하거나, 본문에 붙여넣으세요.', 'chat.chatInput.toast.largeTextPaste.attach': '파일로 첨부', 'chat.chatInput.toast.largeTextPaste.inline': '본문에 붙여넣기', 'chat.chatInput.toast.addedFileMentions': '파일 멘션 {count}개 추가됨', diff --git a/packages/ui/src/lib/i18n/messages/pl.ts b/packages/ui/src/lib/i18n/messages/pl.ts index fe6bad3e..057b86b7 100644 --- a/packages/ui/src/lib/i18n/messages/pl.ts +++ b/packages/ui/src/lib/i18n/messages/pl.ts @@ -1223,7 +1223,6 @@ export const dict: Record = { 'chat.chatInput.toast.clipboardAttachFailed': 'Nie udało się dołączyć obrazu ze schowka', 'chat.chatInput.toast.clipboardTextAttachFailed': 'Nie udało się dołączyć wklejonego tekstu jako pliku', 'chat.chatInput.toast.largeTextPaste.title': 'Wklejanie dużego tekstu', - 'chat.chatInput.toast.largeTextPaste.description': 'Dołącz jako plik, aby nie zaśmiecać pola wiadomości, albo wklej tekst w treści.', 'chat.chatInput.toast.largeTextPaste.attach': 'Dołącz jako plik', 'chat.chatInput.toast.largeTextPaste.inline': 'Wklej w treści', 'chat.chatInput.toast.compactFailed': 'Nie udało się skompaktować sesji', diff --git a/packages/ui/src/lib/i18n/messages/pt-BR.ts b/packages/ui/src/lib/i18n/messages/pt-BR.ts index 3ad5cb36..9116573a 100644 --- a/packages/ui/src/lib/i18n/messages/pt-BR.ts +++ b/packages/ui/src/lib/i18n/messages/pt-BR.ts @@ -2092,7 +2092,6 @@ export const dict: Record = { "chat.chatInput.toast.clipboardAttachFailed": "Não foi possível anexar a imagem da área de transferência", "chat.chatInput.toast.clipboardTextAttachFailed": "Não foi possível anexar o texto colado como arquivo", "chat.chatInput.toast.largeTextPaste.title": "Colagem de texto grande", - "chat.chatInput.toast.largeTextPaste.description": "Anexe como arquivo para manter o compositor limpo, ou cole o texto no corpo da mensagem.", "chat.chatInput.toast.largeTextPaste.attach": "Anexar como arquivo", "chat.chatInput.toast.largeTextPaste.inline": "Colar no corpo", "chat.chatInput.toast.addedFileMentions": "Foram adicionadas {count} menção(es) de arquivo", diff --git a/packages/ui/src/lib/i18n/messages/uk.ts b/packages/ui/src/lib/i18n/messages/uk.ts index 4d779c76..2b93fa06 100644 --- a/packages/ui/src/lib/i18n/messages/uk.ts +++ b/packages/ui/src/lib/i18n/messages/uk.ts @@ -2092,7 +2092,6 @@ export const dict: Record = { "chat.chatInput.toast.clipboardAttachFailed": "Не вдалося вкласти зображення з буфера обміну", "chat.chatInput.toast.clipboardTextAttachFailed": "Не вдалося долучити вставлений текст як файл", "chat.chatInput.toast.largeTextPaste.title": "Вставлення великого тексту", - "chat.chatInput.toast.largeTextPaste.description": "Долучіть як файл, щоб не захаращувати поле вводу, або вставте текст у повідомлення.", "chat.chatInput.toast.largeTextPaste.attach": "Долучити як файл", "chat.chatInput.toast.largeTextPaste.inline": "Вставити в повідомлення", "chat.chatInput.toast.addedFileMentions": "Додано згадки файлів {count}", diff --git a/packages/ui/src/lib/i18n/messages/zh-CN.ts b/packages/ui/src/lib/i18n/messages/zh-CN.ts index 77fdb126..58cc1898 100644 --- a/packages/ui/src/lib/i18n/messages/zh-CN.ts +++ b/packages/ui/src/lib/i18n/messages/zh-CN.ts @@ -2092,7 +2092,6 @@ export const dict: Record = { 'chat.chatInput.toast.clipboardAttachFailed': '从剪贴板附加图片失败', 'chat.chatInput.toast.clipboardTextAttachFailed': '无法将粘贴的文本附加为文件', 'chat.chatInput.toast.largeTextPaste.title': '粘贴大段文本', - 'chat.chatInput.toast.largeTextPaste.description': '附加为文件以保持输入框简洁,或直接粘贴到输入框。', 'chat.chatInput.toast.largeTextPaste.attach': '附加为文件', 'chat.chatInput.toast.largeTextPaste.inline': '直接粘贴', 'chat.chatInput.toast.addedFileMentions': '已添加 {count} 个文件提及', diff --git a/packages/ui/src/lib/i18n/messages/zh-TW.ts b/packages/ui/src/lib/i18n/messages/zh-TW.ts index e9a4a2cd..8753d3bc 100644 --- a/packages/ui/src/lib/i18n/messages/zh-TW.ts +++ b/packages/ui/src/lib/i18n/messages/zh-TW.ts @@ -2096,7 +2096,6 @@ export const dict: Record = { 'chat.chatInput.toast.clipboardAttachFailed': '從剪貼簿附加圖片失敗', 'chat.chatInput.toast.clipboardTextAttachFailed': '無法將貼上的文字附加為檔案', 'chat.chatInput.toast.largeTextPaste.title': '貼上大段文字', - 'chat.chatInput.toast.largeTextPaste.description': '附加為檔案以保持輸入框簡潔,或直接貼到輸入框。', 'chat.chatInput.toast.largeTextPaste.attach': '附加為檔案', 'chat.chatInput.toast.largeTextPaste.inline': '直接貼上', 'chat.chatInput.toast.addedFileMentions': '已加入 {count} 個檔案提及',