From 0dd437891f6bf6c27ccdf41c2d4da24ed8b29359 Mon Sep 17 00:00:00 2001 From: kagura-agent Date: Mon, 11 May 2026 14:46:26 +0800 Subject: [PATCH] fix(app): display i18n-translated title in slash command popover The slash command popover rendered only the English trigger text (e.g. '/share', '/undo') as the primary label. The translated title field, which is already properly internationalized across all supported locales, was never displayed. Show the translated title as the primary label and keep the trigger as a subtle secondary hint so users can still discover the actual command text. Fixes #26778 --- packages/app/src/components/prompt-input/slash-popover.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/app/src/components/prompt-input/slash-popover.tsx b/packages/app/src/components/prompt-input/slash-popover.tsx index d8c4bd035c75..d82d49ea8f0f 100644 --- a/packages/app/src/components/prompt-input/slash-popover.tsx +++ b/packages/app/src/components/prompt-input/slash-popover.tsx @@ -110,7 +110,8 @@ export const PromptPopover: Component = (props) => { onMouseEnter={() => props.setSlashActive(cmd.id)} >
- /{cmd.trigger} + {cmd.title} + /{cmd.trigger} {cmd.description}