From 8801aacf3b9a47f702d017c28c05a566d2857af3 Mon Sep 17 00:00:00 2001 From: Lishiling Date: Fri, 13 Feb 2026 10:08:16 +0800 Subject: [PATCH 1/2] =?UTF-8?q?fix:=E4=BF=AE=E6=94=B9=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E6=96=87=E4=BB=B6=E7=9B=AE=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- astrbot/dashboard/routes/stat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/astrbot/dashboard/routes/stat.py b/astrbot/dashboard/routes/stat.py index 666eb4c83..7fc739692 100644 --- a/astrbot/dashboard/routes/stat.py +++ b/astrbot/dashboard/routes/stat.py @@ -295,7 +295,7 @@ async def get_first_notice(self): if locale: candidates.append(base_path / f"FIRST_NOTICE.{locale}.md") if locale.lower().startswith("zh"): - candidates.append(base_path / "FIRST_NOTICE.zh-CN.md") + candidates.append(base_path / "FIRST_NOTICE.md") elif locale.lower().startswith("en"): candidates.append(base_path / "FIRST_NOTICE.en-US.md") From 5bc5de0aac4ea03866e366c632c2d85356597857 Mon Sep 17 00:00:00 2001 From: Lishiling Date: Fri, 13 Feb 2026 10:19:25 +0800 Subject: [PATCH 2/2] =?UTF-8?q?fix:=E6=B7=BB=E5=8A=A0=E5=A4=87=E9=80=89?= =?UTF-8?q?=E7=9A=84FIRST=5FNOTICE.zh-CN.md=E7=94=A8=E4=BA=8E=E5=85=BC?= =?UTF-8?q?=E5=AE=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- astrbot/dashboard/routes/stat.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/astrbot/dashboard/routes/stat.py b/astrbot/dashboard/routes/stat.py index 7fc739692..532238ac7 100644 --- a/astrbot/dashboard/routes/stat.py +++ b/astrbot/dashboard/routes/stat.py @@ -296,13 +296,14 @@ async def get_first_notice(self): candidates.append(base_path / f"FIRST_NOTICE.{locale}.md") if locale.lower().startswith("zh"): candidates.append(base_path / "FIRST_NOTICE.md") + candidates.append(base_path / "FIRST_NOTICE.zh-CN.md") elif locale.lower().startswith("en"): candidates.append(base_path / "FIRST_NOTICE.en-US.md") candidates.extend( [ - base_path / "FIRST_NOTICE.en-US.md", base_path / "FIRST_NOTICE.md", + base_path / "FIRST_NOTICE.en-US.md", ], )