From 8342fa9f3b117fa3fead180f20a2d79d078c72b6 Mon Sep 17 00:00:00 2001 From: Sarah Rietkerk Date: Thu, 9 Apr 2026 23:32:52 +0000 Subject: [PATCH] update label for card action buttons --- webapp/src/projects.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/src/projects.tsx b/webapp/src/projects.tsx index 7d1f73a68047..e57b250d2a78 100644 --- a/webapp/src/projects.tsx +++ b/webapp/src/projects.tsx @@ -1359,7 +1359,7 @@ function codeCardUrl(props: Partial) { function cardActionButton(props: Partial, className: string, text: string, type: pxt.CodeCardType, onClick: any, autoFocus?: boolean, actionTitle?: string, linkRef?: React.RefObject) { const asLink = cardIsLink(props, type) && type != "forumExample"; - const label = asLink ? lf("Open link in new window") : lf("Open in {0}", actionTitle || lf("Editor")); + const label = asLink ? lf("{0}, opens in new window", text) : lf("{0}, opens in {1}", text, actionTitle || lf("Editor")); return asLink ? // TODO (shakao) migrate forumurl to otherAction json in md