feat(settings): explanatory body in Remove monitors confirmation modal

The remove-all-monitors confirmation dialog only had a one-line title
and an empty body, which looked awkward and didn't communicate what was
actually about to be deleted alongside the monitors themselves.

- Adds a paragraph explaining that check history, incidents, scheduled
  maintenance windows, and dependent status pages will also be removed,
  with an inline tip to export monitors first to keep a backup.
- The Confirm button now uses confirmColor='error' to make the
  destructive action visually distinct, with a localized
  'Remove monitors' label.
- Translated to all 16 locales, with terminology aligned to each
  locale's existing usage (e.g. zh-CN/zh-TW use 监控/監控 to match the
  existing button label, vi uses 'trình giám sát', etc.).
This commit is contained in:
gorkem-bwl committed 2026-04-28 23:58:13 -04:00
1 parent fef3f2c294
commit 5716b5eea4
17 files changed
+59 -37

No files matched your search

+3 -2
View File
@@ -1237,10 +1237,11 @@
},
"removeMonitors": {
"title": "รีเซ็ตระบบ",
"description": "ลบมอนิเตอร์ทั้งหมดออกจากระบบ",
"description": "ลบมอนิเตอร์ทั้งหมดจากระบบของคุณ",
"dialog": {
"title": "ลบมอนิเตอร์ทั้งหมด?",
"description": "ไม่สามารถย้อนกลับได้"
"description": "การกระทำนี้ไม่สามารถย้อนกลับได้",
"paragraph": "ประวัติการตรวจสอบทั้งหมด เหตุการณ์ ช่วงเวลาบำรุงรักษาที่กำหนดไว้ และหน้าสถานะที่ใช้มอนิเตอร์เหล่านี้จะถูกลบไปด้วย ส่งออกมอนิเตอร์ก่อนหากต้องการเก็บสำเนาข้อมูลสำรองไว้"
}
},
"exportMonitors": {