Skip to content

Commit

Permalink
💄 style: left sidebar has only assistants (lobehub#4108)
Browse files Browse the repository at this point in the history
  • Loading branch information
phuctm97 authored Sep 24, 2024
1 parent bc264fe commit db1f81c
Show file tree
Hide file tree
Showing 19 changed files with 38 additions and 38 deletions.
4 changes: 2 additions & 2 deletions locales/ar/chat.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"agentDefaultMessage": "مرحبًا، أنا **{{name}}**، يمكنك بدء المحادثة معي على الفور، أو يمكنك الذهاب إلى [إعدادات المساعد]({{url}}) لإكمال معلوماتي.",
"agentDefaultMessageWithSystemRole": "مرحبًا، أنا **{{name}}**، {{systemRole}}، دعنا نبدأ الدردشة!",
"agentDefaultMessageWithoutEdit": "مرحبًا، أنا **{{name}}**، دعنا نبدأ المحادثة!",
"agentsAndConversations": "الوكلاء والمحادثات",
"agents": "مساعد",
"artifact": {
"generating": "جاري الإنشاء",
"thinking": "جاري التفكير",
Expand Down Expand Up @@ -81,7 +81,7 @@
},
"regenerate": "إعادة الإنشاء",
"roleAndArchive": "الدور والأرشيف",
"searchAgentPlaceholder": "البحث عن مساعد ومحادثة...",
"searchAgentPlaceholder": "مساعد البحث...",
"sendPlaceholder": "أدخل محتوى الدردشة...",
"sessionGroup": {
"config": "إدارة المجموعات",
Expand Down
4 changes: 2 additions & 2 deletions locales/bg-BG/chat.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"agentDefaultMessage": "Здравейте, аз съм **{{name}}**, можете да започнете разговор с мен веднага или да отидете на [Настройки на асистента]({{url}}), за да попълните информацията ми.",
"agentDefaultMessageWithSystemRole": "Здравей, аз съм **{{name}}**, {{systemRole}}. Нека започнем да чатим!",
"agentDefaultMessageWithoutEdit": "Здравей, аз съм **{{name}}** и нека започнем разговора!",
"agentsAndConversations": "агенти и разговори",
"agents": "Асистент",
"artifact": {
"generating": "Генериране",
"thinking": "В процес на мислене",
Expand Down Expand Up @@ -81,7 +81,7 @@
},
"regenerate": "Прегенерирай",
"roleAndArchive": "Роля и архив",
"searchAgentPlaceholder": "Търсене на агенти и разговори...",
"searchAgentPlaceholder": "Търсач на помощ...",
"sendPlaceholder": "Напиши съобщението си тук...",
"sessionGroup": {
"config": "Управление на групи",
Expand Down
4 changes: 2 additions & 2 deletions locales/de-DE/chat.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"agentDefaultMessage": "Hallo, ich bin **{{name}}**. Du kannst sofort mit mir sprechen oder zu den [Assistenteneinstellungen]({{url}}) gehen, um meine Informationen zu vervollständigen.",
"agentDefaultMessageWithSystemRole": "Hallo, ich bin **{{name}}**, {{systemRole}}. Lass uns chatten!",
"agentDefaultMessageWithoutEdit": "Hallo, ich bin **{{name}}**. Lassen Sie uns ins Gespräch kommen!",
"agentsAndConversations": "Agenten und Unterhaltungen",
"agents": "Assistent",
"artifact": {
"generating": "Wird generiert",
"thinking": "Denken",
Expand Down Expand Up @@ -81,7 +81,7 @@
},
"regenerate": "Neu generieren",
"roleAndArchive": "Rolle und Archiv",
"searchAgentPlaceholder": "Assistenten und Unterhaltungen durchsuchen...",
"searchAgentPlaceholder": "Suchassistent...",
"sendPlaceholder": "Chat-Nachricht eingeben...",
"sessionGroup": {
"config": "Gruppenkonfiguration",
Expand Down
4 changes: 2 additions & 2 deletions locales/en-US/chat.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"agentDefaultMessage": "Hello, I am **{{name}}**. You can start a conversation with me right away, or you can go to [Assistant Settings]({{url}}) to complete my information.",
"agentDefaultMessageWithSystemRole": "Hello, I'm **{{name}}**, {{systemRole}}. Let's start chatting!",
"agentDefaultMessageWithoutEdit": "Hello, I'm **{{name}}**, let's start chatting!",
"agentsAndConversations": "Assistants and Conversations",
"agents": "Assistants",
"artifact": {
"generating": "Generating",
"thinking": "Thinking",
Expand Down Expand Up @@ -81,7 +81,7 @@
},
"regenerate": "Regenerate",
"roleAndArchive": "Role and Archive",
"searchAgentPlaceholder": "Search assistants and conversations...",
"searchAgentPlaceholder": "Search assistants...",
"sendPlaceholder": "Type your message here...",
"sessionGroup": {
"config": "Group Management",
Expand Down
4 changes: 2 additions & 2 deletions locales/es-ES/chat.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"agentDefaultMessage": "Hola, soy **{{name}}**. Puedes comenzar a hablar conmigo de inmediato o ir a [Configuración del asistente]({{url}}) para completar mi información.",
"agentDefaultMessageWithSystemRole": "Hola, soy **{{name}}**, {{systemRole}}, ¡comencemos a chatear!",
"agentDefaultMessageWithoutEdit": "¡Hola, soy **{{name}}**! Comencemos nuestra conversación.",
"agentsAndConversations": "agentesYConversaciones",
"agents": "Asistente",
"artifact": {
"generating": "Generando",
"thinking": "Pensando",
Expand Down Expand Up @@ -81,7 +81,7 @@
},
"regenerate": "Regenerar",
"roleAndArchive": "Rol y archivo",
"searchAgentPlaceholder": "Buscar asistentes y conversaciones...",
"searchAgentPlaceholder": "Asistente de búsqueda...",
"sendPlaceholder": "Escribe tu mensaje...",
"sessionGroup": {
"config": "Gestión de grupos",
Expand Down
4 changes: 2 additions & 2 deletions locales/fr-FR/chat.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"agentDefaultMessage": "Bonjour, je suis **{{name}}**, vous pouvez commencer à discuter avec moi immédiatement ou vous rendre dans [Paramètres de l'assistant]({{url}}) pour compléter mes informations.",
"agentDefaultMessageWithSystemRole": "Bonjour, je suis **{{name}}**, {{systemRole}}. Commençons la conversation !",
"agentDefaultMessageWithoutEdit": "Bonjour, je suis **{{name}}**. Commençons notre conversation !",
"agentsAndConversations": "Agents et conversations",
"agents": "Assistant",
"artifact": {
"generating": "Génération en cours",
"thinking": "En réflexion",
Expand Down Expand Up @@ -81,7 +81,7 @@
},
"regenerate": "Regénérer",
"roleAndArchive": "Rôle et archivage",
"searchAgentPlaceholder": "Rechercher des agents et des conversations...",
"searchAgentPlaceholder": "Assistant de recherche...",
"sendPlaceholder": "Saisissez votre message...",
"sessionGroup": {
"config": "Gestion des groupes",
Expand Down
4 changes: 2 additions & 2 deletions locales/it-IT/chat.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"agentDefaultMessage": "Ciao, sono **{{name}}**, puoi iniziare subito a parlare con me oppure andare su [Impostazioni assistente]({{url}}) per completare le mie informazioni.",
"agentDefaultMessageWithSystemRole": "Ciao, sono **{{name}}**, {{systemRole}}, iniziamo a chattare!",
"agentDefaultMessageWithoutEdit": "Ciao, sono **{{name}}**. Cominciamo a chiacchierare!",
"agentsAndConversations": "Assistenti e Conversazioni",
"agents": "Assistente",
"artifact": {
"generating": "Generazione in corso",
"thinking": "In fase di riflessione",
Expand Down Expand Up @@ -81,7 +81,7 @@
},
"regenerate": "Rigenera",
"roleAndArchive": "Ruolo e archivio",
"searchAgentPlaceholder": "Cerca assistente e conversazioni...",
"searchAgentPlaceholder": "Assistente di ricerca...",
"sendPlaceholder": "Inserisci il testo della chat...",
"sessionGroup": {
"config": "Gestione gruppi",
Expand Down
4 changes: 2 additions & 2 deletions locales/ja-JP/chat.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"agentDefaultMessage": "こんにちは、私は **{{name}}** です。すぐに私と会話を始めることもできますし、[アシスタント設定]({{url}}) に行って私の情報を充実させることもできます。",
"agentDefaultMessageWithSystemRole": "こんにちは、私は **{{name}}** です、{{systemRole}}、さあ、チャットを始めましょう!",
"agentDefaultMessageWithoutEdit": "こんにちは、私は**{{name}}**です。会話しましょう!",
"agentsAndConversations": "エージェントと会話",
"agents": "エージェント",
"artifact": {
"generating": "生成中",
"thinking": "思考中",
Expand Down Expand Up @@ -81,7 +81,7 @@
},
"regenerate": "再生成",
"roleAndArchive": "役割とアーカイブ",
"searchAgentPlaceholder": "エージェントや会話を検索...",
"searchAgentPlaceholder": "検索アシスタント...",
"sendPlaceholder": "チャット内容を入力してください...",
"sessionGroup": {
"config": "グループ設定",
Expand Down
4 changes: 2 additions & 2 deletions locales/ko-KR/chat.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"agentDefaultMessage": "안녕하세요, 저는 **{{name}}**입니다. 지금 바로 저와 대화를 시작하시거나 [도우미 설정]({{url}})으로 가셔서 제 정보를 완성하실 수 있습니다.",
"agentDefaultMessageWithSystemRole": "안녕하세요, 저는 **{{name}}**입니다. {{systemRole}}입니다. 대화를 시작해 봅시다!",
"agentDefaultMessageWithoutEdit": "안녕하세요, 저는 **{{name}}**입니다. 대화를 시작해보세요!",
"agentsAndConversations": "에이전트 및 대화",
"agents": "도우미",
"artifact": {
"generating": "생성 중",
"thinking": "생각 중",
Expand Down Expand Up @@ -81,7 +81,7 @@
},
"regenerate": "재생성",
"roleAndArchive": "역할 및 아카이브",
"searchAgentPlaceholder": "도우미 및 대화 검색...",
"searchAgentPlaceholder": "검색 도우미...",
"sendPlaceholder": "채팅 내용 입력...",
"sessionGroup": {
"config": "그룹 설정",
Expand Down
4 changes: 2 additions & 2 deletions locales/nl-NL/chat.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"agentDefaultMessage": "Hallo, ik ben **{{name}}**. Je kunt meteen met me beginnen praten, of je kunt naar [Assistentinstellingen]({{url}}) gaan om mijn informatie aan te vullen.",
"agentDefaultMessageWithSystemRole": "Hallo, ik ben **{{name}}**, {{systemRole}}, laten we beginnen met praten!",
"agentDefaultMessageWithoutEdit": "Hallo, ik ben **{{name}}**. Laten we beginnen met een gesprek!",
"agentsAndConversations": "agenten en gesprekken",
"agents": "Assistent",
"artifact": {
"generating": "Genereren",
"thinking": "Denken",
Expand Down Expand Up @@ -81,7 +81,7 @@
},
"regenerate": "Opnieuw genereren",
"roleAndArchive": "Rol en archief",
"searchAgentPlaceholder": "Zoek assistenten en gesprekken...",
"searchAgentPlaceholder": "Zoekassistent...",
"sendPlaceholder": "Voer chatbericht in...",
"sessionGroup": {
"config": "Groepsbeheer",
Expand Down
4 changes: 2 additions & 2 deletions locales/pl-PL/chat.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"agentDefaultMessage": "Cześć, jestem **{{name}}**, możesz od razu rozpocząć ze mną rozmowę lub przejść do [ustawień asystenta]({{url}}), aby uzupełnić moje informacje.",
"agentDefaultMessageWithSystemRole": "Cześć, jestem **{{name}}**, {{systemRole}}, zacznijmy rozmowę!",
"agentDefaultMessageWithoutEdit": "Cześć, jestem **{{name}}**. Zacznijmy rozmowę!",
"agentsAndConversations": "Agenci i rozmowy",
"agents": "Asystent",
"artifact": {
"generating": "Generowanie",
"thinking": "Myślenie",
Expand Down Expand Up @@ -81,7 +81,7 @@
},
"regenerate": "Wygeneruj ponownie",
"roleAndArchive": "Rola i archiwum",
"searchAgentPlaceholder": "Szukaj asystentów i rozmów...",
"searchAgentPlaceholder": "Wyszukaj pomocnika...",
"sendPlaceholder": "Wpisz treść rozmowy...",
"sessionGroup": {
"config": "Zarządzanie grupami",
Expand Down
4 changes: 2 additions & 2 deletions locales/pt-BR/chat.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"agentDefaultMessage": "Olá, eu sou **{{name}}**, você pode começar a conversar comigo agora ou ir para [Configurações do Assistente]({{url}}) para completar minhas informações.",
"agentDefaultMessageWithSystemRole": "Olá, eu sou **{{name}}**, {{systemRole}}, vamos conversar!",
"agentDefaultMessageWithoutEdit": "Olá, sou o **{{name}}**, vamos começar a conversa!",
"agentsAndConversations": "Agentes e Conversas",
"agents": "Assistente",
"artifact": {
"generating": "Gerando",
"thinking": "Pensando",
Expand Down Expand Up @@ -81,7 +81,7 @@
},
"regenerate": "Regenerar",
"roleAndArchive": "Função e Arquivo",
"searchAgentPlaceholder": "Pesquisar assistentes e conversas...",
"searchAgentPlaceholder": "Assistente de busca...",
"sendPlaceholder": "Digite a mensagem...",
"sessionGroup": {
"config": "Gerenciar grupos",
Expand Down
4 changes: 2 additions & 2 deletions locales/ru-RU/chat.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"agentDefaultMessage": "Здравствуйте, я **{{name}}**. Вы можете сразу начать со мной разговор или перейти в [настройки помощника]({{url}}), чтобы дополнить мою информацию.",
"agentDefaultMessageWithSystemRole": "Привет, я **{{name}}**, {{systemRole}}. Давай начнем разговор!",
"agentDefaultMessageWithoutEdit": "Привет, я **{{name}}**, давай начнём разговор!",
"agentsAndConversations": "Агенты и беседы",
"agents": "Ассистент",
"artifact": {
"generating": "Генерация",
"thinking": "В процессе размышлений",
Expand Down Expand Up @@ -81,7 +81,7 @@
},
"regenerate": "Сгенерировать заново",
"roleAndArchive": "Роль и архив",
"searchAgentPlaceholder": "Поиск помощников и разговоров...",
"searchAgentPlaceholder": "Поиск помощника...",
"sendPlaceholder": "Введите сообщение...",
"sessionGroup": {
"config": "Управление группами",
Expand Down
4 changes: 2 additions & 2 deletions locales/tr-TR/chat.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"agentDefaultMessage": "Merhaba, ben **{{name}}**. Hemen benimle konuşmaya başlayabilir veya [Asistan Ayarları]({{url}}) sayfasına giderek bilgilerimi güncelleyebilirsin.",
"agentDefaultMessageWithSystemRole": "Merhaba, Ben **{{name}}**, {{systemRole}}. Hemen sohbet etmeye başlayalım!",
"agentDefaultMessageWithoutEdit": "Merhaba, ben **{{name}}**. Konuşmaya başlayalım!",
"agentsAndConversations": "Ajanlar ve Konuşmalar",
"agents": "Asistan",
"artifact": {
"generating": "Üretiliyor",
"thinking": "Düşünülüyor",
Expand Down Expand Up @@ -81,7 +81,7 @@
},
"regenerate": "Tekrarla",
"roleAndArchive": "Rol ve Arşiv",
"searchAgentPlaceholder": "Arama yardımcıları ve konuşmalar...",
"searchAgentPlaceholder": "Arama Asistanı...",
"sendPlaceholder": "Mesajınızı buraya yazın...",
"sessionGroup": {
"config": "Grup Yönetimi",
Expand Down
4 changes: 2 additions & 2 deletions locales/vi-VN/chat.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"agentDefaultMessage": "Xin chào, tôi là **{{name}}**, bạn có thể bắt đầu trò chuyện với tôi ngay bây giờ, hoặc bạn có thể đến [Cài đặt trợ lý]({{url}}) để hoàn thiện thông tin của tôi.",
"agentDefaultMessageWithSystemRole": "Xin chào, tôi là **{{name}}**, {{systemRole}}. Hãy bắt đầu trò chuyện ngay!",
"agentDefaultMessageWithoutEdit": "Xin chào, tôi là **{{name}}**, chúng ta hãy bắt đầu trò chuyện nào!",
"agentsAndConversations": "Người hỗ trợ và cuộc trò chuyện",
"agents": "Trợ lý",
"artifact": {
"generating": "Đang tạo",
"thinking": "Đang suy nghĩ",
Expand Down Expand Up @@ -81,7 +81,7 @@
},
"regenerate": "Tạo lại",
"roleAndArchive": "Vai trò và lưu trữ",
"searchAgentPlaceholder": "Tìm kiếm trợ và cuộc trò chuyện...",
"searchAgentPlaceholder": "Trợ tìm kiếm...",
"sendPlaceholder": "Nhập nội dung trò chuyện...",
"sessionGroup": {
"config": "Quản lý nhóm",
Expand Down
4 changes: 2 additions & 2 deletions locales/zh-CN/chat.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"agentDefaultMessage": "你好,我是 **{{name}}**,你可以立即与我开始对话,也可以前往 [助手设置]({{url}}) 完善我的信息。",
"agentDefaultMessageWithSystemRole": "你好,我是 **{{name}}**,{{systemRole}},让我们开始对话吧!",
"agentDefaultMessageWithoutEdit": "你好,我是 **{{name}}**,让我们开始对话吧!",
"agentsAndConversations": "助手与会话",
"agents": "助手",
"artifact": {
"generating": "生成中",
"thinking": "思考中",
Expand Down Expand Up @@ -81,7 +81,7 @@
},
"regenerate": "重新生成",
"roleAndArchive": "角色与记录",
"searchAgentPlaceholder": "搜索助手和对话...",
"searchAgentPlaceholder": "搜索助手...",
"sendPlaceholder": "输入聊天内容...",
"sessionGroup": {
"config": "分组管理",
Expand Down
4 changes: 2 additions & 2 deletions locales/zh-TW/chat.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"agentDefaultMessage": "你好,我是 **{{name}}**,你可以立即與我開始對話,也可以前往 [助手設定]({{url}}) 完善我的資訊。",
"agentDefaultMessageWithSystemRole": "你好,我是 **{{name}}**,{{systemRole}},讓我們開始對話吧!",
"agentDefaultMessageWithoutEdit": "你好,我是 **{{name}}**,讓我們開始對話吧!",
"agentsAndConversations": "助理與對話",
"agents": "助手",
"artifact": {
"generating": "生成中",
"thinking": "思考中",
Expand Down Expand Up @@ -81,7 +81,7 @@
},
"regenerate": "重新生成",
"roleAndArchive": "角色與記錄",
"searchAgentPlaceholder": "搜索助手和對話...",
"searchAgentPlaceholder": "搜尋助手...",
"sendPlaceholder": "輸入聊天內容...",
"sessionGroup": {
"config": "分組管理",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ const Main = memo(() => {
<Flexbox align={'center'} gap={4} horizontal>
{
<ActionIcon
aria-label={t('agentsAndConversations')}
aria-label={t('agents')}
icon={showSessionPanel ? PanelLeftClose : PanelLeftOpen}
onClick={() => {
updateSystemStatus({
Expand All @@ -60,7 +60,7 @@ const Main = memo(() => {
});
}}
size={DESKTOP_HEADER_ICON_SIZE}
title={t('agentsAndConversations')}
title={t('agents')}
/>
}
<Avatar
Expand Down
4 changes: 2 additions & 2 deletions src/locales/default/chat.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export default {
'你好,我是 **{{name}}**,你可以立即与我开始对话,也可以前往 [助手设置]({{url}}) 完善我的信息。',
agentDefaultMessageWithSystemRole: '你好,我是 **{{name}}**,{{systemRole}},让我们开始对话吧!',
agentDefaultMessageWithoutEdit: '你好,我是 **{{name}}**,让我们开始对话吧!',
agentsAndConversations: '助手与会话',
agents: '助手',
artifact: {
generating: '生成中',
thinking: '思考中',
Expand Down Expand Up @@ -83,7 +83,7 @@ export default {
},
regenerate: '重新生成',
roleAndArchive: '角色与记录',
searchAgentPlaceholder: '搜索助手和对话...',
searchAgentPlaceholder: '搜索助手...',
sendPlaceholder: '输入聊天内容...',
sessionGroup: {
config: '分组管理',
Expand Down

0 comments on commit db1f81c

Please sign in to comment.