diff --git a/apps/web/tests/expected/device-pairing/completion-checking.expected.md b/apps/web/tests/expected/device-pairing/completion-checking.expected.md index 30145c8b3a..f32b6e657f 100644 --- a/apps/web/tests/expected/device-pairing/completion-checking.expected.md +++ b/apps/web/tests/expected/device-pairing/completion-checking.expected.md @@ -1,7 +1,7 @@ - main: - region "连接到此 Host": - heading "连接到此 Host" [level=1] - - paragraph: 登录以继续 + - paragraph: 请用以下任意方式验证登录 - text: 登录令牌或链接 - textbox "登录令牌或链接" - paragraph: 登录令牌位于此 Host 启动时输出的 URL 中 diff --git a/apps/web/tests/expected/device-pairing/recovery-error.en.expected.md b/apps/web/tests/expected/device-pairing/recovery-error.en.expected.md index d501227dd8..3b37a31511 100644 --- a/apps/web/tests/expected/device-pairing/recovery-error.en.expected.md +++ b/apps/web/tests/expected/device-pairing/recovery-error.en.expected.md @@ -1,7 +1,7 @@ - main: - region "Connect to this Host": - heading "Connect to this Host" [level=1] - - paragraph: Sign in to continue. + - paragraph: Use one of the methods below to sign in. - text: Login token or link - textbox "Login token or link" - paragraph: Find the token in the URL printed when this Host started. diff --git a/apps/web/tests/expected/device-pairing/recovery-error.zh.expected.md b/apps/web/tests/expected/device-pairing/recovery-error.zh.expected.md index 9cee3476fa..fe680a893a 100644 --- a/apps/web/tests/expected/device-pairing/recovery-error.zh.expected.md +++ b/apps/web/tests/expected/device-pairing/recovery-error.zh.expected.md @@ -1,7 +1,7 @@ - main: - region "连接到此 Host": - heading "连接到此 Host" [level=1] - - paragraph: 登录以继续 + - paragraph: 请用以下任意方式验证登录 - text: 登录令牌或链接 - textbox "登录令牌或链接" - paragraph: 登录令牌位于此 Host 启动时输出的 URL 中 diff --git a/apps/web/tests/expected/device-pairing/request.expected.md b/apps/web/tests/expected/device-pairing/request.expected.md index 070bc536d2..90354752c9 100644 --- a/apps/web/tests/expected/device-pairing/request.expected.md +++ b/apps/web/tests/expected/device-pairing/request.expected.md @@ -1,7 +1,7 @@ - main: - region "连接到此 Host": - heading "连接到此 Host" [level=1] - - paragraph: 登录以继续 + - paragraph: 请用以下任意方式验证登录 - text: 登录令牌或链接 - textbox "登录令牌或链接" - paragraph: 登录令牌位于此 Host 启动时输出的 URL 中 diff --git a/apps/web/tests/expected/remote-connection/anonymous-login.expected.md b/apps/web/tests/expected/remote-connection/anonymous-login.expected.md index 63a0383b09..b025d705cf 100644 --- a/apps/web/tests/expected/remote-connection/anonymous-login.expected.md +++ b/apps/web/tests/expected/remote-connection/anonymous-login.expected.md @@ -1,7 +1,7 @@ - main: - region "连接到此 Host": - heading "连接到此 Host" [level=1] - - paragraph: 登录以继续 + - paragraph: 请用以下任意方式验证登录 - text: 登录令牌或链接 - textbox "登录令牌或链接": - /placeholder: {{application-url}}?token=xxx diff --git a/apps/web/tests/expected/remote-connection/anonymous-rejected.expected.md b/apps/web/tests/expected/remote-connection/anonymous-rejected.expected.md index 90df94fa81..753ab6999c 100644 --- a/apps/web/tests/expected/remote-connection/anonymous-rejected.expected.md +++ b/apps/web/tests/expected/remote-connection/anonymous-rejected.expected.md @@ -1,7 +1,7 @@ - main: - region "连接到此 Host": - heading "连接到此 Host" [level=1] - - paragraph: 登录以继续 + - paragraph: 请用以下任意方式验证登录 - text: 登录令牌或链接 - textbox "登录令牌或链接" [invalid]: - /placeholder: {{application-url}}?token=xxx diff --git a/packages/client/remote-connection/src/login-locales.ts b/packages/client/remote-connection/src/login-locales.ts index 4ae1ec1ae2..db4eab130d 100644 --- a/packages/client/remote-connection/src/login-locales.ts +++ b/packages/client/remote-connection/src/login-locales.ts @@ -9,7 +9,7 @@ export const loginLocales = { networkFailed: 'Could not confirm QR sign-in. Check your connection and open the app to check, or use another sign-in method.', open: 'Open the app', authenticationTitle: 'Connect to this Host', - authenticationDescription: 'Sign in to continue.', + authenticationDescription: 'Use one of the methods below to sign in.', authenticationUnavailable: 'No sign-in method is available. Contact the Host operator.', pairingScriptRequired: 'JavaScript is required to request device pairing.', tokenLabel: 'Login token or link', @@ -30,7 +30,7 @@ export const loginLocales = { networkFailed: '无法确认扫码登录结果,请检查网络并打开应用确认,或使用其他登录方式', open: '打开应用', authenticationTitle: '连接到此 Host', - authenticationDescription: '登录以继续', + authenticationDescription: '请用以下任意方式验证登录', authenticationUnavailable: '没有可用的登录方式,请联系 Host 管理者', pairingScriptRequired: '申请设备配对需要启用 JavaScript', tokenLabel: '登录令牌或链接',