feat: add i18n

This commit is contained in:
xingyu4j
2025-10-21 17:42:02 +08:00
parent d44ff7006a
commit 5203b991de
13 changed files with 29 additions and 23 deletions

View File

@@ -73,7 +73,7 @@ async function handleStatusChange(
message.success(`${text}成功`);
resolve(true);
} else {
reject(new Error('操作失败'));
reject(new Error($t('ui.actionMessage.operationFailed')));
}
})
.catch(() => {