Skip to content
This repository was archived by the owner on Jun 24, 2025. It is now read-only.

Commit 17b4bfc

Browse files
committed
chore: 🤖 improve instruction
1 parent a8e37b5 commit 17b4bfc

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/public/translations/cn/translation.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1326,8 +1326,8 @@
13261326
"recovery_keys_unused": "恢复代码 {{index}} 未使用",
13271327
"oauth_title": "OAuth/OpenID 认证",
13281328
"oauth_description": "OpenID 是一种标准化方式,允许您使用其他服务(如 Google)的账户登录网站,以验证您的身份。请参阅这些 <a href=\"https://developers.google.com/identity/openid-connect/openid-connect\">指南</a> 通过 Google 设置 OpenID 服务。",
1329-
"oauth_description_warning": "要启用 OAuth/OpenID,您需要设置 config.ini 文件中的 OAuth/OpenID 基础 URL、客户端 ID 和客户端密钥,并重新启动应用程序。",
1330-
"oauth_missing_vars": "缺少变量: {{missingVars}}",
1329+
"oauth_description_warning": "要启用 OAuth/OpenID,您需要设置 config.ini 文件中的 OAuth/OpenID 基础 URL、客户端 ID 和客户端密钥,并重新启动应用程序。如果要从环境变量设置,请设置 TRILIUM_OAUTH_BASE_URL、TRILIUM_OAUTH_CLIENT_ID 和 TRILIUM_OAUTH_CLIENT_SECRET 环境变量。",
1330+
"oauth_missing_vars": "缺少以下设置项: {{missingVars}}",
13311331
"oauth_user_account": "用户账号:",
13321332
"oauth_user_email": "用户邮箱:",
13331333
"oauth_user_not_logged_in": "未登录!"

src/public/translations/en/translation.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1337,8 +1337,8 @@
13371337
"recovery_keys_unused": "Recovery code {{index}} is unused",
13381338
"oauth_title": "OAuth/OpenID",
13391339
"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 <a href=\"https://developers.google.com/identity/openid-connect/openid-connect\">instructions</a> to setup an OpenID service through Google.",
1340-
"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.",
1341-
"oauth_missing_vars": "Missing variables: {{variables}}",
1340+
"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.",
1341+
"oauth_missing_vars": "Missing settings: {{variables}}",
13421342
"oauth_user_account": "User Account: ",
13431343
"oauth_user_email": "User Email: ",
13441344
"oauth_user_not_logged_in": "Not logged in!"

0 commit comments

Comments
 (0)