Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bugfix] the prompt information on the Collector Cluster page #2114

Merged
merged 1 commit into from
Jun 21, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fixed #2113
kerwin612 committed Jun 21, 2024
commit 57676923f5d9f219bd9faad02fe9641b1e755e16
Original file line number Diff line number Diff line change
@@ -102,7 +102,7 @@ export class CollectorComponent implements OnInit {

onGoOnlineCollectors() {
if (this.checkedCollectors == null || this.checkedCollectors.size === 0) {
this.notifySvc.warning(this.i18nSvc.fanyi('common.notify.no-select-delete'), '');
this.notifySvc.warning(this.i18nSvc.fanyi('collector.notify.no-select-online'), '');
return;
}
this.modal.confirm({
@@ -118,7 +118,7 @@ export class CollectorComponent implements OnInit {

onGoOfflineCollectors() {
if (this.checkedCollectors == null || this.checkedCollectors.size === 0) {
this.notifySvc.warning(this.i18nSvc.fanyi('common.notify.no-select-delete'), '');
this.notifySvc.warning(this.i18nSvc.fanyi('collector.notify.no-select-offline'), '');
return;
}
this.modal.confirm({
2 changes: 2 additions & 0 deletions web-app/src/assets/i18n/en-US.json
Original file line number Diff line number Diff line change
@@ -604,6 +604,8 @@
"collector.confirm.offline": "Please confirm whether to offline this collector!",
"collector.confirm.online-batch": "Please confirm whether to online collector in batches!",
"collector.confirm.offline-batch": "Please confirm whether to offline the collector in batches!",
"collector.notify.no-select-online": "No items selected for online collector!",
"collector.notify.no-select-offline": "No items selected for offline collector!",
"collector.help": "Collector Cluster is used to manage registered collector cluster nodes, display the current collector status and scheduling task distribution, and support operations such as deployment, deletion, offline of collectors.<br>In addition to using the built-in collector, you can register multiple collectors for use in <strong>High-Performance Cluster</strong> or <strong>Cloud-Edge Collaboration</strong> scenarios.",
"collector.help.link": "https://hertzbeat.apache.org/docs/help/guide",
"about.title": "An open source, real-time monitoring system with agentless, cluster, prometheus-compatible, custom and status page.",
2 changes: 2 additions & 0 deletions web-app/src/assets/i18n/zh-CN.json
Original file line number Diff line number Diff line change
@@ -605,6 +605,8 @@
"collector.confirm.offline": "请确认是否下线此采集器!",
"collector.confirm.online-batch": "请确认是否批量上线采集器!",
"collector.confirm.offline-batch": "请确认是否批量下线采集器!",
"collector.notify.no-select-online": "未选中任何待上线项!",
"collector.notify.no-select-offline": "未选中任何待下线项!",
"collector.help": "采集集群用于已注册的监控采集器集群节点管理,展示当前采集器集群状态和调度任务分布,支持对采集器的部署,删除,上线,下线等批量操作。<br>除了使用内置采集器外,您可以注册多个采集器应用于<strong>高性能集群</strong>或<strong>云边协同</strong>场景。",
"collector.help.link": "https://hertzbeat.apache.org/docs/help/guide",
"about.title": "Apache HertzBeat (incubating) 是一个开源实时监控系统,无需Agent,性能集群,兼容Prometheus,自定义监控和状态页构建能力。",
2 changes: 2 additions & 0 deletions web-app/src/assets/i18n/zh-TW.json
Original file line number Diff line number Diff line change
@@ -602,6 +602,8 @@
"collector.confirm.offline": "請確認是否下線此採集器!",
"collector.confirm.online-batch": "請確認是否批量上線採集器!",
"collector.confirm.offline-batch": "請確認是否批量下線採集器!",
"collector.notify.no-select-online": "未選中任何待上線項!",
"collector.notify.no-select-offline": "未選中任何待下線項!",
"collector.help": "采集集群用于已注冊的監控采集器集群節點管理,展示當前采集器集群狀態和調度任務分布,支持對采集器的部署,刪除,上線,下線等批量操作。<br>除了使用內置采集器外,您可以注冊多個采集器應用于<strong>高性能集群</strong>或<strong>雲邊協同</strong>場景。",
"collector.help.link": "https://hertzbeat.apache.org/docs/help/guide",
"about.title": "Apache HertzBeat (incubating) 是一個開源實時監控系統,無需Agent,性能集羣,兼容Prometheus,自定義監控和狀態頁構建能力。",