mirror of
https://github.com/coollabsio/coolify.git
synced 2026-11-04 10:42:23 +00:00
Move the user creation check from OauthLoginService into OauthSetting::allowsUserCreation(), so the login view can use it. The login view now gets a can_register_with_oauth flag. The flag is true when an enabled OAuth provider allows creating new users. The view uses it to show the new auth.register_with_oauth message. Add translations for the message in all locales, plus test coverage.
38 lines
2.6 KiB
JSON
38 lines
2.6 KiB
JSON
{
|
|
"auth.login": "登入",
|
|
"auth.login.azure": "使用 Microsoft 登入",
|
|
"auth.login.bitbucket": "使用 Bitbucket 登入",
|
|
"auth.login.clerk": "使用 Clerk 登入",
|
|
"auth.login.discord": "使用 Discord 登入",
|
|
"auth.login.github": "使用 GitHub 登入",
|
|
"auth.login.gitlab": "使用 Gitlab 登入",
|
|
"auth.login.google": "使用 Google 登入",
|
|
"auth.login.infomaniak": "使用 Infomaniak 登入",
|
|
"auth.already_registered": "已經註冊?",
|
|
"auth.confirm_password": "確認密碼",
|
|
"auth.forgot_password_link": "忘記密碼?",
|
|
"auth.forgot_password_heading": "密碼找回",
|
|
"auth.forgot_password_send_email": "發送重設密碼電郵",
|
|
"auth.register_now": "註冊",
|
|
"auth.logout": "登出",
|
|
"auth.register": "註冊",
|
|
"auth.registration_disabled": "註冊已停用,請聯絡管理員。",
|
|
"auth.register_with_oauth": "僅啟用 OAuth 註冊。",
|
|
"auth.reset_password": "重設密碼",
|
|
"auth.failed": "這些憑證與我們的記錄不符。",
|
|
"auth.failed.callback": "無法處理來自登入提供者的回呼。",
|
|
"auth.failed.oauth": "使用此提供者登入失敗。如果問題持續,請聯絡管理員。",
|
|
"auth.failed.oauth_already_linked": "此帳戶已使用其他登入方式。請使用該方式登入。",
|
|
"auth.failed.oauth_email_unverified": "您的登入提供者未驗證您的電子郵件地址。請在提供者處驗證後再試一次。",
|
|
"auth.failed.password": "密碼錯誤。",
|
|
"auth.failed.email": "找不到該電子郵件地址的使用者。",
|
|
"auth.throttle": "登入嘗試次數太多。請在 :seconds 秒後重試。",
|
|
"input.name": "名稱",
|
|
"input.email": "電子郵件",
|
|
"input.password": "密碼",
|
|
"input.password.again": "再次輸入密碼",
|
|
"input.code": "一次性代碼",
|
|
"input.recovery_code": "恢復碼",
|
|
"button.save": "儲存",
|
|
"repository.url": "<span class='text-helper'>例子</span><br>對於公共代碼倉庫,請使用 <span class='text-helper'>https://...</span>。<br>對於私有代碼倉庫,請使用 <span class='text-helper'>git@...</span>。<br><br>https://github.com/coollabsio/coolify-examples <span class='text-helper'>main</span> 分支將被選擇<br>https://github.com/coollabsio/coolify-examples/tree/nodejs-fastify <span class='text-helper'>nodejs-fastify</span> 分支將被選擇。<br>https://gitea.com/sedlav/expressjs.git <span class='text-helper'>main</span> 分支將被選擇。<br>https://gitlab.com/andrasbacsai/nodejs-example.git <span class='text-helper'>main</span> 分支將被選擇。"
|
|
} |