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:
1 parent
fef3f2c294
commit
5716b5eea4
17 files changed
+59
-37
No files matched your search
@@ -1237,10 +1237,11 @@
|
||||
},
|
||||
"removeMonitors": {
|
||||
"title": "系统重置",
|
||||
"description": "从系统中移除所有监控。",
|
||||
"description": "从系统中移除所有监视器。",
|
||||
"dialog": {
|
||||
"title": "移除所有监控?",
|
||||
"description": "此操作无法撤销。"
|
||||
"description": "此操作无法撤销。",
|
||||
"paragraph": "所有检查历史、事件、计划维护窗口以及使用这些监控的状态页面也将一并被移除。如需保留数据备份,请先导出监控。"
|
||||
}
|
||||
},
|
||||
"exportMonitors": {
|
||||
|
||||
Reference in new issue
Block a user