fix(i18n): localize splash strings

This commit is contained in:
Supra4E8C
2026-02-14 00:24:52 +08:00
parent f003a34dc0
commit 3937a403b1
6 changed files with 20 additions and 5 deletions

View File

@@ -188,8 +188,8 @@ export function LoginPage() {
/* 启动动画 */
<div className={styles.splashContent}>
<img src={INLINE_LOGO_JPEG} alt="CPAMC" className={styles.splashLogo} />
<h1 className={styles.splashTitle}>CLI Proxy API</h1>
<p className={styles.splashSubtitle}>Management Center</p>
<h1 className={styles.splashTitle}>{t('splash.title')}</h1>
<p className={styles.splashSubtitle}>{t('splash.subtitle')}</p>
<div className={styles.splashLoader}>
<div className={styles.splashLoaderBar} />
</div>

View File

@@ -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');
}
};