summaryrefslogtreecommitdiffhomepage
path: root/packages/ui/src/components
diff options
context:
space:
mode:
authorDavid Hill <[email protected]>2026-02-17 15:19:30 +0000
committerDavid Hill <[email protected]>2026-02-17 15:19:30 +0000
commit652a77655461b9ae379d437ae667f6a0b97655eb (patch)
tree73f0e9709bd019a22854e86a909592cad1de984a /packages/ui/src/components
parent1d78100f63e81b7c945c8eda2ce0e42a9986fad2 (diff)
downloadopencode-652a77655461b9ae379d437ae667f6a0b97655eb.tar.gz
opencode-652a77655461b9ae379d437ae667f6a0b97655eb.zip
ui: add clearer 'Copy response' tooltip label for text parts
Diffstat (limited to 'packages/ui/src/components')
-rw-r--r--packages/ui/src/components/message-part.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/ui/src/components/message-part.tsx b/packages/ui/src/components/message-part.tsx
index cd0d8c779..2f75c1807 100644
--- a/packages/ui/src/components/message-part.tsx
+++ b/packages/ui/src/components/message-part.tsx
@@ -991,7 +991,7 @@ PART_MAPPING["text"] = function TextPartDisplay(props) {
<Show when={showCopy()}>
<div data-slot="text-part-copy-wrapper" data-interrupted={interrupted() ? "" : undefined}>
<Tooltip
- value={copied() ? i18n.t("ui.message.copied") : i18n.t("ui.message.copy")}
+ value={copied() ? i18n.t("ui.message.copied") : i18n.t("ui.message.copyResponse")}
placement="top"
gutter={4}
>
@@ -1001,7 +1001,7 @@ PART_MAPPING["text"] = function TextPartDisplay(props) {
variant="ghost"
onMouseDown={(e) => e.preventDefault()}
onClick={handleCopy}
- aria-label={copied() ? i18n.t("ui.message.copied") : i18n.t("ui.message.copy")}
+ aria-label={copied() ? i18n.t("ui.message.copied") : i18n.t("ui.message.copyResponse")}
/>
</Tooltip>
<Show when={meta()}>