mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-07-26 14:26:06 +00:00
fix(web): add missing market.componentName i18n keys
The marketplace component filter (and component badges) used
market.componentName.{Tool,Command,EventListener,KnowledgeEngine,Parser,Page}
but those keys only existed under plugins.componentName, so the market UI
showed raw keys. Add a componentName block to the market namespace (zh-Hans +
en-US; other locales fall back to zh-Hans).
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -672,6 +672,14 @@ const enUS = {
|
|||||||
markAsReadFailed: 'Mark as read failed',
|
markAsReadFailed: 'Mark as read failed',
|
||||||
filterByComponent: 'Component',
|
filterByComponent: 'Component',
|
||||||
allComponents: 'All Components',
|
allComponents: 'All Components',
|
||||||
|
componentName: {
|
||||||
|
Tool: 'Tool',
|
||||||
|
EventListener: 'Event Listener',
|
||||||
|
Command: 'Command',
|
||||||
|
KnowledgeEngine: 'Knowledge Engine',
|
||||||
|
Parser: 'Parser',
|
||||||
|
Page: 'Page',
|
||||||
|
},
|
||||||
filterByType: 'Type',
|
filterByType: 'Type',
|
||||||
allTypes: 'All Types',
|
allTypes: 'All Types',
|
||||||
typePlugin: 'Plugin',
|
typePlugin: 'Plugin',
|
||||||
|
|||||||
@@ -645,6 +645,14 @@ const zhHans = {
|
|||||||
markAsReadFailed: '标记为已读失败',
|
markAsReadFailed: '标记为已读失败',
|
||||||
filterByComponent: '组件',
|
filterByComponent: '组件',
|
||||||
allComponents: '全部组件',
|
allComponents: '全部组件',
|
||||||
|
componentName: {
|
||||||
|
Tool: '工具',
|
||||||
|
EventListener: '事件监听器',
|
||||||
|
Command: '命令',
|
||||||
|
KnowledgeEngine: '知识引擎',
|
||||||
|
Parser: '解析器',
|
||||||
|
Page: '页面',
|
||||||
|
},
|
||||||
filterByType: '类型',
|
filterByType: '类型',
|
||||||
allTypes: '全部类型',
|
allTypes: '全部类型',
|
||||||
typePlugin: '插件',
|
typePlugin: '插件',
|
||||||
|
|||||||
Reference in New Issue
Block a user