update name

This commit is contained in:
Alter-xyz
2025-06-03 20:51:20 +08:00
parent 35e83456f6
commit ec5a32408c
7 changed files with 13 additions and 13 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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 検証ツール

View File

@@ -74,7 +74,7 @@ Dify プラグインの開発を始める前に、お使いの環境に以下の
2. プロンプトに従って、プラグインの基本情報を順に入力します:
- **Plugin name:** プラグインの一意の識別子。例:`telegraph`
- _制約: 長さ 1128 文字、小文字の英数字、ハイフン(-)、アンダースコア(_)のみ使用可能。_
- **Author:** プラグイン作者の識別子。例:`alterxyz`
- **Author:** プラグイン作者の識別子。例:`your-name`
- _制約: 長さ 164 文字、小文字の英数字、ハイフン(-)、アンダースコア(_)のみ使用可能。_
- **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

View File

@@ -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 验证器

View File

@@ -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

View File

@@ -47,7 +47,7 @@ summary: '了解如何为 Dify 开发者文档贡献内容,包括更新现有
<Card
title="创建新文档"
icon="pen-to-square"
href="https://github.com/alterxyz/dify-docs/new/test-action/plugin-dev-zh"
href="https://github.com/langgenius/dify-docs/new/test-action/plugin-dev-zh"
horizontal
>
点击此卡片,直接在 GitHub 上创建文档。