2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-04 18:27:13 +08:00

fix: 修正网站启动停止的翻译

This commit is contained in:
2025-04-16 15:30:35 +08:00
parent 3eeefcdc9c
commit 2271084c02

View File

@@ -233,11 +233,11 @@ const handleStatusChange = (row: any) => {
useRequest(website.status(row.id, !row.status)).onSuccess(() => {
row.status = !row.status
window.$message.success(
$gettext('Already %{ status }', {
status: row.status ? $gettext('started') : $gettext('stopped')
})
)
if (row.status) {
window.$message.success($gettext('Started successfully'))
} else {
window.$message.success($gettext('Stopped successfully'))
}
})
}