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

Commit 65b7c2d

Browse files
authored
Merge pull request #2249 from TriliumNext/odic
MFA docs improve
2 parents 9c38398 + 94e3586 commit 65b7c2d

18 files changed

Lines changed: 67 additions & 64 deletions

File tree

apps/client/src/translations/cn/translation.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1333,7 +1333,7 @@
13331333
"recovery_keys_used": "已使用: {{date}}",
13341334
"recovery_keys_unused": "恢复代码 {{index}} 未使用",
13351335
"oauth_title": "OAuth/OpenID 认证",
1336-
"oauth_description": "OpenID 是一种标准化方式,允许您使用其他服务(如 Google)的账户登录网站,以验证您的身份。请参阅这些 <a href=\"https://developers.google.com/identity/openid-connect/openid-connect\">指南</a> 通过 Google 设置 OpenID 服务。",
1336+
"oauth_description": "OpenID 是一种标准化方式,允许您使用其他服务(如 Google)的账号登录网站来验证您的身份。默认的身份提供者是 Google,但您可以更改为任何其他 OpenID 提供者。点击<a href=\"#root/_hidden/_help/_help_Otzi9La2YAUX/_help_WOcw2SLH6tbX/_help_7DAiwaf8Z7Rz\">这里</a>了解更多信息。请参阅这些 <a href=\"https://developers.google.com/identity/openid-connect/openid-connect\">指南</a> 通过 Google 设置 OpenID 服务。",
13371337
"oauth_description_warning": "要启用 OAuth/OpenID,您需要设置 config.ini 文件中的 OAuth/OpenID 基础 URL、客户端 ID 和客户端密钥,并重新启动应用程序。如果要从环境变量设置,请设置 TRILIUM_OAUTH_BASE_URL、TRILIUM_OAUTH_CLIENT_ID 和 TRILIUM_OAUTH_CLIENT_SECRET 环境变量。",
13381338
"oauth_missing_vars": "缺少以下设置项: {{missingVars}}",
13391339
"oauth_user_account": "用户账号:",

apps/client/src/translations/en/translation.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1493,7 +1493,7 @@
14931493
"recovery_keys_used": "Used: {{date}}",
14941494
"recovery_keys_unused": "Recovery code {{index}} is unused",
14951495
"oauth_title": "OAuth/OpenID",
1496-
"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.",
1496+
"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. The default issuer is Google, but you can change it to any other OpenID provider. Check <a href=\"#root/_hidden/_help/_help_Otzi9La2YAUX/_help_WOcw2SLH6tbX/_help_7DAiwaf8Z7Rz\">here</a> for more information. Follow these <a href=\"https://developers.google.com/identity/openid-connect/openid-connect\">instructions</a> to setup an OpenID service through Google.",
14971497
"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.",
14981498
"oauth_missing_vars": "Missing settings: {{variables}}",
14991499
"oauth_user_account": "User Account: ",

apps/client/src/widgets/type_widgets/content_widget.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ import { t } from "../../services/i18n.js";
4545
import LanguageOptions from "./options/i18n/language.js";
4646
import type BasicWidget from "../basic_widget.js";
4747
import CodeTheme from "./options/code_notes/code_theme.js";
48-
import RelatedSettings from "./options/related_settings.js";
48+
import RelatedSettings from "./options/appearance/related_settings.js";
4949

5050
const TPL = /*html*/`<div class="note-detail-content-widget note-detail-printable">
5151
<style>

apps/client/src/widgets/type_widgets/options/related_settings.ts renamed to apps/client/src/widgets/type_widgets/options/appearance/related_settings.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
import type FNote from "../../../entities/fnote";
2-
import type { OptionPages } from "../content_widget";
3-
import OptionsWidget from "./options_widget";
1+
import type { OptionPages } from "../../content_widget";
2+
import OptionsWidget from "../options_widget";
43

54
const TPL = `\
65
<div class="options-section">

apps/server/src/assets/doc_notes/en/User Guide/!!!meta.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Server Installation.html

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Server Installation/2. Reverse proxy/Nginx.html

Lines changed: 11 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Server Installation/Authentication.html

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Server Installation/Multi-Factor Authentication.html

Lines changed: 9 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/server/src/assets/doc_notes/en/User Guide/User Guide/Theme development/Reference.html

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)