diff --git a/src/assistant/Conversations/Conversation.jsx b/src/assistant/Conversations/Conversation.jsx
index f7fd3bc9a..a1f64dc33 100644
--- a/src/assistant/Conversations/Conversation.jsx
+++ b/src/assistant/Conversations/Conversation.jsx
@@ -1,31 +1,11 @@
import React from 'react'
import { useQuery, isQueryLoading } from 'cozy-client'
-import { useI18n } from 'cozy-ui/transpiled/react/providers/I18n'
import { buildMyselfQuery } from '../queries'
-import ChatAssistantItem from './ChatAssistantItem'
import ChatConversation from './ChatConversation'
-const Conversation = ({ id, myself }) => {
- const { t } = useI18n()
- const givenName = myself.name?.givenName
-
- return (
-
-
- {id && }
-
- )
-}
-
-const ConversationWithQuery = ({ id }) => {
+const Conversation = ({ id }) => {
const myselfQuery = buildMyselfQuery()
const { data: myselves, ...queryMyselfResult } = useQuery(
myselfQuery.definition,
@@ -36,7 +16,11 @@ const ConversationWithQuery = ({ id }) => {
if (isLoading) return null
- return
+ return (
+
+
+
+ )
}
-export default ConversationWithQuery
+export default Conversation
diff --git a/src/locales/de.json b/src/locales/de.json
index 181330a95..fd8eb930d 100644
--- a/src/locales/de.json
+++ b/src/locales/de.json
@@ -8,8 +8,6 @@
"dialog": {
"close": "Schließen"
},
- "hello_name":"Hallo %{name}, was kann ich für Sie tun?",
- "hello":"Hallo, was kann ich für Sie tun?",
"name":"Cozy Assistent",
"sources":"%{smart_count} Quelle |||| %{smart_count} Quellen",
"suggestions": {
diff --git a/src/locales/en.json b/src/locales/en.json
index 827cc2e63..d9231e996 100644
--- a/src/locales/en.json
+++ b/src/locales/en.json
@@ -8,8 +8,6 @@
"dialog": {
"close": "Close"
},
- "hello_name":"Hello %{name}, what can I do for you?",
- "hello":"Hello, what can I do for you?",
"name":"Cozy Assistant",
"sources":"%{smart_count} source |||| %{smart_count} sources",
"suggestions": {
diff --git a/src/locales/es.json b/src/locales/es.json
index a06c665c9..41da053f7 100644
--- a/src/locales/es.json
+++ b/src/locales/es.json
@@ -8,8 +8,6 @@
"dialog": {
"close": "Cerrar"
},
- "hello_name":"Hola %{name}, ¿en qué puedo ayudarle?",
- "hello":"Hola, ¿en qué puedo ayudarle?",
"name":"Asistente Cozy",
"sources":"%{smart_count} fuente |||| %{smart_count} fuentes",
"suggestions": {
diff --git a/src/locales/fr.json b/src/locales/fr.json
index 6815144db..c200de527 100644
--- a/src/locales/fr.json
+++ b/src/locales/fr.json
@@ -8,8 +8,6 @@
"dialog": {
"close": "Fermer"
},
- "hello_name":"Bonjour %{name}, que puis-je faire pour vous ?",
- "hello":"Bonjour, que puis-je faire pour vous ?",
"name":"Assistant Cozy",
"sources":"%{smart_count} source |||| %{smart_count} sources",
"suggestions": {
diff --git a/src/locales/it.json b/src/locales/it.json
index e6aeced2a..d478e5c8e 100644
--- a/src/locales/it.json
+++ b/src/locales/it.json
@@ -8,8 +8,6 @@
"dialog": {
"close": "Chiudere"
},
- "hello_name":"Salve %{name}, cosa posso fare per lei?",
- "hello":"Salve, cosa posso fare per lei?",
"name":"Assistente Cozy",
"sources":"%{smart_count} fonte |||| %{smart_count} fonti",
"suggestions": {
diff --git a/src/locales/ja.json b/src/locales/ja.json
index 902abf79a..d52780929 100644
--- a/src/locales/ja.json
+++ b/src/locales/ja.json
@@ -8,8 +8,6 @@
"dialog": {
"close": "閉じる"
},
- "hello_name":"${name}さん、こんにちは。",
- "hello":"こんにちは、何かご用ですか?",
"name":"アシスタント Cozy",
"sources":"%{smart_count} ソース |||| %{smart_count} ソース",
"suggestions": {
diff --git a/src/locales/nl_NL.json b/src/locales/nl_NL.json
index 4678ffbe7..dcf5e7c0e 100644
--- a/src/locales/nl_NL.json
+++ b/src/locales/nl_NL.json
@@ -8,8 +8,6 @@
"dialog": {
"close": "Sluit"
},
- "hello_name":"Hallo %{name}, wat kan ik voor je doen?",
- "hello":"Hallo, wat kan ik voor u doen?",
"name":"Cozy Assistent",
"sources":"%{smart_count} bron |||| %{smart_count} bronnen",
"suggestions": {