fix(admin-web): use verb form for schedule action tooltip
Frontend CI / Frontend (push) Successful in 3m34s
Frontend CI / Frontend (push) Successful in 3m34s
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -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: "每天两次",
|
||||
|
||||
Reference in New Issue
Block a user