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
a9b107033a
commit
7eab807174
Binary file not shown.
|
Before Width: | Height: | Size: 9.0 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 39 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 38 KiB |
@ -83,7 +83,7 @@ const Toolbar = ({
|
||||
<div className={className} style={style}>
|
||||
<div className="relative flex items-center gap-2">
|
||||
<Show when={showMouseState}>
|
||||
<Tooltip title={isMouseFriendly ? t("workflow.detail.design.toolbar.hand_mode") : t("workflow.detail.design.toolbar.pointer_mode")}>
|
||||
<Tooltip title={isMouseFriendly ? t("workflow.detail.design.toolbar.drag_mode") : t("workflow.detail.design.toolbar.pointer_mode")}>
|
||||
<Button
|
||||
ghost={isMouseFriendly}
|
||||
icon={<IconHandStop size={buttonIconSize} />}
|
||||
|
||||
@ -72,7 +72,7 @@
|
||||
"workflow.detail.design.toolbar.horizontal_layout": "Horizontal Layout",
|
||||
"workflow.detail.design.toolbar.vertical_layout": "Vertical Layout",
|
||||
"workflow.detail.design.toolbar.minimap": "Minimap",
|
||||
"workflow.detail.design.toolbar.hand_mode": "Hand mode",
|
||||
"workflow.detail.design.toolbar.drag_mode": "Drag mode",
|
||||
"workflow.detail.design.toolbar.pointer_mode": "Pointer mode",
|
||||
"workflow.detail.design.drawer.node_id.label": "Node ID: ",
|
||||
"workflow.detail.design.drawer.disabled.on.tooltip": "Disable",
|
||||
|
||||
@ -14,6 +14,7 @@
|
||||
|
||||
"workflow_run.nodata.description": "It looks like you don't have any runs. Get started by running this workflow.",
|
||||
|
||||
"workflow_run.props.workflow": "Workflow",
|
||||
"workflow_run.props.status": "Status",
|
||||
"workflow_run.props.status.pending": "Pending",
|
||||
"workflow_run.props.status.processing": "Processing",
|
||||
|
||||
@ -12,7 +12,7 @@
|
||||
"dashboard.shortcut.change_account": "修改登录账号密码",
|
||||
"dashboard.shortcut.configure_ca": "配置证书颁发机构",
|
||||
|
||||
"dashboard.latest_workflow_runs": "最近运行的工作流",
|
||||
"dashboard.latest_workflow_runs": "最近的工作流运行",
|
||||
"dashboard.latest_workflow_runs.nodata.description": "当前未找到任何工作流运行历史。请先运行一个工作流。",
|
||||
"dashboard.latest_workflow_runs.nodata.button": "前往工作流"
|
||||
}
|
||||
|
||||
@ -72,7 +72,7 @@
|
||||
"workflow.detail.design.toolbar.horizontal_layout": "横向布局",
|
||||
"workflow.detail.design.toolbar.vertical_layout": "竖向布局",
|
||||
"workflow.detail.design.toolbar.minimap": "小地图",
|
||||
"workflow.detail.design.toolbar.hand_mode": "触摸模式",
|
||||
"workflow.detail.design.toolbar.drag_mode": "触摸模式",
|
||||
"workflow.detail.design.toolbar.pointer_mode": "指针模式",
|
||||
"workflow.detail.design.drawer.node_id.label": "节点 ID:",
|
||||
"workflow.detail.design.drawer.disabled.on.tooltip": "禁用",
|
||||
|
||||
@ -14,6 +14,7 @@
|
||||
|
||||
"workflow_run.nodata.description": "当前未找到任何运行历史。请先运行此工作流。",
|
||||
|
||||
"workflow_run.props.workflow": "工作流",
|
||||
"workflow_run.props.status": "状态",
|
||||
"workflow_run.props.status.pending": "等待运行",
|
||||
"workflow_run.props.status.processing": "运行中",
|
||||
|
||||
@ -275,8 +275,8 @@ const WorkflowRunHistoryTable = ({ className, style }: { className?: string; sty
|
||||
render: (_, record) => <span className="font-mono">{record.id}</span>,
|
||||
},
|
||||
{
|
||||
key: "name",
|
||||
title: t("workflow.props.name"),
|
||||
key: "workflow",
|
||||
title: t("workflow_run.props.workflow"),
|
||||
render: (_, record) => {
|
||||
const workflow = record.expand?.workflowRef;
|
||||
return (
|
||||
|
||||
@ -217,6 +217,10 @@ const SettingsDiagnosticsCrons = ({ className, style }: { className?: string; st
|
||||
},
|
||||
{
|
||||
refreshDeps: [page, pageSize],
|
||||
throttleWait: 1000,
|
||||
throttleLeading: true,
|
||||
pollingInterval: 3000,
|
||||
pollingWhenHidden: true,
|
||||
onSuccess: (res) => {
|
||||
setListData(res.items);
|
||||
setListTotal(res.totalItems);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user