mirror of
https://github.com/langgenius/dify.git
synced 2026-05-09 12:59:18 +08:00
tweaks
This commit is contained in:
parent
aff33d079b
commit
64bacd1e5f
@ -160,7 +160,9 @@ const DeployTab: FC<DeployTabProps> = ({ instanceId: appId }) => {
|
||||
? t('deployDrawer.deploy')
|
||||
: status === 'ready'
|
||||
? t('deployTab.deployOtherVersion')
|
||||
: t('deployTab.viewProgress')}
|
||||
: status === 'deploying'
|
||||
? t('deployTab.viewProgress')
|
||||
: t('deployTab.viewError')}
|
||||
</Button>
|
||||
{!isUndeployed && (
|
||||
<DropdownMenu modal={false}>
|
||||
|
||||
@ -37,10 +37,11 @@ export const DeploymentStatusSummary: FC<DeploymentStatusSummaryProps> = ({ row
|
||||
}
|
||||
|
||||
if (status === 'deploy_failed') {
|
||||
const hasRunningRelease = !!activeRelease(row)?.id
|
||||
return (
|
||||
<span className="inline-flex items-center gap-1.5 system-sm-medium text-util-colors-warning-warning-700">
|
||||
<span className="i-ri-alert-line h-3.5 w-3.5" />
|
||||
{t('deployTab.status.runningWithFailed')}
|
||||
{t(hasRunningRelease ? 'deployTab.status.runningWithFailed' : 'deployTab.status.deployFailed')}
|
||||
</span>
|
||||
)
|
||||
}
|
||||
|
||||
@ -156,6 +156,7 @@
|
||||
"deployTab.panel.deploymentId": "Deployment ID",
|
||||
"deployTab.panel.endpoints": "Endpoints",
|
||||
"deployTab.panel.envVars": "Environment variables",
|
||||
"deployTab.panel.error": "Error",
|
||||
"deployTab.panel.failedRelease": "Failed release",
|
||||
"deployTab.panel.health": "Health",
|
||||
"deployTab.panel.instanceInfo": "Instance info",
|
||||
@ -169,14 +170,17 @@
|
||||
"deployTab.panel.runtimeMode": "Runtime mode",
|
||||
"deployTab.panel.runtimeNote": "Runtime note",
|
||||
"deployTab.panel.targetRelease": "Target release",
|
||||
"deployTab.panel.unknownError": "Deployment failed.",
|
||||
"deployTab.promote": "Promote",
|
||||
"deployTab.retry": "Retry",
|
||||
"deployTab.rollback": "Rollback...",
|
||||
"deployTab.shortcut": "Shortcut",
|
||||
"deployTab.status.deployFailed": "Deploy failed",
|
||||
"deployTab.status.deployingRelease": "Deploying ({{release}})",
|
||||
"deployTab.status.runningWithFailed": "Running (last deployment failed)",
|
||||
"deployTab.undeploy": "Undeploy",
|
||||
"deployTab.undeployFrom": "Undeploy from {{name}}",
|
||||
"deployTab.viewError": "View error",
|
||||
"deployTab.viewLogs": "View logs",
|
||||
"deployTab.viewProgress": "View progress",
|
||||
"detail.backToInstances": "Back to app instances",
|
||||
|
||||
@ -156,6 +156,7 @@
|
||||
"deployTab.panel.deploymentId": "部署 ID",
|
||||
"deployTab.panel.endpoints": "端点",
|
||||
"deployTab.panel.envVars": "环境变量",
|
||||
"deployTab.panel.error": "错误",
|
||||
"deployTab.panel.failedRelease": "失败版本",
|
||||
"deployTab.panel.health": "健康检查",
|
||||
"deployTab.panel.instanceInfo": "实例信息",
|
||||
@ -169,14 +170,17 @@
|
||||
"deployTab.panel.runtimeMode": "运行模式",
|
||||
"deployTab.panel.runtimeNote": "运行时备注",
|
||||
"deployTab.panel.targetRelease": "目标版本",
|
||||
"deployTab.panel.unknownError": "部署失败。",
|
||||
"deployTab.promote": "发布",
|
||||
"deployTab.retry": "重试",
|
||||
"deployTab.rollback": "回滚...",
|
||||
"deployTab.shortcut": "快捷",
|
||||
"deployTab.status.deployFailed": "部署失败",
|
||||
"deployTab.status.deployingRelease": "部署中({{release}})",
|
||||
"deployTab.status.runningWithFailed": "运行中(上次部署失败)",
|
||||
"deployTab.undeploy": "下线",
|
||||
"deployTab.undeployFrom": "从 {{name}} 取消部署",
|
||||
"deployTab.viewError": "查看错误",
|
||||
"deployTab.viewLogs": "查看日志",
|
||||
"deployTab.viewProgress": "查看进度",
|
||||
"detail.backToInstances": "返回应用实例",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user