mirror of
https://github.com/langgenius/dify.git
synced 2026-02-22 19:15:47 +08:00
fix(workflow): replace hardcoded strings with i18n in test run panel title
Use existing i18n keys for internationalization: - singleRun.testRun: "Test Run" / "测试运行" - common.running: "Running" / "运行中"
This commit is contained in:
@ -109,7 +109,7 @@ const WorkflowPreview = () => {
|
||||
onMouseDown={startResizing}
|
||||
/>
|
||||
<div className="flex items-center justify-between p-4 pb-1 text-base font-semibold text-text-primary">
|
||||
{`Test Run${workflowRunningData ? formatWorkflowRunIdentifier(workflowRunningData.result.finished_at) : ''}`}
|
||||
{`${t('singleRun.testRun', { ns: 'workflow' })}${workflowRunningData ? formatWorkflowRunIdentifier(workflowRunningData.result.finished_at, t('common.running', { ns: 'workflow' })) : ''}`}
|
||||
<div className="flex items-center gap-1">
|
||||
<Tooltip popupContent={t('operation.refresh', { ns: 'common' })}>
|
||||
<ActionButton onClick={() => {
|
||||
|
||||
Reference in New Issue
Block a user