diff --git a/plugin-dev-en/0211-getting-started-by-prompt.mdx b/plugin-dev-en/0211-getting-started-by-prompt.mdx index 8a92485e..a592e2a3 100644 --- a/plugin-dev-en/0211-getting-started-by-prompt.mdx +++ b/plugin-dev-en/0211-getting-started-by-prompt.mdx @@ -1065,7 +1065,7 @@ def verify_totp(secret_key, totp_code, offset=5, strict=False): ```yaml identity: name: totp - author: alterxyz + author: your-name label: en_US: TOTP Validator zh_Hans: TOTP Validator diff --git a/plugin-dev-en/0211-getting-started-dify-tool.mdx b/plugin-dev-en/0211-getting-started-dify-tool.mdx index 105bcedf..14415157 100644 --- a/plugin-dev-en/0211-getting-started-dify-tool.mdx +++ b/plugin-dev-en/0211-getting-started-dify-tool.mdx @@ -78,7 +78,7 @@ Now, let's use the scaffold tool to create a new plugin project. 2. Enter the basic information for the plugin according to the prompts: - **Plugin name:** A unique identifier for the plugin. For example: `telegraph` - _Constraints: 1-128 characters, can only contain lowercase letters, numbers, hyphens (-), and underscores (_)._ - - **Author:** The identifier for the plugin author. For example: `alterxyz` + - **Author:** The identifier for the plugin author. For example: `your-name` - _Constraints: 1-64 characters, can only contain lowercase letters, numbers, hyphens (-), and underscores (_)._ - **Description:** A brief description of the plugin's functionality. For example: `A Telegraph plugin that allows you to publish your content easily` 3. **Select Development Language:** When prompted `Select language`, choose `python`. @@ -314,7 +314,7 @@ We need to tell Dify which input parameters this tool accepts. ```yaml identity: name: telegraph_publisher # Unique internal name of the tool - author: alterxyz + author: your-name label: # Tool name displayed in the Dify UI (multilingual) en_US: Publish to Telegraph zh_Hans: Publish to Telegraph @@ -472,7 +472,7 @@ To make the plugin more professional, discoverable, and understandable, we need ```yaml identity: - author: alterxyz + author: your-name name: telegraph # Internal name, keep unchanged label: en_US: Telegraph diff --git a/plugin-dev-ja/0211-getting-started-by-prompt.mdx b/plugin-dev-ja/0211-getting-started-by-prompt.mdx index 92c70600..c8ecb9f2 100644 --- a/plugin-dev-ja/0211-getting-started-by-prompt.mdx +++ b/plugin-dev-ja/0211-getting-started-by-prompt.mdx @@ -979,7 +979,7 @@ def verify_totp(secret_key, totp_code, offset=5, strict=False): ```yaml identity: name: totp - author: alterxyz + author: your-name label: en_US: TOTP Validator ja: TOTP 検証ツール diff --git a/plugin-dev-ja/0211-getting-started-dify-tool.mdx b/plugin-dev-ja/0211-getting-started-dify-tool.mdx index a0b15361..e184f0f1 100644 --- a/plugin-dev-ja/0211-getting-started-dify-tool.mdx +++ b/plugin-dev-ja/0211-getting-started-dify-tool.mdx @@ -74,7 +74,7 @@ Dify プラグインの開発を始める前に、お使いの環境に以下の 2. プロンプトに従って、プラグインの基本情報を順に入力します: - **Plugin name:** プラグインの一意の識別子。例:`telegraph` - _制約: 長さ 1~128 文字、小文字の英数字、ハイフン(-)、アンダースコア(_)のみ使用可能。_ - - **Author:** プラグイン作者の識別子。例:`alterxyz` + - **Author:** プラグイン作者の識別子。例:`your-name` - _制約: 長さ 1~64 文字、小文字の英数字、ハイフン(-)、アンダースコア(_)のみ使用可能。_ - **Description:** プラグイン機能の簡単な説明。例:`A Telegraph plugin that allows you to publish your content easily` 3. **開発言語の選択:** `Select language` と表示されたら、`python` を選択してください。 @@ -310,7 +310,7 @@ print(ph_link) ```yaml identity: name: telegraph_publisher # ツールの一意の内部名 - author: alterxyz + author: your-name label: # Dify UI に表示されるツール名 (多言語対応) en_US: Publish to Telegraph ja: Telegraph に公開 @@ -468,7 +468,7 @@ print(ph_link) ```yaml identity: - author: alterxyz + author: your-name name: telegraph # 内部名、変更なし label: en_US: Telegraph diff --git a/plugin-dev-zh/0211-getting-started-by-prompt.mdx b/plugin-dev-zh/0211-getting-started-by-prompt.mdx index 3f2e0bdc..86d0f8fe 100644 --- a/plugin-dev-zh/0211-getting-started-by-prompt.mdx +++ b/plugin-dev-zh/0211-getting-started-by-prompt.mdx @@ -979,7 +979,7 @@ def verify_totp(secret_key, totp_code, offset=5, strict=False): ```yaml identity: name: totp - author: alterxyz + author: your-name label: en_US: TOTP Validator zh_Hans: TOTP 验证器 diff --git a/plugin-dev-zh/0211-getting-started-dify-tool.mdx b/plugin-dev-zh/0211-getting-started-dify-tool.mdx index 27843c80..52c16cd6 100644 --- a/plugin-dev-zh/0211-getting-started-dify-tool.mdx +++ b/plugin-dev-zh/0211-getting-started-dify-tool.mdx @@ -74,7 +74,7 @@ description: 本文档提供了从零开始Dify插件开发的详细教程,以 2. 根据提示依次输入插件的基本信息: - **Plugin name:** 插件的唯一标识符。例如:`telegraph` - _约束: 长度 1-128 字符,只能包含小写字母、数字、连字符(-)和下划线(\_)。_ - - **Author:** 插件作者的标识符。例如:`alterxyz` + - **Author:** 插件作者的标识符。例如:`your-name` - _约束: 长度 1-64 字符,只能包含小写字母、数字、连字符(-)和下划线(\_)。_ - **Description:** 对插件功能的简短描述。例如:`A Telegraph plugin that allows you to publish your content easily` 3. **选择开发语言:** 当提示 `Select language` 时,请选择 `python`。 @@ -310,7 +310,7 @@ print(ph_link) ```yaml identity: name: telegraph_publisher # 工具的唯一内部名称 - author: alterxyz + author: your-name label: # 在 Dify UI 中显示的工具名称 (多语言) en_US: Publish to Telegraph zh_Hans: 发布到 Telegraph @@ -468,7 +468,7 @@ print(ph_link) ```yaml identity: - author: alterxyz + author: your-name name: telegraph # 内部名称,保持不变 label: en_US: Telegraph diff --git a/plugin-dev-zh/0411-doc-contribution-guide.mdx b/plugin-dev-zh/0411-doc-contribution-guide.mdx index 7f62175f..467229be 100644 --- a/plugin-dev-zh/0411-doc-contribution-guide.mdx +++ b/plugin-dev-zh/0411-doc-contribution-guide.mdx @@ -47,7 +47,7 @@ summary: '了解如何为 Dify 开发者文档贡献内容,包括更新现有 点击此卡片,直接在 GitHub 上创建文档。