diff --git a/locales/en.json b/locales/en.json index 6f5a0883c..570a0ac4b 100644 --- a/locales/en.json +++ b/locales/en.json @@ -1545,15 +1545,15 @@ }, "performanceTest": { "title": "Performance Tests", - "description": "Run performance tests against your ComfyUI builds.", - "selectInstance": "1. Select a build", - "workspaceLabel": "Workspace", - "instanceLabel": "Build", + "selectInstance": "Build", "selectInstancePlaceholder": "Select a build", - "chooseWorkflow": "2. Choose a workflow", + "chooseWorkflow": "Workflow", "chooseExampleWorkflow": "Choose an example workflow", "loadingExampleWorkflows": "Loading example workflows...", - "orImportApiWorkflow": "or import an API workflow", + "importApiWorkflow": "Import API workflow", + "orDropJson": "or drop the .json", + "exampleTag": "Example", + "apiTag": "API", "exampleWorkflowPickerTitle": "Choose an example workflow", "exampleWorkflowPickerDescription": "Missing models will be downloaded automatically.", "useExampleWorkflow": "Use workflow", @@ -1565,7 +1565,6 @@ "exampleModelsFailed": "Could not download every model required by this workflow.", "exampleModelsNoSpace": "There is not enough disk space for this workflow's models.", "cancelExampleDownload": "Cancel download", - "dropWorkflowHint": "Drop a workflow .json file in API format here, or click to browse", "importingWorkflow": "Importing workflow...", "preparingExampleWorkflow": "Preparing workflow and downloading required models...", "importFailed": "Could not import the workflow.", @@ -1575,24 +1574,20 @@ "stop": "Stop", "stopping": "Stopping...", "stopFailed": "Could not stop the build.", - "measurementSettings": "3. Set measurement settings", + "measurementSettings": "Runs", "warmupRuns": "Warm-up runs", "warmupRunsHint": "Runs executed first to load models and warm up caches. They are not included in the results.", "measuredRuns": "Measured runs", "measuredRunsHint": "Runs timed after the warm-up runs. Their durations are used to calculate the results.", "logsPlaceholder": "Build logs will appear here.", "results": "Results", - "resultsPlaceholder": "Performance test results will appear here.", - "workflowFileName": "Workflow file", + "resultsPlaceholder": "Choose a workflow and press Run. Results stay here until the next run.", "fastestRun": "Fastest run", "slowestRun": "Slowest run", "averageRunDuration": "Average run", "medianRunDuration": "Median run", - "measuredRunCount": "Measured runs", - "failedRunCount": "Failed runs", "runProgress": "Progress", - "runProgressCount": "{completed} of {total} runs completed", - "runDurationChart": "Run duration aggregates", + "runDurationChart": "Run duration", "device": "Compute device", "vram": "VRAM", "ram": "RAM", @@ -1608,11 +1603,23 @@ "exportResultsImage": "Export results", "exportingImage": "Exporting image...", "exportImageFailed": "Could not export the results image.", - "running": "Running...", "launchFailed": "Failed to start the build.", "submittingRuns": "Submitting {warmupCount} warm-up runs and {count} measured runs...", "completedRuns": "Finished {count} measured runs ({failed} failed). Final response saved to {path}", - "submitFailed": "Failed to submit the performance test workflow." + "submitFailed": "Failed to submit the performance test workflow.", + "chooseWorkflowPlaceholder": "Choose a workflow", + "buildTriggerLabel": "Build: {build}", + "workflowTriggerLabel": "Workflow: {workflow}", + "resultContext": "{workflow} on {build}", + "startingBuild": "Starting the build...", + "runFailedTitle": "The test didn't finish", + "runFailedHint": "See the logs below for details.", + "runNumber": "Run {current} of {total}", + "resultsEmptyTitle": "No results yet", + "medianSummary": "Median run · {count} measured · {failed} failed", + "runCounts": "{count} measured · {failed} failed", + "runPhaseWarmup": "warm-up run", + "runPhaseMeasured": "measured run {current} of {total}" }, "benchmarks": { "title": "Benchmarks", diff --git a/locales/zh.json b/locales/zh.json index 5ac3b62c3..9d244cded 100644 --- a/locales/zh.json +++ b/locales/zh.json @@ -1545,15 +1545,15 @@ }, "performanceTest": { "title": "性能测试", - "description": "针对您的 ComfyUI 构建运行性能测量。", - "selectInstance": "1. 选择构建", - "workspaceLabel": "工作区", - "instanceLabel": "构建", + "selectInstance": "构建", "selectInstancePlaceholder": "选择构建", - "chooseWorkflow": "2. 选择工作流", + "chooseWorkflow": "工作流", "chooseExampleWorkflow": "选择示例工作流", "loadingExampleWorkflows": "正在加载示例工作流...", - "orImportApiWorkflow": "或导入 API 工作流", + "importApiWorkflow": "导入 API 工作流", + "orDropJson": "或拖入 .json 文件", + "exampleTag": "示例", + "apiTag": "API", "exampleWorkflowPickerTitle": "选择示例工作流", "exampleWorkflowPickerDescription": "缺少的模型将自动下载。", "useExampleWorkflow": "使用工作流", @@ -1565,7 +1565,6 @@ "exampleModelsFailed": "无法下载此工作流所需的全部模型。", "exampleModelsNoSpace": "磁盘空间不足,无法下载此工作流的模型。", "cancelExampleDownload": "取消下载", - "dropWorkflowHint": "将 API 格式的工作流 .json 文件拖放到此处,或点击浏览", "importingWorkflow": "正在导入工作流...", "preparingExampleWorkflow": "正在准备工作流并下载所需模型...", "importFailed": "无法导入工作流。", @@ -1575,24 +1574,20 @@ "stop": "停止", "stopping": "正在停止...", "stopFailed": "无法停止构建。", - "measurementSettings": "3. 设置测量参数", + "measurementSettings": "运行次数", "warmupRuns": "预热运行次数", "warmupRunsHint": "预先执行的运行,用于加载模型并预热缓存。这些运行不计入结果。", "measuredRuns": "测量运行次数", "measuredRunsHint": "在预热运行之后计时的运行。其耗时将用于计算结果。", "logsPlaceholder": "构建日志将显示在此处。", "results": "结果", - "resultsPlaceholder": "性能测试结果将显示在此处。", - "workflowFileName": "工作流文件", + "resultsPlaceholder": "选择工作流并点击运行。结果会保留到下一次运行。", "fastestRun": "最快运行", "slowestRun": "最慢运行", "averageRunDuration": "平均运行时长", "medianRunDuration": "运行时长中位数", - "measuredRunCount": "测量运行数", - "failedRunCount": "失败运行数", "runProgress": "进度", - "runProgressCount": "已完成 {completed}/{total} 次运行", - "runDurationChart": "运行时长汇总", + "runDurationChart": "运行时长", "device": "计算设备", "vram": "显存", "ram": "内存", @@ -1608,11 +1603,23 @@ "exportResultsImage": "导出结果", "exportingImage": "正在导出图像...", "exportImageFailed": "无法导出结果图像。", - "running": "正在运行...", "launchFailed": "无法启动构建。", "submittingRuns": "正在提交 {warmupCount} 次预热运行和 {count} 次测量运行...", "completedRuns": "已完成 {count} 次测量运行({failed} 次失败)。最终响应已保存到 {path}", - "submitFailed": "无法提交基准工作流。" + "submitFailed": "无法提交基准工作流。", + "chooseWorkflowPlaceholder": "选择工作流", + "buildTriggerLabel": "构建:{build}", + "workflowTriggerLabel": "工作流:{workflow}", + "resultContext": "在 {build} 上运行 {workflow}", + "startingBuild": "正在启动构建...", + "runFailedTitle": "测试未完成", + "runFailedHint": "详情请查看下方日志。", + "runNumber": "第 {current} / {total} 次运行", + "resultsEmptyTitle": "暂无结果", + "medianSummary": "中位运行 · {count} 次测量 · {failed} 次失败", + "runCounts": "{count} 次测量 · {failed} 次失败", + "runPhaseWarmup": "预热运行", + "runPhaseMeasured": "第 {current} / {total} 次测量运行" }, "benchmarks": { "title": "性能比较", diff --git a/src/renderer/src/components/BrandedPageHeader.vue b/src/renderer/src/components/BrandedPageHeader.vue index 2a3fc7045..d3e3d6c27 100644 --- a/src/renderer/src/components/BrandedPageHeader.vue +++ b/src/renderer/src/components/BrandedPageHeader.vue @@ -1,17 +1,22 @@