chore: change zh_CN to zh_Hans

This commit is contained in:
Junyan Qin
2025-05-14 16:44:48 +08:00
parent 6652b57a0d
commit c835555a59
42 changed files with 247 additions and 247 deletions

View File

@@ -4,7 +4,7 @@ metadata:
name: MessagePlatformAdapter
label:
en_US: Message Platform Adapter
zh_CN: 消息平台适配器模板类
zh_Hans: 消息平台适配器模板类
spec:
type:
- python

View File

@@ -4,40 +4,40 @@ metadata:
name: aiocqhttp
label:
en_US: OneBot v11
zh_CN: OneBot v11
zh_Hans: OneBot v11
description:
en_US: OneBot v11 Adapter
zh_CN: OneBot v11 适配器,请查看文档了解使用方式
zh_Hans: OneBot v11 适配器,请查看文档了解使用方式
icon: onebot.png
spec:
config:
- name: host
label:
en_US: Host
zh_CN: 主机
zh_Hans: 主机
description:
en_US: The host that OneBot v11 listens on for reverse WebSocket connections. Unless you know what you're doing, use 0.0.0.0
zh_CN: OneBot v11 监听的反向 WS 主机,除非你知道自己在做什么,否则请写 0.0.0.0
zh_Hans: OneBot v11 监听的反向 WS 主机,除非你知道自己在做什么,否则请写 0.0.0.0
type: string
required: true
default: 0.0.0.0
- name: port
label:
en_US: Port
zh_CN: 端口
zh_Hans: 端口
description:
en_US: Port
zh_CN: 监听的端口
zh_Hans: 监听的端口
type: integer
required: true
default: 2280
- name: access-token
label:
en_US: Access Token
zh_CN: 访问令牌
zh_Hans: 访问令牌
description:
en_US: Custom connection token for the protocol endpoint. If the protocol endpoint is not set, don't fill it
zh_CN: 自定义的与协议端的连接令牌,若协议端未设置,则不填
zh_Hans: 自定义的与协议端的连接令牌,若协议端未设置,则不填
type: string
required: false
default: ""

View File

@@ -4,45 +4,45 @@ metadata:
name: dingtalk
label:
en_US: DingTalk
zh_CN: 钉钉
zh_Hans: 钉钉
description:
en_US: DingTalk Adapter
zh_CN: 钉钉适配器,请查看文档了解使用方式
zh_Hans: 钉钉适配器,请查看文档了解使用方式
icon: dingtalk.svg
spec:
config:
- name: client_id
label:
en_US: Client ID
zh_CN: 客户端ID
zh_Hans: 客户端ID
type: string
required: true
default: ""
- name: client_secret
label:
en_US: Client Secret
zh_CN: 客户端密钥
zh_Hans: 客户端密钥
type: string
required: true
default: ""
- name: robot_code
label:
en_US: Robot Code
zh_CN: 机器人代码
zh_Hans: 机器人代码
type: string
required: true
default: ""
- name: robot_name
label:
en_US: Robot Name
zh_CN: 机器人名称
zh_Hans: 机器人名称
type: string
required: true
default: ""
- name: markdown_card
label:
en_US: Markdown Card
zh_CN: 是否使用 Markdown 卡片
zh_Hans: 是否使用 Markdown 卡片
type: boolean
required: false
default: true

View File

@@ -4,24 +4,24 @@ metadata:
name: discord
label:
en_US: Discord
zh_CN: Discord
zh_Hans: Discord
description:
en_US: Discord Adapter
zh_CN: Discord 适配器,请查看文档了解使用方式
zh_Hans: Discord 适配器,请查看文档了解使用方式
icon: discord.svg
spec:
config:
- name: client_id
label:
en_US: Client ID
zh_CN: 客户端ID
zh_Hans: 客户端ID
type: string
required: true
default: ""
- name: token
label:
en_US: Token
zh_CN: 令牌
zh_Hans: 令牌
type: string
required: true
default: ""

View File

@@ -4,52 +4,52 @@ metadata:
name: gewechat
label:
en_US: GeWeChat
zh_CN: GeWeChat个人微信
zh_Hans: GeWeChat个人微信
description:
en_US: GeWeChat Adapter
zh_CN: GeWeChat 适配器,请查看文档了解使用方式
zh_Hans: GeWeChat 适配器,请查看文档了解使用方式
icon: gewechat.png
spec:
config:
- name: gewechat_url
label:
en_US: GeWeChat URL
zh_CN: GeWeChat URL
zh_Hans: GeWeChat URL
type: string
required: true
default: ""
- name: gewechat_file_url
label:
en_US: GeWeChat file download URL
zh_CN: GeWeChat 文件下载URL
zh_Hans: GeWeChat 文件下载URL
type: string
required: true
default: ""
- name: port
label:
en_US: Port
zh_CN: 端口
zh_Hans: 端口
type: integer
required: true
default: 2286
- name: callback_url
label:
en_US: Callback URL
zh_CN: 回调URL
zh_Hans: 回调URL
type: string
required: true
default: ""
- name: app_id
label:
en_US: App ID
zh_CN: 应用ID
zh_Hans: 应用ID
type: string
required: true
default: ""
- name: token
label:
en_US: Token
zh_CN: 令牌
zh_Hans: 令牌
type: string
required: true
default: ""

View File

@@ -417,7 +417,7 @@ class LarkAdapter(adapter.MessagePlatformAdapter):
lark_message = await self.message_converter.yiri2target(message, self.api_client)
final_content = {
'zh_cn': {
'zh_Hans': {
'title': '',
'content': lark_message,
},

View File

@@ -4,61 +4,61 @@ metadata:
name: lark
label:
en_US: Lark
zh_CN: 飞书
zh_Hans: 飞书
description:
en_US: Lark Adapter
zh_CN: 飞书适配器,请查看文档了解使用方式
zh_Hans: 飞书适配器,请查看文档了解使用方式
icon: lark.svg
spec:
config:
- name: app_id
label:
en_US: App ID
zh_CN: 应用ID
zh_Hans: 应用ID
type: string
required: true
default: ""
- name: app_secret
label:
en_US: App Secret
zh_CN: 应用密钥
zh_Hans: 应用密钥
type: string
required: true
default: ""
- name: bot_name
label:
en_US: Bot Name
zh_CN: 机器人名称
zh_Hans: 机器人名称
type: string
required: true
default: ""
- name: enable-webhook
label:
en_US: Enable Webhook Mode
zh_CN: 启用Webhook模式
zh_Hans: 启用Webhook模式
description:
en_US: If enabled, the bot will use webhook mode to receive messages. Otherwise, it will use WS long connection mode
zh_CN: 如果启用,机器人将使用 Webhook 模式接收消息。否则,将使用 WS 长连接模式
zh_Hans: 如果启用,机器人将使用 Webhook 模式接收消息。否则,将使用 WS 长连接模式
type: boolean
required: true
default: false
- name: port
label:
en_US: Webhook Port
zh_CN: Webhook端口
zh_Hans: Webhook端口
description:
en_US: Only valid when webhook mode is enabled, please fill in the webhook port
zh_CN: 仅在启用 Webhook 模式时有效,请填写 Webhook 端口
zh_Hans: 仅在启用 Webhook 模式时有效,请填写 Webhook 端口
type: integer
required: true
default: 2285
- name: encrypt-key
label:
en_US: Encrypt Key
zh_CN: 加密密钥
zh_Hans: 加密密钥
description:
en_US: Only valid when webhook mode is enabled, please fill in the encrypt key
zh_CN: 仅在启用 Webhook 模式时有效,请填写加密密钥
zh_Hans: 仅在启用 Webhook 模式时有效,请填写加密密钥
type: string
required: true
default: ""

View File

@@ -4,38 +4,38 @@ metadata:
name: nakuru
label:
en_US: Nakuru
zh_CN: Nakuru
zh_Hans: Nakuru
description:
en_US: Nakuru Adapter
zh_CN: Nakuru 适配器(go-cqhttp),请查看文档了解使用方式
zh_Hans: Nakuru 适配器(go-cqhttp),请查看文档了解使用方式
icon: nakuru.png
spec:
config:
- name: host
label:
en_US: Host
zh_CN: 主机
zh_Hans: 主机
type: string
required: true
default: "127.0.0.1"
- name: http_port
label:
en_US: HTTP Port
zh_CN: HTTP端口
zh_Hans: HTTP端口
type: integer
required: true
default: 5700
- name: ws_port
label:
en_US: WebSocket Port
zh_CN: WebSocket端口
zh_Hans: WebSocket端口
type: integer
required: true
default: 8080
- name: token
label:
en_US: Token
zh_CN: 令牌
zh_Hans: 令牌
type: string
required: true
default: ""

View File

@@ -4,66 +4,66 @@ metadata:
name: officialaccount
label:
en_US: Official Account
zh_CN: 微信公众号
zh_Hans: 微信公众号
description:
en_US: Official Account Adapter
zh_CN: 微信公众号适配器,请查看文档了解使用方式
zh_Hans: 微信公众号适配器,请查看文档了解使用方式
icon: officialaccount.png
spec:
config:
- name: token
label:
en_US: Token
zh_CN: 令牌
zh_Hans: 令牌
type: string
required: true
default: ""
- name: EncodingAESKey
label:
en_US: EncodingAESKey
zh_CN: 消息加解密密钥
zh_Hans: 消息加解密密钥
type: string
required: true
default: ""
- name: AppID
label:
en_US: App ID
zh_CN: 应用ID
zh_Hans: 应用ID
type: string
required: true
default: ""
- name: AppSecret
label:
en_US: App Secret
zh_CN: 应用密钥
zh_Hans: 应用密钥
type: string
required: true
default: ""
- name: Mode
label:
en_US: Mode
zh_CN: 接入模式
zh_Hans: 接入模式
type: string
required: true
default: "drop"
- name: LoadingMessage
label:
en_US: Loading Message
zh_CN: 加载消息
zh_Hans: 加载消息
type: string
required: true
default: "AI正在思考中请发送任意内容获取回复。"
- name: host
label:
en_US: Host
zh_CN: 监听主机
zh_Hans: 监听主机
type: string
required: true
default: 0.0.0.0
- name: port
label:
en_US: Port
zh_CN: 监听端口
zh_Hans: 监听端口
type: integer
required: true
default: 2287

View File

@@ -4,31 +4,31 @@ metadata:
name: qq-botpy
label:
en_US: QQBotPy
zh_CN: QQBotPy
zh_Hans: QQBotPy
description:
en_US: QQ Official API (WebSocket)
zh_CN: QQ 官方 API (WebSocket),请查看文档了解使用方式
zh_Hans: QQ 官方 API (WebSocket),请查看文档了解使用方式
icon: qqbotpy.svg
spec:
config:
- name: appid
label:
en_US: App ID
zh_CN: 应用ID
zh_Hans: 应用ID
type: string
required: true
default: ""
- name: secret
label:
en_US: Secret
zh_CN: 密钥
zh_Hans: 密钥
type: string
required: true
default: ""
- name: intents
label:
en_US: Intents
zh_CN: 权限
zh_Hans: 权限
type: array
required: true
default: []

View File

@@ -4,38 +4,38 @@ metadata:
name: qqofficial
label:
en_US: QQ Official API
zh_CN: QQ 官方 API
zh_Hans: QQ 官方 API
description:
en_US: QQ Official API (Webhook)
zh_CN: QQ 官方 API (Webhook),请查看文档了解使用方式
zh_Hans: QQ 官方 API (Webhook),请查看文档了解使用方式
icon: qqofficial.svg
spec:
config:
- name: appid
label:
en_US: App ID
zh_CN: 应用ID
zh_Hans: 应用ID
type: string
required: true
default: ""
- name: secret
label:
en_US: Secret
zh_CN: 密钥
zh_Hans: 密钥
type: string
required: true
default: ""
- name: port
label:
en_US: Port
zh_CN: 监听端口
zh_Hans: 监听端口
type: integer
required: true
default: 2284
- name: token
label:
en_US: Token
zh_CN: 令牌
zh_Hans: 令牌
type: string
required: true
default: ""

View File

@@ -4,31 +4,31 @@ metadata:
name: slack
label:
en_US: Slack
zh_CN: Slack
zh_Hans: Slack
description:
en_US: Slack Adapter
zh_CN: Slack 适配器,请查看文档了解使用方式
zh_Hans: Slack 适配器,请查看文档了解使用方式
icon: slack.png
spec:
config:
- name: bot_token
label:
en_US: Bot Token
zh_CN: 机器人令牌
zh_Hans: 机器人令牌
type: string
required: true
default: ""
- name: signing_secret
label:
en_US: signing_secret
zh_CN: 密钥
zh_Hans: 密钥
type: string
required: true
default: ""
- name: port
label:
en_US: Port
zh_CN: 监听端口
zh_Hans: 监听端口
type: int
required: true
default: 2288

View File

@@ -4,24 +4,24 @@ metadata:
name: telegram
label:
en_US: Telegram
zh_CN: 电报
zh_Hans: 电报
description:
en_US: Telegram Adapter
zh_CN: 电报适配器,请查看文档了解使用方式
zh_Hans: 电报适配器,请查看文档了解使用方式
icon: telegram.svg
spec:
config:
- name: token
label:
en_US: Token
zh_CN: 令牌
zh_Hans: 令牌
type: string
required: true
default: ""
- name: markdown_card
label:
en_US: Markdown Card
zh_CN: 是否使用 Markdown 卡片
zh_Hans: 是否使用 Markdown 卡片
type: boolean
required: false
default: true

View File

@@ -4,62 +4,62 @@ metadata:
name: wecom
label:
en_US: WeCom
zh_CN: 企业微信
zh_Hans: 企业微信
description:
en_US: WeCom Adapter
zh_CN: 企业微信适配器,请查看文档了解使用方式
zh_Hans: 企业微信适配器,请查看文档了解使用方式
icon: wecom.png
spec:
config:
- name: host
label:
en_US: Host
zh_CN: 监听主机
zh_Hans: 监听主机
description:
en_US: Webhook host, unless you know what you're doing, please write 0.0.0.0
zh_CN: Webhook 监听主机,除非你知道自己在做什么,否则请写 0.0.0.0
zh_Hans: Webhook 监听主机,除非你知道自己在做什么,否则请写 0.0.0.0
type: string
required: true
default: "0.0.0.0"
- name: port
label:
en_US: Port
zh_CN: 监听端口
zh_Hans: 监听端口
type: integer
required: true
default: 2290
- name: corpid
label:
en_US: Corpid
zh_CN: 企业ID
zh_Hans: 企业ID
type: string
required: true
default: ""
- name: secret
label:
en_US: Secret
zh_CN: 密钥
zh_Hans: 密钥
type: string
required: true
default: ""
- name: token
label:
en_US: Token
zh_CN: 令牌
zh_Hans: 令牌
type: string
required: true
default: ""
- name: EncodingAESKey
label:
en_US: EncodingAESKey
zh_CN: 消息加解密密钥
zh_Hans: 消息加解密密钥
type: string
required: true
default: ""
- name: contacts_secret
label:
en_US: Contacts Secret
zh_CN: 通讯录密钥
zh_Hans: 通讯录密钥
type: string
required: true
default: ""

View File

@@ -4,45 +4,45 @@ metadata:
name: wecomcs
label:
en_US: WeComCustomerService
zh_CN: 企业微信客服
zh_Hans: 企业微信客服
description:
en_US: WeComCSAdapter
zh_CN: 企业微信客服适配器
zh_Hans: 企业微信客服适配器
icon: wecom.png
spec:
config:
- name: port
label:
en_US: Port
zh_CN: 监听端口
zh_Hans: 监听端口
type: int
required: true
default: 2289
- name: corpid
label:
en_US: Corpid
zh_CN: 企业ID
zh_Hans: 企业ID
type: string
required: true
default: ""
- name: secret
label:
en_US: Secret
zh_CN: 密钥
zh_Hans: 密钥
type: string
required: true
default: ""
- name: token
label:
en_US: Token
zh_CN: 令牌
zh_Hans: 令牌
type: string
required: true
default: ""
- name: EncodingAESKey
label:
en_US: EncodingAESKey
zh_CN: 消息加解密密钥
zh_Hans: 消息加解密密钥
type: string
required: true
default: ""