From be3d9d3c5518058bab1855642654773d8df4cfbb Mon Sep 17 00:00:00 2001 From: arvinxx Date: Sat, 26 Aug 2023 14:28:46 +0800 Subject: [PATCH] feat: support i18n --- plugins/realtimeWeather.json | 23 +++++++++++++---------- plugins/searchEngine.json | 23 +++++++++++++---------- plugins/webCrawler.json | 23 +++++++++++++---------- 3 files changed, 39 insertions(+), 30 deletions(-) diff --git a/plugins/realtimeWeather.json b/plugins/realtimeWeather.json index 19ec73e..b188d77 100644 --- a/plugins/realtimeWeather.json +++ b/plugins/realtimeWeather.json @@ -1,17 +1,20 @@ { - "schemaVersion": 1, - "identifier": "realtimeWeather", - "createAt": "2023-08-12", "author": "LobeHub", + "createAt": "2023-08-12", "homepage": "https://github.com/lobehub/chat-plugin-realtime-weather", + "identifier": "realtimeWeather", + "manifest": "https://realtime-weather.chat-plugin.lobehub.com/manifest.json", "meta": { "avatar": "🌈", - "tags": [ - "weather", - "realtime" - ], - "title": "实时天气预报", - "description": "获取当前天气情况" + "tags": ["weather", "realtime"], + "title": { + "en-US": "Realtime Weather", + "zh-CN": "实时天气" + }, + "description": { + "en-US": "Get realtime weather information", + "zh-CN": "获取当前天气情况" + } }, - "manifest": "https://realtime-weather.chat-plugin.lobehub.com/manifest.json" + "schemaVersion": 1 } diff --git a/plugins/searchEngine.json b/plugins/searchEngine.json index 40d6d9f..c3f34aa 100644 --- a/plugins/searchEngine.json +++ b/plugins/searchEngine.json @@ -1,17 +1,20 @@ { - "schemaVersion": 1, - "identifier": "searchEngine", - "createAt": "2023-08-15", "author": "LobeHub", + "createAt": "2023-08-15", "homepage": "https://github.com/lobehub/chat-plugin-search-engine", + "identifier": "searchEngine", + "manifest": "https://search-engine.chat-plugin.lobehub.com/manifest.json", "meta": { "avatar": "🔍", - "tags": [ - "web", - "search" - ], - "title": "搜索引擎", - "description": "查询搜索引擎获取信息" + "tags": ["web", "search"], + "title": { + "en-US": "Website Crawler", + "zh-CN": "网页内容提取" + }, + "description": { + "en-US": "Extract content from web links", + "zh-CN": "从网页链接中提取内容" + } }, - "manifest": "https://search-engine.chat-plugin.lobehub.com/manifest.json" + "schemaVersion": 1 } diff --git a/plugins/webCrawler.json b/plugins/webCrawler.json index e30ca3d..a990a0b 100644 --- a/plugins/webCrawler.json +++ b/plugins/webCrawler.json @@ -1,17 +1,20 @@ { - "schemaVersion": 1, - "identifier": "websiteCrawler", - "createAt": "2023-08-17", "author": "LobeHub", + "createAt": "2023-08-17", "homepage": "https://github.com/lobehub/chat-plugin-web-crawler", + "identifier": "websiteCrawler", + "manifest": "https://web-crawler.chat-plugin.lobehub.com/manifest.json", "meta": { "avatar": "🕸", - "tags": [ - "web", - "content-crawler" - ], - "title": "网页内容提取", - "description": "从网页链接中提取内容" + "tags": ["web", "content-crawler"], + "title": { + "en-US": "Search Engine", + "zh-CN": "搜索引擎" + }, + "description": { + "en-US": "Query search engine to get information", + "zh-CN": "查询搜索引擎获取信息" + } }, - "manifest": "https://web-crawler.chat-plugin.lobehub.com/manifest.json" + "schemaVersion": 1 }