diff --git a/src/mixins/socket.js b/src/mixins/socket.js index 321e2d6b3..d7ac8bcb9 100644 --- a/src/mixins/socket.js +++ b/src/mixins/socket.js @@ -347,7 +347,7 @@ export default { let result = {}; let unknown = { - text: "Unknown", + text: this.$t("Unknown"), color: "secondary", }; @@ -358,17 +358,17 @@ export default { result[monitorID] = unknown; } else if (lastHeartBeat.status === 1) { result[monitorID] = { - text: "Up", + text: this.$t("Up"), color: "primary", }; } else if (lastHeartBeat.status === 0) { result[monitorID] = { - text: "Down", + text: this.$t("Down"), color: "danger", }; } else if (lastHeartBeat.status === 2) { result[monitorID] = { - text: "Pending", + text: this.$t("Pending"), color: "warning", }; } else { diff --git a/src/pages/Details.vue b/src/pages/Details.vue index d38d8f847..1363aa205 100644 --- a/src/pages/Details.vue +++ b/src/pages/Details.vue @@ -41,7 +41,7 @@ {{ $t("checkEverySecond", [ monitor.interval ]) }}