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

+4 -3
View File
@@ -1236,11 +1236,12 @@
"description": "新增範例監控以供示範用途。"
},
"removeMonitors": {
"title": "系統重設",
"description": "從系統中移除所有監控。",
"title": "系統重置",
"description": "從系統中移除所有監視器。",
"dialog": {
"title": "移除所有監控?",
"description": "此操作無法復原。"
"description": "此操作無法復原。",
"paragraph": "所有檢查歷史、事件、排定的維護時段以及使用這些監控的狀態頁面也將一併被移除。如需保留資料備份,請先匯出監控。"
}
},
"exportMonitors": {