Skip to content

Commit

Permalink
[Obs AI Assistant] Update the word "chat" to "conversation" across th…
Browse files Browse the repository at this point in the history
…e UI

Closes #196999

## Summary

### Problem
The word "chat" and "conversation" have been used in different parts of
the UI to refer to the same thing, causing some inconsistency.

### Solution
Update all occurrences of "chat" to "conversation"
  • Loading branch information
viduni94 authored Nov 7, 2024
1 parent 705c503 commit 0d4b77f
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export function NewChatButton(
{...nextProps}
>
{i18n.translate('xpack.aiAssistant.newChatButton', {
defaultMessage: 'New chat',
defaultMessage: 'New conversation',
})}
</EuiButton>
) : (
Expand Down
4 changes: 2 additions & 2 deletions x-pack/packages/kbn-ai-assistant/src/chat/chat_flyout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -234,14 +234,14 @@ export function ChatFlyout({
<EuiToolTip
content={i18n.translate(
'xpack.aiAssistant.chatFlyout.euiToolTip.newChatLabel',
{ defaultMessage: 'New chat' }
{ defaultMessage: 'New conversation' }
)}
display="block"
>
<NewChatButton
aria-label={i18n.translate(
'xpack.aiAssistant.chatFlyout.euiButtonIcon.newChatLabel',
{ defaultMessage: 'New chat' }
{ defaultMessage: 'New conversation' }
)}
collapsed
data-test-subj="observabilityAiAssistantNewChatFlyoutButton"
Expand Down
4 changes: 2 additions & 2 deletions x-pack/packages/kbn-ai-assistant/src/chat/chat_header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -142,11 +142,11 @@ export function ChatHeader({
flyoutPositionMode === 'overlay'
? i18n.translate(
'xpack.aiAssistant.chatHeader.euiToolTip.flyoutModeLabel.dock',
{ defaultMessage: 'Dock chat' }
{ defaultMessage: 'Dock conversation' }
)
: i18n.translate(
'xpack.aiAssistant.chatHeader.euiToolTip.flyoutModeLabel.undock',
{ defaultMessage: 'Undock chat' }
{ defaultMessage: 'Undock conversation' }
)
}
display="block"
Expand Down
2 changes: 1 addition & 1 deletion x-pack/packages/kbn-ai-assistant/src/chat/disclaimer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export function Disclaimer() {
>
{i18n.translate('xpack.aiAssistant.disclaimer.disclaimerLabel', {
defaultMessage:
"This chat is powered by an integration with your LLM provider. LLMs are known to sometimes present incorrect information as if it's correct. Elastic supports configuration and connection to the LLM provider and your knowledge base, but is not responsible for the LLM's responses.",
"This conversation is powered by an integration with your LLM provider. LLMs are known to sometimes present incorrect information as if it's correct. Elastic supports configuration and connection to the LLM provider and your knowledge base, but is not responsible for the LLM's responses.",
})}
</EuiText>
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export function StartChatButton(props: React.ComponentProps<typeof EuiButton>) {
{...props}
>
{i18n.translate('xpack.observabilityAiAssistant.insight.response.startChat', {
defaultMessage: 'Start chat',
defaultMessage: 'Start conversation',
})}
</EuiButton>
);
Expand Down

0 comments on commit 0d4b77f

Please sign in to comment.