diff --git a/public/locales/da/main.json b/public/locales/da/main.json index 01e48b3..8869a6d 100644 --- a/public/locales/da/main.json +++ b/public/locales/da/main.json @@ -36,5 +36,6 @@ "newFolder": "Ny mappe", "cloneChat": "Klon Chat", "cloned": "Klonet", - "enterToSubmit": "Tryk Enter for at sende" + "enterToSubmit": "Tryk Enter for at sende", + "submitPlaceholder": "Type a message or select [/] for a predefined prompt..." } diff --git a/public/locales/en-US/main.json b/public/locales/en-US/main.json index aa23c87..e0b025d 100644 --- a/public/locales/en-US/main.json +++ b/public/locales/en-US/main.json @@ -36,5 +36,6 @@ "newFolder": "New Folder", "cloneChat": "Clone Chat", "cloned": "Cloned", - "enterToSubmit": "Enter to submit" + "enterToSubmit": "Enter to submit", + "submitPlaceholder": "Type a message or select [/] for a predefined prompt..." } diff --git a/public/locales/en/main.json b/public/locales/en/main.json index aa23c87..e0b025d 100644 --- a/public/locales/en/main.json +++ b/public/locales/en/main.json @@ -36,5 +36,6 @@ "newFolder": "New Folder", "cloneChat": "Clone Chat", "cloned": "Cloned", - "enterToSubmit": "Enter to submit" + "enterToSubmit": "Enter to submit", + "submitPlaceholder": "Type a message or select [/] for a predefined prompt..." } diff --git a/public/locales/es/main.json b/public/locales/es/main.json index 772de5f..7302d33 100644 --- a/public/locales/es/main.json +++ b/public/locales/es/main.json @@ -36,5 +36,6 @@ "newFolder": "Nueva Carpeta", "cloneChat": "Clone Chat", "cloned": "Cloned", - "enterToSubmit": "Enter to submit" + "enterToSubmit": "Enter to submit", + "submitPlaceholder": "Type a message or select [/] for a predefined prompt..." } diff --git a/public/locales/fr/main.json b/public/locales/fr/main.json index b49428c..d43a03e 100644 --- a/public/locales/fr/main.json +++ b/public/locales/fr/main.json @@ -36,5 +36,6 @@ "newFolder": "Nouveau Dossier", "cloneChat": "Cloner la Conversation", "cloned": "Clonée", - "enterToSubmit": "Entrée pour soumettre" + "enterToSubmit": "Entrée pour soumettre", + "submitPlaceholder": "Saisissez un message ou sélectionnez [/] pour un prompt prédéfini..." } diff --git a/public/locales/it/main.json b/public/locales/it/main.json index 9a131e2..9d1f7b2 100644 --- a/public/locales/it/main.json +++ b/public/locales/it/main.json @@ -36,5 +36,6 @@ "newFolder": "Nuova Cartella", "cloneChat": "Duplica Conversazione", "cloned": "Duplicata", - "enterToSubmit": "Invio per inviare" + "enterToSubmit": "Invio per inviare", + "submitPlaceholder": "Type a message or select [/] for a predefined prompt..." } diff --git a/public/locales/ja/main.json b/public/locales/ja/main.json index 861f654..4ea32f7 100644 --- a/public/locales/ja/main.json +++ b/public/locales/ja/main.json @@ -36,5 +36,6 @@ "newFolder": "新しいフォルダー", "cloneChat": "チャットのコピーを作成", "cloned": "完了しました", - "enterToSubmit": "Enterキーを押して送信" + "enterToSubmit": "Enterキーを押して送信", + "submitPlaceholder": "Type a message or select [/] for a predefined prompt..." } diff --git a/public/locales/ms/main.json b/public/locales/ms/main.json index 5b1e771..44e0ff0 100644 --- a/public/locales/ms/main.json +++ b/public/locales/ms/main.json @@ -36,5 +36,6 @@ "newFolder": "Folder Baru", "cloneChat": "Buat salinan perbualan ini", "cloned": "Dicipta", - "enterToSubmit": "Tekan Enter untuk hantar" + "enterToSubmit": "Tekan Enter untuk hantar", + "submitPlaceholder": "Type a message or select [/] for a predefined prompt..." } diff --git a/public/locales/nb/main.json b/public/locales/nb/main.json index d8e2352..64596f1 100644 --- a/public/locales/nb/main.json +++ b/public/locales/nb/main.json @@ -36,5 +36,6 @@ "newFolder": "Ny mappe", "cloneChat": "Klone chat", "cloned": "Klonet", - "enterToSubmit": "Trykk enter for å sende" + "enterToSubmit": "Trykk enter for å sende", + "submitPlaceholder": "Type a message or select [/] for a predefined prompt..." } diff --git a/public/locales/sv/main.json b/public/locales/sv/main.json index 2a5de30..c529597 100644 --- a/public/locales/sv/main.json +++ b/public/locales/sv/main.json @@ -36,5 +36,6 @@ "newFolder": "Ny mapp", "cloneChat": "Klona chatt", "cloned": "Klonad", - "enterToSubmit": "Tryck på Enter för att skicka" + "enterToSubmit": "Tryck på Enter för att skicka", + "submitPlaceholder": "Type a message or select [/] for a predefined prompt..." } diff --git a/public/locales/zh-CN/main.json b/public/locales/zh-CN/main.json index 4d962dd..88ff50e 100644 --- a/public/locales/zh-CN/main.json +++ b/public/locales/zh-CN/main.json @@ -36,5 +36,6 @@ "newFolder": "新文件夹", "cloneChat": "创建聊天副本", "cloned": "已创建副本", - "enterToSubmit": "按回车键提交" + "enterToSubmit": "按回车键提交", + "submitPlaceholder": "Type a message or select [/] for a predefined prompt..." } diff --git a/public/locales/zh-HK/main.json b/public/locales/zh-HK/main.json index b8d0282..58b9916 100644 --- a/public/locales/zh-HK/main.json +++ b/public/locales/zh-HK/main.json @@ -36,5 +36,6 @@ "newFolder": "新資料夾", "cloneChat": "建立傾偈副本", "cloned": "建立成功", - "enterToSubmit": "撳 Enter 鍵提交" + "enterToSubmit": "撳 Enter 鍵提交", + "submitPlaceholder": "Type a message or select [/] for a predefined prompt..." } diff --git a/public/locales/zh-TW/main.json b/public/locales/zh-TW/main.json index 1b3f003..574f21f 100644 --- a/public/locales/zh-TW/main.json +++ b/public/locales/zh-TW/main.json @@ -36,5 +36,6 @@ "newFolder": "新資料夾", "cloneChat": "創建聊天副本", "cloned": "已創建副本", - "enterToSubmit": "按回車鍵提交" + "enterToSubmit": "按回車鍵提交", + "submitPlaceholder": "Type a message or select [/] for a predefined prompt..." } diff --git a/src/components/Chat/ChatContent/Message/MessageContent.tsx b/src/components/Chat/ChatContent/Message/MessageContent.tsx index 74b7ff9..477734e 100644 --- a/src/components/Chat/ChatContent/Message/MessageContent.tsx +++ b/src/components/Chat/ChatContent/Message/MessageContent.tsx @@ -439,6 +439,7 @@ const EditView = ({ _setContent(e.target.value); }} value={_content} + placeholder={t('submitPlaceholder') as string} onKeyDown={handleKeyDown} rows={1} >