From cc1c96a5f50b30c3103616940d3f86efa44aea92 Mon Sep 17 00:00:00 2001 From: joe <> Date: Thu, 18 May 2023 20:31:20 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=87=20=E4=B8=8B=E8=BC=89=E6=AA=94?= =?UTF-8?q?=E6=A1=88=20=E6=96=87=E5=AD=97=20=E7=A7=BB=E5=87=BA=20function?= =?UTF-8?q?=EF=BC=8C=E9=81=BF=E5=85=8D=E6=9C=89=E6=99=82i18n=E6=9C=83?= =?UTF-8?q?=E7=84=A1=E6=B3=95=E7=BF=BB=E8=AD=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- js/content.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/js/content.js b/js/content.js index 59abd2e..b3bbe58 100644 --- a/js/content.js +++ b/js/content.js @@ -4897,6 +4897,7 @@ function findGroupAndIndex(promptId) { } const PlaceholderKeywordInput = i18n("placeholder_keyword_input"); + const MENU_ITEM_DOWNLOAD_HTML = i18n("menu_item_download_html"); function generateButtons() { const findCustomMenu = document.querySelector(".custom-menu"); @@ -5041,7 +5042,7 @@ function findGroupAndIndex(promptId) { // 下載 const downloadHtmlButton = createButton( - i18n("menu_item_download_html"), + MENU_ITEM_DOWNLOAD_HTML, "secondary", "" );