
-
CLI Proxy API
-
Management Center
+
{t('splash.title')}
+
{t('splash.subtitle')}
diff --git a/src/i18n/locales/en.json b/src/i18n/locales/en.json
index 297448a..9407a9b 100644
--- a/src/i18n/locales/en.json
+++ b/src/i18n/locales/en.json
@@ -54,6 +54,10 @@
"login": "CLI Proxy API Management Center",
"abbr": "CPAMC"
},
+ "splash": {
+ "title": "CLI Proxy API",
+ "subtitle": "Management Center"
+ },
"auto_login": {
"title": "Auto Login in Progress...",
"message": "Attempting to connect to server using locally saved connection information"
diff --git a/src/i18n/locales/ru.json b/src/i18n/locales/ru.json
index c299e3f..6ccd1de 100644
--- a/src/i18n/locales/ru.json
+++ b/src/i18n/locales/ru.json
@@ -54,6 +54,10 @@
"login": "Центр управления CLI Proxy API",
"abbr": "CPAMC"
},
+ "splash": {
+ "title": "CLI Proxy API",
+ "subtitle": "Центр управления"
+ },
"auto_login": {
"title": "Автовход...",
"message": "Пытаемся подключиться к серверу, используя сохранённые данные"
diff --git a/src/i18n/locales/zh-CN.json b/src/i18n/locales/zh-CN.json
index a3b65b5..9a2b58a 100644
--- a/src/i18n/locales/zh-CN.json
+++ b/src/i18n/locales/zh-CN.json
@@ -54,6 +54,10 @@
"login": "CLI Proxy API Management Center",
"abbr": "CPAMC"
},
+ "splash": {
+ "title": "CLI Proxy API",
+ "subtitle": "管理中心"
+ },
"auto_login": {
"title": "正在自动登录...",
"message": "正在使用本地保存的连接信息尝试连接服务器"
diff --git a/src/pages/LoginPage.tsx b/src/pages/LoginPage.tsx
index 32068dc..c746bf7 100644
--- a/src/pages/LoginPage.tsx
+++ b/src/pages/LoginPage.tsx
@@ -188,8 +188,8 @@ export function LoginPage() {
/* 启动动画 */

-
CLI Proxy API
-
Management Center
+
{t('splash.title')}
+
{t('splash.subtitle')}
diff --git a/src/pages/OAuthPage.tsx b/src/pages/OAuthPage.tsx
index d92bf9a..0abb268 100644
--- a/src/pages/OAuthPage.tsx
+++ b/src/pages/OAuthPage.tsx
@@ -190,7 +190,7 @@ export function OAuthPage() {
await navigator.clipboard.writeText(url);
showNotification(t('notification.link_copied'), 'success');
} catch {
- showNotification('Copy failed', 'error');
+ showNotification(t('notification.copy_failed'), 'error');
}
};