diff --git a/src/public/translations/cn/translation.json b/src/public/translations/cn/translation.json index 7d4531990..5ac95e14f 100644 --- a/src/public/translations/cn/translation.json +++ b/src/public/translations/cn/translation.json @@ -1326,8 +1326,8 @@ "recovery_keys_unused": "恢复代码 {{index}} 未使用", "oauth_title": "OAuth/OpenID 认证", "oauth_description": "OpenID 是一种标准化方式,允许您使用其他服务(如 Google)的账户登录网站,以验证您的身份。请参阅这些 指南 通过 Google 设置 OpenID 服务。", - "oauth_description_warning": "要启用 OAuth/OpenID,您需要设置 config.ini 文件中的 OAuth/OpenID 基础 URL、客户端 ID 和客户端密钥,并重新启动应用程序。", - "oauth_missing_vars": "缺少变量: {{missingVars}}", + "oauth_description_warning": "要启用 OAuth/OpenID,您需要设置 config.ini 文件中的 OAuth/OpenID 基础 URL、客户端 ID 和客户端密钥,并重新启动应用程序。如果要从环境变量设置,请设置 TRILIUM_OAUTH_BASE_URL、TRILIUM_OAUTH_CLIENT_ID 和 TRILIUM_OAUTH_CLIENT_SECRET 环境变量。", + "oauth_missing_vars": "缺少以下设置项: {{missingVars}}", "oauth_user_account": "用户账号:", "oauth_user_email": "用户邮箱:", "oauth_user_not_logged_in": "未登录!" diff --git a/src/public/translations/en/translation.json b/src/public/translations/en/translation.json index 7028ca80d..13bb74dfd 100644 --- a/src/public/translations/en/translation.json +++ b/src/public/translations/en/translation.json @@ -1337,8 +1337,8 @@ "recovery_keys_unused": "Recovery code {{index}} is unused", "oauth_title": "OAuth/OpenID", "oauth_description": "OpenID is a standardized way to let you log into websites using an account from another service, like Google, to verify your identity. Follow these instructions to setup an OpenID service through Google.", - "oauth_description_warning": "To enable OAuth/OpenID, you need to set the OAuth/OpenID base URL, client ID and client secret in the config.ini file and restart the application.", - "oauth_missing_vars": "Missing variables: {{variables}}", + "oauth_description_warning": "To enable OAuth/OpenID, you need to set the OAuth/OpenID base URL, client ID and client secret in the config.ini file and restart the application. If you want to set from environment variables, please set TRILIUM_OAUTH_BASE_URL, TRILIUM_OAUTH_CLIENT_ID and TRILIUM_OAUTH_CLIENT_SECRET.", + "oauth_missing_vars": "Missing settings: {{variables}}", "oauth_user_account": "User Account: ", "oauth_user_email": "User Email: ", "oauth_user_not_logged_in": "Not logged in!"