fix: language standard

This commit is contained in:
Junyan Qin
2025-05-14 17:05:20 +08:00
parent 8b94e03c71
commit 2a24682f43
2 changed files with 6 additions and 6 deletions
+3 -3
View File
@@ -114,17 +114,17 @@ metadata:
name: Hello # Plugin name, change to your plugin name
repository: 'https://github.com/langbot-app/HelloPlugin' # Plugin repository address, change to your plugin GitHub repository address
version: 0.1.0 # Plugin version, change to your plugin version
description: # Plugin description, change to your plugin description, supports multiple languages. Language codes follow the RFC 1766 standard.
description: # Plugin description, change to your plugin description, supports multiple languages. Language codes follow the RFC 4646 standard.
en_US: Plugin for sending hello
zh_Hans: 示例插件
label: # Plugin display name, supports multiple languages. The WebUI will display the label in the corresponding language. Language codes follow the RFC 1766 standard.
label: # Plugin display name, supports multiple languages. The WebUI will display the label in the corresponding language. Language codes follow the RFC 4646 standard.
en_US: Hello
zh_Hans: Hello
spec:
# Plugin configuration (optional), can configure multiple items
config:
- name: github_token # Configuration item name
label: # Configuration item display name, supports multiple languages. Language codes follow the RFC 1766 standard.
label: # Configuration item display name, supports multiple languages. Language codes follow the RFC 4646 standard.
en_US: Github Token
zh_Hans: Github Token
description: # Configuration item description, supports multiple languages. Optional.
+3 -3
View File
@@ -114,17 +114,17 @@ metadata:
name: Hello # 插件名称,修改为你的插件名称
repository: 'https://github.com/langbot-app/HelloPlugin' # 插件仓库地址,修改为你的插件 GitHub 仓库地址
version: 0.1.0 # 插件版本,修改为你的插件版本
description: # 插件简介,修改为你的插件简介,支持多语言。语言代码采用 RFC 1766 标准。
description: # 插件简介,修改为你的插件简介,支持多语言。语言代码采用 RFC 4646 标准。
en_US: Plugin for sending hello
zh_Hans: 示例插件
label: # 插件显示名称,支持多语言。在 WebUI 上会显示对应语言的 label。语言代码采用 RFC 1766 标准。
label: # 插件显示名称,支持多语言。在 WebUI 上会显示对应语言的 label。语言代码采用 RFC 4646 标准。
en_US: Hello
zh_Hans: Hello
spec:
# 插件配置(可选),可配置多项
config:
- name: github_token # 配置项名称
label: # 配置项显示名称,支持多语言。语言代码采用 RFC 1766 标准。
label: # 配置项显示名称,支持多语言。语言代码采用 RFC 4646 标准。
en_US: Github Token
zh_Hans: Github Token
description: # 配置项描述,支持多语言。可选。