mirror of
https://github.com/certimate-go/certimate.git
synced 2026-06-22 21:05:48 +08:00
chore(ui): improve i18n
This commit is contained in:
parent
c368db3d21
commit
05adbab591
@ -2,7 +2,7 @@
|
||||
"dashboard.page.title": "Dashboard",
|
||||
|
||||
"dashboard.statistics.all_certificates": "All certificates",
|
||||
"dashboard.statistics.expire_soon_certificates": "Expiring soon certificates",
|
||||
"dashboard.statistics.expiring_soon_certificates": "Expiring soon certificates",
|
||||
"dashboard.statistics.expired_certificates": "Expired certificates",
|
||||
"dashboard.statistics.all_workflows": "All workflows",
|
||||
"dashboard.statistics.enabled_workflows": "Active workflows",
|
||||
|
||||
@ -1105,7 +1105,7 @@
|
||||
"workflow_node.condition.label": "Parallel/Conditional branch",
|
||||
"workflow_node.condition.help": "When the specified conditions are met, enter the corresponding branch. The failure of a node in a certain branch does not affect the continuation of parallel branch execution.",
|
||||
"workflow_node.condition.default_name": "Parallel",
|
||||
"workflow_node.condition.default_name.template_certtest_on_expire_soon": "If the certificate will be expiring soon ...",
|
||||
"workflow_node.condition.default_name.template_certtest_on_expiring_soon": "If the certificate will be expiring soon ...",
|
||||
"workflow_node.condition.default_name.template_certtest_on_expired": "If the certificate has expired ...",
|
||||
"workflow_node.branch_block.label": "Branch",
|
||||
"workflow_node.branch_block.default_name": "Branch",
|
||||
|
||||
@ -22,7 +22,7 @@
|
||||
"certificate.props.validity.expired": "已过期",
|
||||
"certificate.props.validity.expiration": "{{date}} 过期",
|
||||
"certificate.props.validity.filter.all": "全部",
|
||||
"certificate.props.validity.filter.expire_soon": "即将过期",
|
||||
"certificate.props.validity.filter.expiring_soon": "即将过期",
|
||||
"certificate.props.validity.filter.expired": "已过期",
|
||||
"certificate.props.brand": "证书品牌",
|
||||
"certificate.props.source": "来源",
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
"dashboard.page.title": "仪表盘",
|
||||
|
||||
"dashboard.statistics.all_certificates": "所有证书",
|
||||
"dashboard.statistics.expire_soon_certificates": "即将过期证书",
|
||||
"dashboard.statistics.expiring_soon_certificates": "即将过期证书",
|
||||
"dashboard.statistics.expired_certificates": "已过期证书",
|
||||
"dashboard.statistics.all_workflows": "所有工作流",
|
||||
"dashboard.statistics.enabled_workflows": "已启用工作流",
|
||||
|
||||
@ -1102,7 +1102,7 @@
|
||||
"workflow_node.condition.label": "并行/条件分支",
|
||||
"workflow_node.condition.help": "当满足指定的条件时,进入相应分支。某一分支中的节点执行失败不影响平行分支继续执行。",
|
||||
"workflow_node.condition.default_name": "并行",
|
||||
"workflow_node.condition.default_name.template_certtest_on_expire_soon": "若网站证书即将过期…",
|
||||
"workflow_node.condition.default_name.template_certtest_on_expiring_soon": "若网站证书即将过期…",
|
||||
"workflow_node.condition.default_name.template_certtest_on_expired": "若网站证书已过期…",
|
||||
|
||||
"workflow_node.branch_block.label": "分支",
|
||||
|
||||
@ -373,7 +373,7 @@ const CertificateList = () => {
|
||||
<Segmented
|
||||
options={[
|
||||
{ label: <span className="text-sm">{t("certificate.props.validity.filter.all")}</span>, value: "" },
|
||||
{ label: <span className="text-sm">{t("certificate.props.validity.filter.expire_soon")}</span>, value: "expiringSoon" },
|
||||
{ label: <span className="text-sm">{t("certificate.props.validity.filter.expiring_soon")}</span>, value: "expiringSoon" },
|
||||
{ label: <span className="text-sm">{t("certificate.props.validity.filter.expired")}</span>, value: "expired" },
|
||||
]}
|
||||
size="large"
|
||||
|
||||
@ -171,7 +171,7 @@ const StatisticCards = ({ className, style }: { className?: string; style?: Reac
|
||||
<StatisticCard
|
||||
style={cardStylesFn("var(--color-warning)")}
|
||||
icon={<IconAlertHexagon size={48} />}
|
||||
label={t("dashboard.statistics.expire_soon_certificates")}
|
||||
label={t("dashboard.statistics.expiring_soon_certificates")}
|
||||
loading={loading}
|
||||
value={statistics?.certificateExpiringSoon ?? "-"}
|
||||
onClick={() => navigate("/certificates?state=expiringSoon")}
|
||||
|
||||
@ -64,7 +64,7 @@ const SettingsAbout = () => {
|
||||
<div className="mb-4">
|
||||
<Typography.Text type="secondary">{t("settings.about.contributors.tips")}</Typography.Text>
|
||||
</div>
|
||||
<div className="mb-2">
|
||||
<div className="mb-2 md:max-w-160">
|
||||
<img className="max-w-full" src="https://contrib.rocks/image?repo=certimate-go/certimate" alt="Contributors" />
|
||||
</div>
|
||||
|
||||
|
||||
@ -164,7 +164,7 @@ const WorkflowNew = () => {
|
||||
tryCatchNode.blocks!.at(1)!.blocks ??= [];
|
||||
tryCatchNode.blocks!.at(1)!.blocks!.unshift(notifyOnFailureNode);
|
||||
|
||||
conditionNode.blocks!.at(0)!.data.name = t("workflow_node.condition.default_name.template_certtest_on_expire_soon");
|
||||
conditionNode.blocks!.at(0)!.data.name = t("workflow_node.condition.default_name.template_certtest_on_expiring_soon");
|
||||
conditionNode.blocks!.at(0)!.data.config = {
|
||||
...conditionNode.blocks!.at(0)!.data.config,
|
||||
expression: {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user