@liujitcn/kratos-taro-app-core 0.0.85 → 0.0.86
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
package/src/locales/en-US.json
CHANGED
|
@@ -13,7 +13,6 @@
|
|
|
13
13
|
"common.message.loading": "Loading",
|
|
14
14
|
"common.message.network_error": "Network error. Check your connection and try again.",
|
|
15
15
|
"common.message.request_error": "Request failed",
|
|
16
|
-
"common.message.unknown": "Unable to process this request. Try again later.",
|
|
17
16
|
"common.title.notice": "Notice",
|
|
18
17
|
"core.auth.session_expired": "Your session has expired. Please log in again.",
|
|
19
18
|
"core.config.missing": "Missing app configuration: {names}",
|
|
@@ -79,6 +78,8 @@
|
|
|
79
78
|
"core.login.mfa_webauthn_login_unsupported": "WebAuthn is not supported on this platform. Use a recovery code.",
|
|
80
79
|
"core.login.mfa_webauthn_login_invalid": "WebAuthn authentication did not return a valid credential.",
|
|
81
80
|
"core.login.password": "Enter password",
|
|
81
|
+
"core.login.password_show": "Show password",
|
|
82
|
+
"core.login.password_hide": "Hide password",
|
|
82
83
|
"core.login.privacy": "Privacy Policy",
|
|
83
84
|
"core.login.protocol_missing": "Terms of Service and Privacy Policy are not configured",
|
|
84
85
|
"core.login.protocol_prompt": "Read and accept the agreements first. Confirm to accept and continue.",
|
package/src/locales/ja-JP.json
CHANGED
|
@@ -13,7 +13,6 @@
|
|
|
13
13
|
"common.message.loading": "をロード中です",
|
|
14
14
|
"common.message.network_error": "ネットワーク エラー。別のネットワークを試してください",
|
|
15
15
|
"common.message.request_error": "リクエストエラー",
|
|
16
|
-
"common.message.unknown": "は一時的に処理できません。後でもう一度試してください。",
|
|
17
16
|
"common.title.notice": "ヒント",
|
|
18
17
|
"core.auth.session_expired": "現在のページは無効です。再度ログインしてください。",
|
|
19
18
|
"core.config.missing": "モバイル端末の設定がありません: {names}",
|
|
@@ -79,6 +78,8 @@
|
|
|
79
78
|
"core.login.mfa_webauthn_login_unsupported": "このプラットフォームは WebAuthn に対応していません。リカバリーコードを使用してください。",
|
|
80
79
|
"core.login.mfa_webauthn_login_invalid": "WebAuthn 認証で有効なクレデンシャルが返されませんでした。",
|
|
81
80
|
"core.login.password": "パスワードを入力してください",
|
|
81
|
+
"core.login.password_show": "パスワードを表示",
|
|
82
|
+
"core.login.password_hide": "パスワードを非表示",
|
|
82
83
|
"core.login.privacy": "「プライバシー規約」",
|
|
83
84
|
"core.login.protocol_missing": "利用規約とプライバシー規約が設定されていません",
|
|
84
85
|
"core.login.protocol_prompt": "まずは契約内容を読んで確認してください。 「OK」をクリックすると、自動的にチェックが行われ、ログインが続行されます。",
|
package/src/locales/zh-CN.json
CHANGED
|
@@ -13,7 +13,6 @@
|
|
|
13
13
|
"common.message.loading": "正在加载",
|
|
14
14
|
"common.message.network_error": "网络错误,换个网络试试",
|
|
15
15
|
"common.message.request_error": "请求错误",
|
|
16
|
-
"common.message.unknown": "暂时无法处理,请稍后重试",
|
|
17
16
|
"common.title.notice": "提示",
|
|
18
17
|
"core.auth.session_expired": "当前页面已失效,请重新登录",
|
|
19
18
|
"core.config.missing": "移动端配置缺失:{names}",
|
|
@@ -79,6 +78,8 @@
|
|
|
79
78
|
"core.login.mfa_webauthn_login_unsupported": "当前平台不支持 WebAuthn,请使用恢复码。",
|
|
80
79
|
"core.login.mfa_webauthn_login_invalid": "WebAuthn 登录未返回有效凭据。",
|
|
81
80
|
"core.login.password": "请输入密码",
|
|
81
|
+
"core.login.password_show": "显示密码",
|
|
82
|
+
"core.login.password_hide": "隐藏密码",
|
|
82
83
|
"core.login.privacy": "《隐私协议》",
|
|
83
84
|
"core.login.protocol_missing": "服务条款和隐私协议未配置",
|
|
84
85
|
"core.login.protocol_prompt": "请先阅读并勾选协议内容,点击确定后将自动勾选并继续登录",
|
package/src/locales/zh-TW.json
CHANGED
|
@@ -13,7 +13,6 @@
|
|
|
13
13
|
"common.message.loading": "正在載入",
|
|
14
14
|
"common.message.network_error": "網路錯誤,換個網路試試",
|
|
15
15
|
"common.message.request_error": "請求錯誤",
|
|
16
|
-
"common.message.unknown": "暫時無法處理,請稍後重試",
|
|
17
16
|
"common.title.notice": "提示",
|
|
18
17
|
"core.auth.session_expired": "當前頁面已失效,請重新登入",
|
|
19
18
|
"core.config.missing": "移動端配置缺失:{names}",
|
|
@@ -79,6 +78,8 @@
|
|
|
79
78
|
"core.login.mfa_webauthn_login_unsupported": "目前平台不支援 WebAuthn,請使用恢復碼。",
|
|
80
79
|
"core.login.mfa_webauthn_login_invalid": "WebAuthn 登入未回傳有效憑證。",
|
|
81
80
|
"core.login.password": "請輸入密碼",
|
|
81
|
+
"core.login.password_show": "顯示密碼",
|
|
82
|
+
"core.login.password_hide": "隱藏密碼",
|
|
82
83
|
"core.login.privacy": "《隱私協議》",
|
|
83
84
|
"core.login.protocol_missing": "服務條款和隱私協議未配置",
|
|
84
85
|
"core.login.protocol_prompt": "請先閱讀並勾選協議內容,點選確定後將自動勾選並繼續登入",
|
|
@@ -673,7 +673,7 @@ export default function LoginPage() {
|
|
|
673
673
|
/>
|
|
674
674
|
<View
|
|
675
675
|
className='password-toggle'
|
|
676
|
-
aria-label={passwordVisible ? '
|
|
676
|
+
aria-label={passwordVisible ? t('core.login.password_hide') : t('core.login.password_show')}
|
|
677
677
|
onClick={() => setPasswordVisible((visible) => !visible)}
|
|
678
678
|
>
|
|
679
679
|
<Image
|
|
@@ -761,7 +761,7 @@ export default function LoginPage() {
|
|
|
761
761
|
/>
|
|
762
762
|
<View
|
|
763
763
|
className='password-toggle'
|
|
764
|
-
aria-label={miniPasswordVisible ? '
|
|
764
|
+
aria-label={miniPasswordVisible ? t('core.login.password_hide') : t('core.login.password_show')}
|
|
765
765
|
onClick={() => setMiniPasswordVisible((visible) => !visible)}
|
|
766
766
|
>
|
|
767
767
|
<Image
|