From e31d91282b6487a1ffe461f0be7354ba6f6da69e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kry=C5=A1tof=20G=C3=A4rtner?= <111643632+lmnek@users.noreply.github.com> Date: Mon, 2 Mar 2026 19:35:58 +0100 Subject: [PATCH] feat: add specific toast for copying URL as Markdown, p=#12588 --- locales/en-US/browser/browser/zen-general.ftl | 1 + src/zen/common/modules/ZenCommonUtils.mjs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/locales/en-US/browser/browser/zen-general.ftl b/locales/en-US/browser/browser/zen-general.ftl index f75f7b10a..ef3bbe3c5 100644 --- a/locales/en-US/browser/browser/zen-general.ftl +++ b/locales/en-US/browser/browser/zen-general.ftl @@ -47,6 +47,7 @@ pictureinpicture-minimize-btn = zen-panel-ui-gradient-generator-custom-color = Custom Color zen-copy-current-url-confirmation = Copied current URL! +zen-copy-current-url-as-markdown-confirmation = Copied current URL as Markdown! zen-general-cancel-label = .label = Cancel diff --git a/src/zen/common/modules/ZenCommonUtils.mjs b/src/zen/common/modules/ZenCommonUtils.mjs index cfa7f90e5..f4e7b8867 100644 --- a/src/zen/common/modules/ZenCommonUtils.mjs +++ b/src/zen/common/modules/ZenCommonUtils.mjs @@ -115,7 +115,7 @@ window.gZenCommonActions = { const tabTitle = gBrowser.selectedTab.label; const markdownLink = `[${tabTitle}](${currentUrl.displaySpec})`; ClipboardHelper.copyString(markdownLink); - gZenUIManager.showToast("zen-copy-current-url-confirmation", { timeout: 3000 }); + gZenUIManager.showToast("zen-copy-current-url-as-markdown-confirmation", { timeout: 3000 }); }, throttle(f, delay) {