refactor: standardize terminology by renaming 'data-source' to 'datasource' across components and translations

This commit is contained in:
twwu
2025-05-26 10:50:39 +08:00
parent 841bd35ebb
commit 13e3f17493
6 changed files with 30 additions and 18 deletions

View File

@ -146,7 +146,7 @@ const BaseNode: FC<BaseNodeProps> = ({
data.type === BlockEnum.DataSource && (
<div className='absolute inset-[-2px] top-[-22px] z-[-1] rounded-[18px] bg-node-data-source-bg p-0.5 backdrop-blur-[6px]'>
<div className='system-2xs-semibold-uppercase flex h-5 items-center px-2.5 text-text-tertiary'>
{t('workflow.blocks.data-source')}
{t('workflow.blocks.datasource')}
</div>
</div>
)