feat: localize academic warning workflows

This commit is contained in:
biss committed 2026-10-31 19:31:12 +08:00
1 parent 8b2e4f152d
commit d1a1ab75c7
12 files changed
+68 -66

No files matched your search

+1 -1
View File
@@ -798,7 +798,7 @@ async function withdraw(offering: any) {
{ type: 'warning', confirmButtonText: '确认退选', cancelButtonText: '暂不退选' },
)
await http.delete(`/course-selections/student/enrollments/${enrollment.id}`)
ElMessage.success('已退选')
ElMessage.success(t('enrollmentManagement.statuses.Withdrawn'))
await selectRound(selectedRound.value)
} catch (error: any) {
if (error !== 'cancel' && error !== 'close') ElMessage.error(apiErrorMessage(error))