Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion webapp/packages/core-localization/src/locales/ru.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ export default [
['ui_discard_changes', 'Отменить изменения'],
['ui_discard_changes_message', 'Вы собираетесь отменить несохраненные изменения. Вы уверены?'],
['ui_discard', 'Отменить'],
['ui_keep_editing', 'Продолжить редактирование'],
['ui_keep_editing', 'Продолжить'],
['ui_yes', 'Да'],
['ui_no', 'Нет'],
['ui_select_all', 'Выбрать все'],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,11 @@ export const AIChatMessageList = observer<Props>(function AIChatMessageList({ cu
}, [currentConversationId, lastMessage?.id]);

if (!messages?.length) {
return <div className="tw:flex tw:flex-1 tw:items-center tw:justify-center">{translate('plugin_ai_chat_no_messages_placeholder')}</div>;
return (
<div className="tw:flex tw:flex-1 tw:items-center tw:justify-center tw:px-4 tw:text-center">
{translate('plugin_ai_chat_no_messages_placeholder')}
</div>
);
}

return (
Expand Down
2 changes: 1 addition & 1 deletion webapp/packages/plugin-ai-chat/src/locales/en.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export default [
['plugin_ai_chat_label', 'AI Chat'],
['plugin_ai_chat_tooltip', 'Activate AI Database assistant'],
['plugin_ai_chat_no_messages_placeholder', 'What can I help with?'],
['plugin_ai_chat_no_messages_placeholder', 'Get insights from your data. Ask AI to generate a query for your database.'],
['plugin_ai_chat_genegate_message_placeholder', 'Thinking...'],
['plugin_ai_chat_submit_message_placeholder', 'Press {arg:symbol}↵ to submit your message, press Enter to add a new line'],
['plugin_ai_chat_current_conversation_hint', 'Current'],
Expand Down
2 changes: 1 addition & 1 deletion webapp/packages/plugin-ai-chat/src/locales/it.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export default [
['plugin_ai_chat_label', 'AI Chat'],
['plugin_ai_chat_tooltip', 'Activate AI Database assistant'],
['plugin_ai_chat_no_messages_placeholder', 'What can I help with?'],
['plugin_ai_chat_no_messages_placeholder', "Ottieni informazioni dai tuoi dati. Chiedi all'AI di generare una query per il tuo database."],
['plugin_ai_chat_genegate_message_placeholder', 'Thinking...'],
['plugin_ai_chat_submit_message_placeholder', 'Press {arg:symbol}↵ to submit your message, press Enter to add a new line'],
['plugin_ai_chat_current_conversation_hint', 'Current'],
Expand Down
2 changes: 1 addition & 1 deletion webapp/packages/plugin-ai-chat/src/locales/ru.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export default [
['plugin_ai_chat_label', 'AI Чат'],
['plugin_ai_chat_tooltip', 'Включить AI помощника базы данных'],
['plugin_ai_chat_no_messages_placeholder', 'Чем я могу помочь?'],
['plugin_ai_chat_no_messages_placeholder', 'Получайте полезную информацию из данных. Попросите AI создать запрос к вашей базе данных.'],
['plugin_ai_chat_genegate_message_placeholder', 'Думаю...'],
['plugin_ai_chat_submit_message_placeholder', 'Нажмите {arg:symbol}↵ чтобы отправить сообщение, нажмите Enter чтобы добавить новую строку'],
['plugin_ai_chat_current_conversation_hint', 'Текущая'],
Expand Down
2 changes: 1 addition & 1 deletion webapp/packages/plugin-ai-chat/src/locales/zh.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export default [
['plugin_ai_chat_label', 'AI Chat'],
['plugin_ai_chat_tooltip', 'Activate AI Database assistant'],
['plugin_ai_chat_no_messages_placeholder', 'What can I help with?'],
['plugin_ai_chat_no_messages_placeholder', '从数据中获取洞察。让 AI 为您的数据库生成查询。'],
['plugin_ai_chat_genegate_message_placeholder', 'Thinking...'],
['plugin_ai_chat_submit_message_placeholder', 'Press {arg:symbol}↵ to submit your message, press Enter to add a new line'],
['plugin_ai_chat_current_conversation_hint', 'Current'],
Expand Down
Loading