mirror of
https://github.com/certimate-go/certimate.git
synced 2026-09-24 23:10:13 +08:00
chore(i18n): improve i18n
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
"dashboard.shortcut.configure_ca": "Configure certificate authorities",
|
||||
"dashboard.shortcut.upgrade": "New version available!",
|
||||
|
||||
"dashboard.latest_workflow_runs": "Latest workflow runs",
|
||||
"dashboard.latest_workflow_runs.nodata.description": "It looks like you don't have any runs. Get started by running a workflow.",
|
||||
"dashboard.latest_workflow_runs.nodata.button": "Go to workflows"
|
||||
"dashboard.recent_workflow_runs": "Recent workflow runs",
|
||||
"dashboard.recent_workflow_runs.nodata.description": "It looks like you don't have any runs. Get started by running a workflow.",
|
||||
"dashboard.recent_workflow_runs.nodata.button": "Go to workflows"
|
||||
}
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"certificate.page.subtitle": "SSL 证书含有网站的公钥和网站标识以及其他相关信息。它们来自于工作流的运行输出。",
|
||||
|
||||
"certificate.nodata.title": "暂无证书",
|
||||
"certificate.nodata.description": "当前未找到任何认证。请先运行一个工作流以生成证书。",
|
||||
"certificate.nodata.description": "当前未找到证书。请先运行一个工作流。",
|
||||
"certificate.nodata.button": "前往工作流",
|
||||
|
||||
"certificate.search.placeholder": "按证书名称或序列号搜索……",
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
"dashboard.shortcut.configure_ca": "配置证书颁发机构",
|
||||
"dashboard.shortcut.upgrade": "新版本可升级!",
|
||||
|
||||
"dashboard.latest_workflow_runs": "最近的工作流运行",
|
||||
"dashboard.latest_workflow_runs.nodata.description": "当前未找到任何工作流运行历史。请先运行一个工作流。",
|
||||
"dashboard.latest_workflow_runs.nodata.button": "前往工作流"
|
||||
"dashboard.recent_workflow_runs": "最近的工作流运行",
|
||||
"dashboard.recent_workflow_runs.nodata.description": "当前未找到工作流运行历史。请先运行一个工作流。",
|
||||
"dashboard.recent_workflow_runs.nodata.button": "前往工作流"
|
||||
}
|
||||
|
||||
@@ -54,7 +54,7 @@ const Dashboard = () => {
|
||||
</div>
|
||||
|
||||
<div className="mt-8">
|
||||
<h3>{t("dashboard.latest_workflow_runs")}</h3>
|
||||
<h3>{t("dashboard.recent_workflow_runs")}</h3>
|
||||
<WorkflowRunHistoryTable />
|
||||
</div>
|
||||
</div>
|
||||
@@ -433,7 +433,7 @@ const WorkflowRunHistoryTable = ({ className, style }: { className?: string; sty
|
||||
<Empty
|
||||
className="py-24"
|
||||
title={loadError ? t("common.text.nodata_failed") : t("common.text.nodata")}
|
||||
description={loadError ? unwrapErrMsg(loadError) : t("dashboard.latest_workflow_runs.nodata.description")}
|
||||
description={loadError ? unwrapErrMsg(loadError) : t("dashboard.recent_workflow_runs.nodata.description")}
|
||||
icon={<IconHistory size={24} />}
|
||||
extra={
|
||||
loadError ? (
|
||||
@@ -442,7 +442,7 @@ const WorkflowRunHistoryTable = ({ className, style }: { className?: string; sty
|
||||
</Button>
|
||||
) : (
|
||||
<Button icon={<IconExternalLink size="1.25em" />} type="primary" onClick={() => navigate("/workflows")}>
|
||||
{t("dashboard.latest_workflow_runs.nodata.button")}
|
||||
{t("dashboard.recent_workflow_runs.nodata.button")}
|
||||
</Button>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user