mirror of
https://github.com/langgenius/dify.git
synced 2026-05-06 02:18:08 +08:00
chore: message type i18n
This commit is contained in:
@ -119,7 +119,7 @@ const ConfigPrompt: FC<Props> = ({
|
||||
/>
|
||||
<TooltipPlus
|
||||
popupContent={
|
||||
<div>{t(`${i18nPrefix}.roleDescription`)}</div>
|
||||
<div className='max-w-[180px]'>{t(`${i18nPrefix}.roleDescription.${item.role}`)}</div>
|
||||
}
|
||||
>
|
||||
<HelpCircle className='w-3.5 h-3.5 text-gray-400' />
|
||||
|
||||
@ -201,7 +201,9 @@ const Panel: FC<NodePanelProps<LLMNodeType>> = ({
|
||||
title={<div className='flex items-center space-x-1'>
|
||||
<div className='text-xs font-semibold text-gray-700 uppercase'>user</div>
|
||||
<TooltipPlus
|
||||
popupContent={t('workflow.nodes.llm.roleDescription')}
|
||||
popupContent={
|
||||
<div className='max-w-[180px]'>{t('workflow.nodes.llm.roleDescription.user')}</div>
|
||||
}
|
||||
>
|
||||
<HelpCircle className='w-3.5 h-3.5 text-gray-400' />
|
||||
</TooltipPlus>
|
||||
|
||||
Reference in New Issue
Block a user