From 387721e9078b9cc38c219fdd427965f58475bd23 Mon Sep 17 00:00:00 2001
From: "Apple\\Apple"
Date: Sat, 7 Jun 2025 22:55:12 +0800
Subject: [PATCH] =?UTF-8?q?=F0=9F=94=97feat(ui):=20Enhance=20About=20page?=
=?UTF-8?q?=20with=20interactive=20project=20links=20and=20improve=20exter?=
=?UTF-8?q?nal=20link=20handling?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
web/src/i18n/locales/en.json | 3 ++-
web/src/pages/About/index.js | 13 ++++++++++---
2 files changed, 12 insertions(+), 4 deletions(-)
diff --git a/web/src/i18n/locales/en.json b/web/src/i18n/locales/en.json
index d9df1088..82625b67 100644
--- a/web/src/i18n/locales/en.json
+++ b/web/src/i18n/locales/en.json
@@ -1406,7 +1406,8 @@
"New API项目仓库地址:": "New API project repository address: ",
"© {{currentYear}}": "© {{currentYear}}",
"| 基于": " | Based on ",
- "© 2023 JustSong。": "© 2023 JustSong.",
+ "MIT许可证": "MIT License",
+ "Apache-2.0协议": "Apache-2.0 License",
"本项目根据": "This project is licensed under the ",
"授权,需在遵守": " and must be used in compliance with the ",
"的前提下使用。": ".",
diff --git a/web/src/pages/About/index.js b/web/src/pages/About/index.js
index 78de9185..78a77163 100644
--- a/web/src/pages/About/index.js
+++ b/web/src/pages/About/index.js
@@ -71,7 +71,14 @@ const About = () => {
className="!text-semi-color-primary hover:!text-semi-color-primary-hover transition-colors"
>
One API v0.5.4
- {t('© 2023 JustSong。')}
+ © 2023
+ JustSong
+
{t('本项目根据')}
@@ -81,7 +88,7 @@ const About = () => {
rel="noopener noreferrer"
className="!text-semi-color-primary hover:!text-semi-color-primary-hover transition-colors"
>
- MIT许可证
+ {t('MIT许可证')}
{t('授权,需在遵守')}
{
rel="noopener noreferrer"
className="!text-semi-color-primary hover:!text-semi-color-primary-hover transition-colors"
>
- Apache-2.0协议
+ {t('Apache-2.0协议')}
{t('的前提下使用。')}