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
@@ -974,7 +974,13 @@ export const SettingsPage = () => {
|
||||
setIsDemoMonitorsDialogOpen(false);
|
||||
}}
|
||||
loading={isDeletingAllMonitors}
|
||||
/>
|
||||
confirmColor="error"
|
||||
confirmText={t("common.buttons.removeMonitors")}
|
||||
>
|
||||
<Typography variant="body1">
|
||||
{t("pages.settings.form.removeMonitors.dialog.paragraph")}
|
||||
</Typography>
|
||||
</Dialog>
|
||||
|
||||
<Stack
|
||||
direction="row"
|
||||
|
||||
@@ -1236,11 +1236,12 @@
|
||||
"description": "إضافة مراقبات نموذجية لأغراض العرض التوضيحي."
|
||||
},
|
||||
"removeMonitors": {
|
||||
"title": "إعادة تعيين النظام",
|
||||
"title": "إعادة ضبط النظام",
|
||||
"description": "إزالة جميع المراقبات من نظامك.",
|
||||
"dialog": {
|
||||
"title": "إزالة جميع المراقبات؟",
|
||||
"description": "لا يمكن التراجع عن هذا."
|
||||
"description": "لا يمكن التراجع عن هذا الإجراء.",
|
||||
"paragraph": "سيتم أيضًا إزالة جميع سجلات الفحص والحوادث ونوافذ الصيانة المجدولة وأي صفحات حالة كانت تعتمد على هذه المراقبات. صدّر المراقبات أولًا للاحتفاظ بنسخة احتياطية من بياناتها."
|
||||
}
|
||||
},
|
||||
"exportMonitors": {
|
||||
|
||||
@@ -1236,11 +1236,12 @@
|
||||
"description": "Přidejte ukázkové monitory pro demonstrační účely."
|
||||
},
|
||||
"removeMonitors": {
|
||||
"title": "Obnovení systému",
|
||||
"description": "Odeberte všechny monitory z vašeho systému.",
|
||||
"title": "Reset systému",
|
||||
"description": "Odstranit všechny monitory ze systému.",
|
||||
"dialog": {
|
||||
"title": "Odebrat všechny monitory?",
|
||||
"description": "Tuto akci nelze vrátit zpět."
|
||||
"description": "Tuto akci nelze vrátit zpět.",
|
||||
"paragraph": "Smaže se také veškerá historie kontrol, incidenty, naplánovaná údržbová okna a stavové stránky, které tyto monitory používaly. Pokud si chcete data zachovat, nejprve monitory exportujte."
|
||||
}
|
||||
},
|
||||
"exportMonitors": {
|
||||
|
||||
@@ -1237,10 +1237,11 @@
|
||||
},
|
||||
"removeMonitors": {
|
||||
"title": "System zurücksetzen",
|
||||
"description": "Alle Monitore aus Ihrem System entfernen.",
|
||||
"description": "Alle Monitore aus dem System entfernen.",
|
||||
"dialog": {
|
||||
"title": "Alle Monitore entfernen?",
|
||||
"description": "Dies kann nicht rückgängig gemacht werden."
|
||||
"description": "Diese Aktion kann nicht rückgängig gemacht werden.",
|
||||
"paragraph": "Dabei werden auch der gesamte Prüfverlauf, alle Vorfälle, geplante Wartungsfenster sowie Statusseiten entfernt, die diese Monitore verwenden. Exportiere die Monitore zuerst, wenn du eine Sicherung der Daten behalten möchtest."
|
||||
}
|
||||
},
|
||||
"exportMonitors": {
|
||||
|
||||
@@ -1240,7 +1240,8 @@
|
||||
"description": "Remove all monitors from your system.",
|
||||
"dialog": {
|
||||
"title": "Remove all monitors?",
|
||||
"description": "This cannot be undone."
|
||||
"description": "This cannot be undone.",
|
||||
"paragraph": "All check history, incidents, scheduled maintenance windows, and any status pages that referenced these monitors will be removed too. Export your monitors first to keep a backup of their data."
|
||||
}
|
||||
},
|
||||
"exportMonitors": {
|
||||
|
||||
@@ -1243,11 +1243,12 @@
|
||||
"description": "Agregue monitores de ejemplo con fines demostrativos."
|
||||
},
|
||||
"removeMonitors": {
|
||||
"title": "Reinicio del sistema",
|
||||
"description": "Elimine todos los monitores de su sistema.",
|
||||
"title": "Reiniciar sistema",
|
||||
"description": "Eliminar todos los monitores del sistema.",
|
||||
"dialog": {
|
||||
"title": "¿Eliminar todos los monitores?",
|
||||
"description": "Esto no se puede deshacer."
|
||||
"description": "Esta acción no se puede deshacer.",
|
||||
"paragraph": "También se eliminarán todo el historial de comprobaciones, los incidentes, las ventanas de mantenimiento programadas y las páginas de estado que usaban estos monitores. Exporta los monitores primero si quieres conservar una copia de seguridad de sus datos."
|
||||
}
|
||||
},
|
||||
"exportMonitors": {
|
||||
|
||||
@@ -1236,11 +1236,12 @@
|
||||
"description": "Lisää esimerkkimonitoreja esittelytarkoituksiin."
|
||||
},
|
||||
"removeMonitors": {
|
||||
"title": "Järjestelmän nollaus",
|
||||
"title": "Järjestelmän palautus",
|
||||
"description": "Poista kaikki monitorit järjestelmästäsi.",
|
||||
"dialog": {
|
||||
"title": "Poistetaanko kaikki monitorit?",
|
||||
"description": "Tätä ei voi kumota."
|
||||
"description": "Tätä toimintoa ei voi kumota.",
|
||||
"paragraph": "Mukana poistuvat myös kaikki tarkistushistoria, häiriöt, ajoitetut huoltoikkunat sekä tilasivut, jotka käyttivät näitä monitoreja. Vie monitorit ensin, jos haluat säilyttää varmuuskopion niiden tiedoista."
|
||||
}
|
||||
},
|
||||
"exportMonitors": {
|
||||
|
||||
@@ -1236,11 +1236,12 @@
|
||||
"description": "Ajoutez des moniteurs d'exemple à des fins de démonstration."
|
||||
},
|
||||
"removeMonitors": {
|
||||
"title": "Réinitialisation du système",
|
||||
"description": "Supprimez tous les moniteurs de votre système.",
|
||||
"title": "Réinitialiser le système",
|
||||
"description": "Supprimer tous les moniteurs de votre système.",
|
||||
"dialog": {
|
||||
"title": "Supprimer tous les moniteurs ?",
|
||||
"description": "Cette action est irréversible."
|
||||
"description": "Cette action est irréversible.",
|
||||
"paragraph": "L'historique des vérifications, les incidents, les fenêtres de maintenance planifiées et les pages de statut qui utilisaient ces moniteurs seront également supprimés. Exportez d'abord les moniteurs si vous souhaitez conserver une sauvegarde de leurs données."
|
||||
}
|
||||
},
|
||||
"exportMonitors": {
|
||||
|
||||
@@ -1240,7 +1240,8 @@
|
||||
"description": "システムからすべてのモニターを削除します。",
|
||||
"dialog": {
|
||||
"title": "すべてのモニターを削除しますか?",
|
||||
"description": "この操作は元に戻せません。"
|
||||
"description": "この操作は元に戻せません。",
|
||||
"paragraph": "これらのモニターに関連するチェック履歴、インシデント、予定されたメンテナンスウィンドウ、ステータスページもすべて削除されます。データのバックアップを残したい場合は、先にモニターをエクスポートしてください。"
|
||||
}
|
||||
},
|
||||
"exportMonitors": {
|
||||
|
||||
@@ -1236,11 +1236,12 @@
|
||||
"description": "Adicione monitores de exemplo para fins de demonstração."
|
||||
},
|
||||
"removeMonitors": {
|
||||
"title": "Redefinição do sistema",
|
||||
"description": "Remova todos os monitores do seu sistema.",
|
||||
"title": "Redefinir sistema",
|
||||
"description": "Remover todos os monitores do seu sistema.",
|
||||
"dialog": {
|
||||
"title": "Remover todos os monitores?",
|
||||
"description": "Isso não pode ser desfeito."
|
||||
"description": "Esta ação não pode ser desfeita.",
|
||||
"paragraph": "Todo o histórico de verificações, incidentes, janelas de manutenção agendadas e páginas de status que usavam esses monitores também serão removidos. Exporte os monitores antes se quiser manter uma cópia de segurança dos dados."
|
||||
}
|
||||
},
|
||||
"exportMonitors": {
|
||||
|
||||
@@ -1237,10 +1237,11 @@
|
||||
},
|
||||
"removeMonitors": {
|
||||
"title": "Сброс системы",
|
||||
"description": "Удалить все мониторы из Вашей системы.",
|
||||
"description": "Удалить все мониторы из вашей системы.",
|
||||
"dialog": {
|
||||
"title": "Удалить все мониторы?",
|
||||
"description": "Это действие нельзя отменить."
|
||||
"description": "Это действие нельзя отменить.",
|
||||
"paragraph": "Также будут удалены вся история проверок, инциденты, запланированные окна обслуживания и страницы состояния, использовавшие эти мониторы. Сначала экспортируйте мониторы, если хотите сохранить резервную копию их данных."
|
||||
}
|
||||
},
|
||||
"exportMonitors": {
|
||||
|
||||
@@ -1237,10 +1237,11 @@
|
||||
},
|
||||
"removeMonitors": {
|
||||
"title": "รีเซ็ตระบบ",
|
||||
"description": "ลบมอนิเตอร์ทั้งหมดออกจากระบบ",
|
||||
"description": "ลบมอนิเตอร์ทั้งหมดจากระบบของคุณ",
|
||||
"dialog": {
|
||||
"title": "ลบมอนิเตอร์ทั้งหมด?",
|
||||
"description": "ไม่สามารถย้อนกลับได้"
|
||||
"description": "การกระทำนี้ไม่สามารถย้อนกลับได้",
|
||||
"paragraph": "ประวัติการตรวจสอบทั้งหมด เหตุการณ์ ช่วงเวลาบำรุงรักษาที่กำหนดไว้ และหน้าสถานะที่ใช้มอนิเตอร์เหล่านี้จะถูกลบไปด้วย ส่งออกมอนิเตอร์ก่อนหากต้องการเก็บสำเนาข้อมูลสำรองไว้"
|
||||
}
|
||||
},
|
||||
"exportMonitors": {
|
||||
|
||||
@@ -1236,11 +1236,12 @@
|
||||
"description": "Gösterim amaçlı örnek monitörler ekleyin."
|
||||
},
|
||||
"removeMonitors": {
|
||||
"title": "Sistem sıfırlama",
|
||||
"description": "Sisteminizdeki tüm monitörleri kaldırın.",
|
||||
"title": "Sistemi sıfırla",
|
||||
"description": "Sistemdeki tüm monitörleri kaldır.",
|
||||
"dialog": {
|
||||
"title": "Tüm monitörler kaldırılsın mı?",
|
||||
"description": "Bu işlem geri alınamaz."
|
||||
"description": "Bu işlem geri alınamaz.",
|
||||
"paragraph": "Tüm kontrol geçmişi, olaylar, planlanmış bakım pencereleri ve bu monitörleri kullanan durum sayfaları da kaldırılacaktır. Verilerin yedeğini saklamak istiyorsanız, önce monitörleri dışa aktarın."
|
||||
}
|
||||
},
|
||||
"exportMonitors": {
|
||||
|
||||
@@ -1237,10 +1237,11 @@
|
||||
},
|
||||
"removeMonitors": {
|
||||
"title": "Скидання системи",
|
||||
"description": "Видалити всі монітори з Вашої системи.",
|
||||
"description": "Видалити всі монітори з вашої системи.",
|
||||
"dialog": {
|
||||
"title": "Видалити всі монітори?",
|
||||
"description": "Це не можна скасувати."
|
||||
"description": "Цю дію не можна скасувати.",
|
||||
"paragraph": "Також будуть видалені вся історія перевірок, інциденти, заплановані вікна обслуговування та сторінки статусу, які використовували ці монітори. Спочатку експортуйте монітори, якщо хочете зберегти резервну копію їхніх даних."
|
||||
}
|
||||
},
|
||||
"exportMonitors": {
|
||||
|
||||
@@ -1237,10 +1237,11 @@
|
||||
},
|
||||
"removeMonitors": {
|
||||
"title": "Đặt lại hệ thống",
|
||||
"description": "Xóa tất cả trình giám sát khỏi hệ thống.",
|
||||
"description": "Xóa tất cả các monitor khỏi hệ thống của bạn.",
|
||||
"dialog": {
|
||||
"title": "Xóa tất cả trình giám sát?",
|
||||
"description": "Không thể hoàn tác."
|
||||
"description": "Hành động này không thể hoàn tác.",
|
||||
"paragraph": "Toàn bộ lịch sử kiểm tra, sự cố, cửa sổ bảo trì đã lên lịch và các trang trạng thái sử dụng những trình giám sát này cũng sẽ bị xóa. Hãy xuất trình giám sát trước nếu bạn muốn giữ một bản sao lưu dữ liệu."
|
||||
}
|
||||
},
|
||||
"exportMonitors": {
|
||||
|
||||
@@ -1237,10 +1237,11 @@
|
||||
},
|
||||
"removeMonitors": {
|
||||
"title": "系统重置",
|
||||
"description": "从系统中移除所有监控。",
|
||||
"description": "从系统中移除所有监视器。",
|
||||
"dialog": {
|
||||
"title": "移除所有监控?",
|
||||
"description": "此操作无法撤销。"
|
||||
"description": "此操作无法撤销。",
|
||||
"paragraph": "所有检查历史、事件、计划维护窗口以及使用这些监控的状态页面也将一并被移除。如需保留数据备份,请先导出监控。"
|
||||
}
|
||||
},
|
||||
"exportMonitors": {
|
||||
|
||||
@@ -1236,11 +1236,12 @@
|
||||
"description": "新增範例監控以供示範用途。"
|
||||
},
|
||||
"removeMonitors": {
|
||||
"title": "系統重設",
|
||||
"description": "從系統中移除所有監控。",
|
||||
"title": "系統重置",
|
||||
"description": "從系統中移除所有監視器。",
|
||||
"dialog": {
|
||||
"title": "移除所有監控?",
|
||||
"description": "此操作無法復原。"
|
||||
"description": "此操作無法復原。",
|
||||
"paragraph": "所有檢查歷史、事件、排定的維護時段以及使用這些監控的狀態頁面也將一併被移除。如需保留資料備份,請先匯出監控。"
|
||||
}
|
||||
},
|
||||
"exportMonitors": {
|
||||
|
||||
Reference in new issue
Block a user