mirror of https://github.com/langgenius/dify.git
chore: add i18n str
This commit is contained in:
parent
244517e6e7
commit
e0b7f48b6b
|
|
@ -114,10 +114,11 @@ export const AgentStrategySelector = (props: AgentStrategySelectorProps) => {
|
|||
<PortalToFollowElemContent className='z-10'>
|
||||
<div className='bg-components-panel-bg-blur border-components-panel-border border-[0.5px] rounded-md shadow overflow-hidden w-[388px]'>
|
||||
<header className='p-2 gap-1 flex'>
|
||||
<SearchInput placeholder='Search agentic strategy' value={query} onChange={setQuery} className={'w-full'} />
|
||||
<SearchInput placeholder={t('workflow.nodes.agent.strategy.searchPlaceholder')} value={query} onChange={setQuery} className={'w-full'} />
|
||||
<ViewTypeSelect viewType={viewType} onChange={setViewType} />
|
||||
</header>
|
||||
<main className="md:h-[300px] xl:h-[400px] 2xl:h-[564px] relative overflow-hidden">
|
||||
{/* TODO: fix when in list view show workflow as group label */}
|
||||
<Tools
|
||||
tools={filteredTools}
|
||||
viewType={viewType}
|
||||
|
|
@ -131,7 +132,7 @@ export const AgentStrategySelector = (props: AgentStrategySelectorProps) => {
|
|||
setOpen(false)
|
||||
}}
|
||||
hasSearchText={false}
|
||||
showWorkflowEmpty
|
||||
showWorkflowEmpty={false}
|
||||
className='max-w-none'
|
||||
indexBarClassName='top-0 xl:top-36'
|
||||
/>
|
||||
|
|
|
|||
|
|
@ -704,6 +704,7 @@ const translation = {
|
|||
configureTip: 'Please configure agentic strategy.',
|
||||
configureTipDesc: 'After configuring the agentic strategy, this node will automatically load the remaining configurations. The strategy will affect the mechanism of multi-step tool reasoning. ',
|
||||
selectTip: 'Select agentic strategy',
|
||||
searchPlaceholder: 'Search agentic strategy',
|
||||
},
|
||||
learnMore: 'Learn more',
|
||||
pluginNotInstalled: 'This plugin is not installed',
|
||||
|
|
|
|||
|
|
@ -704,6 +704,7 @@ const translation = {
|
|||
configureTip: '请配置 Agent 策略。',
|
||||
configureTipDesc: '配置完成后,此节点将自动加载剩余配置。策略将影响多步工具推理的机制。',
|
||||
selectTip: '选择 Agent 策略',
|
||||
searchPlaceholder: '搜索 Agent 策略',
|
||||
},
|
||||
learnMore: '了解更多',
|
||||
pluginNotInstalled: '插件未安装',
|
||||
|
|
|
|||
Loading…
Reference in New Issue