From ee4e772e7c12322d07287a61b25418200e6a9371 Mon Sep 17 00:00:00 2001 From: Aisland Date: Tue, 1 Sep 2026 21:49:58 +0800 Subject: [PATCH] =?UTF-8?q?feat(console):=20=E8=83=8C=E6=99=AF=E8=8F=9C?= =?UTF-8?q?=E5=8D=95=E7=AC=AC=E4=B8=89=E9=A1=B9=E6=94=B9=E5=90=8D=E3=80=8C?= =?UTF-8?q?=E8=87=AA=E5=AE=9A=E4=B9=89=E8=83=8C=E6=99=AF=E3=80=8D=EF=BC=88?= =?UTF-8?q?=E4=BA=8C=E7=BA=A7=E5=86=85=E4=B8=8A=E4=BC=A0=E6=8C=89=E9=92=AE?= =?UTF-8?q?=E4=BB=8D=E4=B8=BA=E3=80=8C=E4=B8=8A=E4=BC=A0=E5=AA=92=E4=BD=93?= =?UTF-8?q?=E3=80=8D=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 01_content/lib/client.js | 4 +++- 01_content/src/client/locales.ts | 2 ++ 01_content/src/client/split.tsx | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/01_content/lib/client.js b/01_content/lib/client.js index 342a44c..60587b7 100644 --- a/01_content/lib/client.js +++ b/01_content/lib/client.js @@ -8463,6 +8463,7 @@ var zh = { "console.bgPlain": "\u7EAF\u8272\u80CC\u666F", "console.bgGlow": "\u6D41\u5149\u80CC\u666F", "console.bgPhoto": "\u4E0A\u4F20\u5A92\u4F53", + "console.bgCustom": "\u81EA\u5B9A\u4E49\u80CC\u666F", "console.bgEdit": "\u80CC\u666F\u8BBE\u7F6E", "console.bgEditPlain": "\u7EAF\u8272\u80CC\u666F\u8BBE\u7F6E", "console.bgEditGlow": "\u6D41\u5149\u80CC\u666F\u8BBE\u7F6E", @@ -8657,6 +8658,7 @@ var en = { "console.bgPlain": "Plain", "console.bgGlow": "Glow", "console.bgPhoto": "Upload media", + "console.bgCustom": "Custom background", "console.bgEdit": "Background settings", "console.bgEditPlain": "Plain background", "console.bgEditGlow": "Glow background", @@ -17816,7 +17818,7 @@ function ConsolePane() { /* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", { cx: "5.8", cy: "6.6", r: "1.1", fill: "currentColor" }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M3.2 11.2l2.8-2.8 2.2 2.2 1.8-1.8 2.8 2.4", fill: "none", stroke: "currentColor", strokeWidth: "1.2" }) ] }), - T("console.bgPhoto") + T("console.bgCustom") ] }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("button", { type: "button", className: "dsh-wt_dropGear", title: T("console.bgEdit"), "aria-label": T("console.bgEdit"), onClick: () => setBgEdit("photo"), children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(SliderIcon, {}) }) ] }) diff --git a/01_content/src/client/locales.ts b/01_content/src/client/locales.ts index 75fba7b..2ece68b 100644 --- a/01_content/src/client/locales.ts +++ b/01_content/src/client/locales.ts @@ -123,6 +123,7 @@ export const zh = { 'console.bgPlain': '纯色背景', 'console.bgGlow': '流光背景', 'console.bgPhoto': '上传媒体', + 'console.bgCustom': '自定义背景', 'console.bgEdit': '背景设置', 'console.bgEditPlain': '纯色背景设置', 'console.bgEditGlow': '流光背景设置', @@ -322,6 +323,7 @@ export const en = { 'console.bgPlain': 'Plain', 'console.bgGlow': 'Glow', 'console.bgPhoto': 'Upload media', + 'console.bgCustom': 'Custom background', 'console.bgEdit': 'Background settings', 'console.bgEditPlain': 'Plain background', 'console.bgEditGlow': 'Glow background', diff --git a/01_content/src/client/split.tsx b/01_content/src/client/split.tsx index 0507c9a..7d8a379 100644 --- a/01_content/src/client/split.tsx +++ b/01_content/src/client/split.tsx @@ -1442,7 +1442,7 @@ function ConsolePane() {
- +