mirror of
https://github.com/router-for-me/Cli-Proxy-API-Management-Center.git
synced 2026-02-18 18:50:49 +08:00
fix(i18n): localize splash strings
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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');
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user