fix(admin-web): use verb form for schedule action tooltip
Frontend CI / Frontend (push) Successful in 3m34s

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-05-14 13:23:41 +08:00
parent 01dbb9c8d3
commit 34dda524d7
3 changed files with 6 additions and 2 deletions
@@ -283,8 +283,8 @@ function handleTableChange(nextPage: number, nextPageSize: number): void {
<a-tooltip
:title="
record.status === 'enabled'
? t('custom.schedule.disabled')
: t('custom.schedule.enabled')
? t('custom.schedule.disableAction')
: t('custom.schedule.enableAction')
"
>
<a-button
@@ -1568,6 +1568,8 @@ const enUS = {
deleteConfirm: 'Delete this scheduled task?',
enabled: 'Enabled',
disabled: 'Disabled',
enableAction: 'Enable',
disableAction: 'Disable',
cronOptions: {
daily: 'Once daily',
twiceDaily: 'Twice daily',
@@ -1487,6 +1487,8 @@ const zhCN = {
deleteConfirm: "确定删除该定时任务?",
enabled: "已启用",
disabled: "已停用",
enableAction: "启用",
disableAction: "停用",
cronOptions: {
daily: "每天一次",
twiceDaily: "每天两次",